Ejento APIs
V2 Legacy
  • Stable
  • V2
  • V2 Legacy
    Ejento APIs
    V2 Legacy
    • Stable
    • V2
    • V2 Legacy
    • Overview
    • Endpoints
      • Agent
        • Create Agent By Agent Builder
        • Create Agent By Configure
        • Get All Agents
        • Get Agent By Team
        • Get Agent By User Team
        • Agent Filtered
        • Get Agent
        • Edit Agent
        • Get Recent Agents
        • Create Recent Agent
        • Delete Recent Agent
        • Get Starred Agents
        • Create Starred Agent
        • Delete Starred Agent
      • Agent Corpus Connection
        • Create Agent Corpus Connection
        • Get Agent Corpus Connection
        • Edit Agent Corpus Connection
        • Delete Agent Corpus Connection
        • Get All Agent Corpus Connections
        • Delete All Agent Corpus Connections
      • Agent Response
        • Create Agent Response
        • Get All Agent Responses
        • Get Agent Responses By User
        • Get Agent Responses By Project
        • Get Agent Responses By Chat Thread
        • Get Agent Response
        • Delete Agent Response
        • Create Agent Response Comment
        • Get Agent Response Comment
        • Get Agent Response Dashboard
        • Create Agent Response Feedback
        • Create Agent Response Log
        • Pin Agent Response
        • Unpin Agent Response
        • Get Pinned Agent Responses
      • Agent Reviews
        • Create Review
        • Get All Reviews
        • Get Reviews by Agent
        • Delete Review
      • Agent Rating
        • Get All Agent Ratings
        • Get Agent Rating
        • Update Agent Rating
      • Agent Alias
        • Get All Agent Aliases
        • Create Agent Alias
        • Update Agent Alias
        • Delete Agent Alias
      • Agent Access
        • Get Agent Access
        • Update Agent Access
      • Agent Type
        • Get All Agent Types
        • Get Agent Type
        • Update Agent Type
      • Agent User
        • Add Users to Agent
        • Get Users Of Agent
        • Delete User from Agent
        • Get User Agent Permission
        • Get All Agents with Users
      • Agent Tags
        • Get All Distinct Agent Tags
        • Annotate an Agent with Tags
      • Agent Vote
        • Create Agent Vote
        • Get Agent Vote
      • Agent Comment
        • Create Comment on an Agent
        • Get Comments for an Agent
        • Edit Agent Comment
      • Chat Thread
        • Create Chat Thread
        • Get All Chat Threads Of An Agent
        • Get All Chat Threads With Admin Panel Filters And Pagination
        • Get Reduced Chatlogs by Thread ID for Admin Panel
        • Get Chat Thread
        • Edit Chat Thread
        • Delete Chat Thread
        • Add ChatThread-Corpus Connection
        • Get ChatThread-Corpus Connection
        • Delete ChatThread-Corpus Connection
      • Project
        • Create Project
        • Get All Projects
        • Project Filtered
        • Get All Agents Of Project
        • Get All Projects By Team
        • Get Project
        • Edit Project
        • Delete Project
        • Fetch Project Details
        • Add Recent Project
        • Get Recent Projects
      • User Project
        • Add Users To Project
        • Get All Projects By User Teams
        • Get Projects By User and Team
        • Delete Users from Project
      • Document
        • Get Document
        • Edit Document
        • Add Or Remove Tags On Document
        • Document Polling
        • Trigger a refresh(reindex) of a Document
      • Corpus
        • Create Corpus
        • Get All Corpus
        • Get Corpus
        • Edit Corpus
        • Delete Corpus
        • Create Document In Corpus
        • Get All Documents From Corpus
        • Delete Document(s) from Corpus
        • Check Duplicate Documents
        • Get All Agents By Corpus
        • Get Corpus Permissions
        • Get Corpus Permission By User
        • Annotate Corpus
        • Trigger a refresh(reindex) of a Corpus
      • Notification
        • Create Notification
        • Retrieve All Notifications
        • Read Notifications By User ID
        • Retrieve Notification
        • Read Notification
        • Delete Notification
      • Feature Flag
        • Get All Feature Flags
        • Get DALL-E Feature Flag
        • Get Share Agent Feature Flag
        • Get Agent Alias Feature Flag
        • Get SharePoint Index Feature Flag
        • Get Chat Agent Creation Feature Flag
        • Get OAuth Feature Flags
        • Get Google OAuth Feature Flag
        • Get LinkedIn OAuth Feature Flag
        • Get MS SSO OAuth Feature Flag
        • Get Github OAuth Feature Flag
      • Team
        • Create Team
        • Get All Teams
        • Get Team Details
        • Edit Team
        • Delete Team
        • Create Recent Team
        • Get Recent Teams
        • Add Users to Team
        • Get Users in a Team
        • Get Teams Of User
        • Get User Role By Team
        • Get Agents Of User Team
        • Get Projects And Team
      • User
        • Create User In Organization
        • Get All Users By Organization
        • Get User
        • Edit User
        • Delete User
        • Batch Delete Users
        • User Filtered
        • Create User Permission
        • Get User Permission
        • Edit User Permission
        • Delete User Permission
      • Email Indexing Authorization
        • Email Authorize
      • Conversation Starters
        • Create Conversation Starter
        • Get Conversation Starters
      • Tool
        • Create Tool
        • Get All Tools
        • Get Tool
        • Edit Tool
        • Delete Tool
      • Agent Tool Connection
        • Enable Agent Tool
        • Get All Agent Tools
        • Disable Agent Tool
      • Organization Tool
        • Enable Organization Tool
      • API Tool Template
        • Create API Tool Template
        • Get All API Tool Templates
      • LLM Config
        • Get All LLM Configs
        • Get Active Config
        • Get LLM Config
        • Get Model Deployment
        • Get Org Configs
        • Set Agent Config View

    Overview

    Welcome to the Ejento AI V2 Legacy API Documentation#

    The Legacy APIs are built on earlier architectural patterns and are maintained for compatibility with systems that still rely on them. These APIs provide stable and predictable behavior but may not include the latest features or improvements available in the Latest APIs.
    ⚠️ Note: Legacy APIs are not recommended for new integrations and are planned to be sunset soon. For new development, please use the Stable APIs.

    Why Use Legacy APIs?#

    Backward Compatibility – Ensures existing integrations continue working without disruption.
    Long-Term Support – Maintained for customers with existing dependencies and workflows.

    When to Use#

    Maintaining or supporting existing systems built on earlier Ejento API structures.
    Reviewing or updating current integrations that rely on Legacy APIs.

    Getting Started#

    API Base URL#

    Customizable Server URL : https://{server_name}
    Ejento AI gives its customers the ability to use APIs with their own hosted Ejento offering. To call the APIs via your own offering you can utilize the server provided by the Admin.
    URL: https://{server_name}
    Replace {your-server-name} with your actual server name, for example:
    https://apim-ejento-prod
    While using the "Try it" feature, you must include
    1- Your server URL (https://{your-server-name}) before the API endpoint.
    For example, the request will look like:
    https://apim-ejento-prod/api/v2/agents/{agent_id}
    2- API Key in the headers as:
    Ocp-Apim-Subscription-Key: {your-api-key}
    3- Authorization Bearer Token in the headers as:
    Authorization: Bearer {your-access-token}

    Create Your API Key:#

    First, head over to the Developer Portal to create your API key. You will need this key to authenticate and interact with the Ejento.
    You can refer to API key guide
    Once you've generated your key, make sure to keep it secure. You will include it in your request header when calling APIs.

    Accessing the Server URL#

    To test APIs effectively, you must obtain and correctly configure the Server URL. Follow the instructions below based on your user role:
    For Global Admins:
    Navigate to the Admin Panel.
    Select API Keys from the menu.
    Locate the Server URL — this is your designated server name.
    For Regular Users:
    Contact your Global Admin to request the Server URL.

    Navigating the Documentation:#

    On the sidebar, you’ll find a list of available API endpoints grouped by functionality. Click on any section to expand it and view details for each API.
    Each API page provides information such as the endpoint URL, request parameters, example responses, and error codes.

    Using the API Playground:#

    Once you have your API key, you can use the Playground available within this documentation to try any API in real-time.
    Each API page includes a "Try It" section where you can input your server URL {your-server-name}, add your API key Ocp-Apim-Subscription-Key in the headers, include the Authorization: Bearer {your-access-token} header, set parameters, and initiate requests directly from your browser.
    View the responses to see how the API behaves, or troubleshoot any issues with your implementation.

    Recommendation#

    Use Legacy APIs only if you are maintaining an existing Ejento integration.
    For all new integrations, we highly recommend switching to the V2 Latest APIs for:
    Better performance
    Improved consistency
    Long-term support

    For any questions, please our support team.
    Next
    Create Agent By Agent Builder
    Built with