Ejento APIs
V2 Legacy
  • Stable
  • V2
  • V2 Legacy
  1. Agent
Ejento APIs
V2 Legacy
  • Stable
  • V2
  • V2 Legacy
  • Overview
  • Legacy to Stable Migration Guide
  • Endpoints
    • Agent
      • Create Agent By Agent Builder
        POST
      • Create Agent By Configure
        POST
      • Get All Agents
        GET
      • Get Agent By Team
        GET
      • Get Agent By User Team
        GET
      • Agent Filtered
        GET
      • Get Agent
        GET
      • Edit Agent
        PUT
      • Get Recent Agents
        GET
      • Create Recent Agent
        POST
      • Delete Recent Agent
        DELETE
      • Get Starred Agents
        GET
      • Create Starred Agent
        POST
      • Delete Starred Agent
        DELETE
    • 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
  • Schemas
    • Schemas
      • CustomQuery
      • PatchedSharePointDriveMapUpdate
      • SharePointCorpusData
      • SharePointCorpusErrorResponse
      • SharePointCorpusResponse
      • SharePointDriveMap
      • SharePointDriveMapCreate
      • SharePointDriveMapSerializerResponse_get_drive_maps
      • drive_mapsData_get
      • SharePointDriveMapSerializerResponse_post
      • SharePointUrlsByCorpusResponse
      • SharePointUrlsByCorpusData
      • SharePointDriveMapSubscription
      • SharePointDriveMapToken
      • SharePointDriveMapTokenSerializerResponse_get
      • SharePointUrlsByCorpusErrorResponse
      • SharePointDriveMapUpdate
      • SharePointDriveMapUpdateSerializerResponse_patch
      • SharePointErrorResponse_get_SharePointDriveMap
      • SharePointErrorResponse_post_SharePointDriveMap
      • SharePointErrorResponse_get_SharePointDriveMapToken
      • SharePointErrorResponse_patch_SharePointDriveMapUpdate
      • SharePointSubscriptionErrorResponse
      • SharePointSubscriptionResponse
      • AgentListResponse
      • AgentListData
      • Agent
      • ReasoningModeEnum
      • ProjectSerializerForAgent
      • TeamSerializerForAgent
      • CharacterVoice
      • GenderEnum
      • UserIndex
      • Instruction
      • AgentType
      • CategoryNameEnum
      • EvaluationDataSet
      • EvaluationDataSetsListData
      • EvaluationDataSetsListResponse
      • EvaluationDatasetCreateErrorResponse
      • EvaluationDatasetCreateRequest
      • EvaluationDatasetCreateResponse
      • AgentGuardrailTypes_AgentGuardrailTypeView
      • AgentGuardrailTypeData_AgentGuardrailTypeView
      • GuardrailTypeInfo
      • Guardrail
      • EvaluationDatasetDeleteErrorResponse
      • EvaluationDatasetDeleteResponse
      • EvaluationDatasetDetailDeleteErrorResponse
      • EvaluationDatasetDetailDeleteResponse
      • EvaluationDatasetDetailErrorResponse
      • EvaluationDatasetDetailResponse
      • GuardrailErrorResponseSchema
      • EvaluationDatasetUpdateErrorResponse
      • EvaluationDatasetUpdateRequest
      • EvaluationDatasetUpdateResponse
      • EvaluationQueryCreateErrorResponse
      • EvaluationQueryCreateRequest
      • EvaluationQueryCreateResponse
      • EvaluationQueryWithAnswer
      • EvaluationQueryDeleteErrorResponse
      • EvaluationQueryDeleteResponse
      • EvaluationQueryDetailErrorResponse
      • EvaluationQueryDetailResponse
      • GuardrailEnableRequest
      • EvaluationQueryListData
      • AgentGuardrailTypeView_Serializer_Single_Response
      • EvaluationQueryListErrorResponse
      • EvaluationQueryListResponse
      • EvaluationQueryUpdateErrorResponse
      • EvaluationQueryUpdateRequest
      • EvaluationQueryUpdateResponse
      • EvaluationRunCreateErrorResponse
      • EvaluationRunCreateRequest
      • EvaluationRunCreateResponse
      • EvaluationRunDeleteDetailErrorResponse
      • EvaluationRunDeleteDetailResponse
      • EvaluationRunDeleteErrorResponse
      • EvaluationRunDeleteResponse
      • EvaluationRunDetailErrorResponse
      • EvaluationRunDetailResponse
      • EvaluationRunListErrorResponse
      • EvaluationRunListResponse
      • GuardrailListView_GuardrailSerializer_List_Response
      • GuardrailListView_GuardrailSerializer_List_Data
      • EvaluationRunUpdateErrorResponse
      • EvaluationRunUpdateRequest
      • EvaluationRunUpdateResponse
      • GuardrailDetailView_PutUpdateGuardrailRequest
      • Metric
      • NullEnum
      • GuardrailDetailView_Put_GuardrailSerializer_Single_Response
      • GuardrailDetailView_Delete_GuardrailSerializer_Single_Response
      • MetricCreateErrorDuplicateResponse
      • MetricCreateErrorResponse
      • MetricCreateRequest
      • MetricCreateResponse
      • MetricDeleteErrorResponse
      • MetricDeleteResponse
      • MetricDetailErrorResponse
      • MetricDetailResponse
      • MetricListErrorResponse
      • MetricListResponse
      • MetricResult
      • MetricResultCreateErrorResponse
      • MetricResultCreateRequest
      • MetricResultCreateResponse
      • MetricResultDetailErrorResponse
      • MetricResultDetailResponse
      • MetricResultListErrorResponse
      • MetricResultListResponse
      • MetricUpdateErrorResponse
      • MetricUpdateRequest
      • MetricUpdateResponse
      • OrganizationGuardrailDetailView_GET_GuardrailSerializer_Paginated_Response
      • OrganizationGuardrailDetailView_GET_GuardrailSerializer_Paginated_Data
      • QueryResultCreateErrorResponse
      • QueryResultCreateRequest
      • QueryResultCreateResponse
      • QueryResultWithMetric
      • QueryResultDetailErrorResponse
      • QueryResultDetailResponse
      • CreateGuardrailinOrganizationRequest
      • OrganizationGuardrailDetailView_POST_GuardrailSerializer_Single_Response
      • QueryResultListErrorResponse
      • QueryResultListResponse
      • QueryResultUpdateErrorResponse
      • QueryResultUpdateRequest
      • QueryResultUpdateResponse
      • EnableGuardrailRequest
      • AgentCostUsage
      • AgentCostsSchema
      • AgentDocumentCount
      • DocumentType
      • AgentDocumentCountsSchema
      • AgentIndexingModeStats
      • IndexingModeStatsBase
      • AgentIndexingModeStatsSchema
      • AgentMostActive
      • AgentMostActiveAgentsSchema
      • AgentQueryCount
      • AgentQueryCountsSchema
      • AgentRecentAgentsSchema
      • AgentSimple
      • AgentTokenCountsSchema
      • AgentTokenUsage
      • AgentVote
      • AgentVotesSchema
      • CorpusDocumentCount
      • CorpusDocumentCountsSchema
      • CorpusIndexingModeStats
      • CorpusIndexingModeStatsSchema
      • ErrorResponse
      • OverallCostUsage
      • OverallCostsSchema
      • OverallCountSchema
      • TotalCount
      • OverallIndexingModeStats
      • OverallIndexingModeStatsSchema
      • OverallQueryCount
      • OverallQuerySchema
      • OverallTokenUsage
      • OverallTokenUsageSchema
      • OverallVoteCount
      • OverallVoteSchema
      • ProjectCostUsage
      • ProjectCostsSchema
      • ProjectDocumentCount
      • ProjectDocumentCountsSchema
      • ProjectIndexingModeStats
      • ProjectIndexingModeStatsSchema
      • ProjectMostActive
      • ProjectMostActiveProjectsSchema
      • ProjectQueryCount
      • ProjectQueryCountsSchema
      • ProjectRecentProjectsSchema
      • ProjectSimple
      • ProjectTokenCountsSchema
      • ProjectTokenUsage
      • ProjectVote
      • ProjectVotesSchema
      • TeamCostUsage
      • TeamCostsSchema
      • TeamDocumentCount
      • TeamDocumentCountsSchema
      • TeamIndexingModeStats
      • TeamIndexingModeStatsSchema
      • TeamMostActive
      • TeamMostActiveTeamsSchema
      • TeamQueryCount
      • TeamQueryCountsSchema
      • TeamRecentTeamsSchema
      • TeamSimple
      • TeamTokenCountsSchema
      • TeamTokenUsage
      • TeamVote
      • TeamVotesSchema
      • UserCostUsage
      • UserCostsSchema
      • UserDocumentCount
      • UserDocumentCountsSchema
      • UserIndexingModeStats
      • UserIndexingModeStatsSchema
      • UserMostActive
      • UserMostActiveUsersSchema
      • UserQueryCount
      • UserQueryCountsSchema
      • UserRecentUsersSchema
      • UserSimple
      • UserTokenCountsSchema
      • UserTokenUsage
      • UserVote
      • UserVotesSchema
      • AgentResponseDashboardExportFalse
      • AgentResponseDashboardExportTrue
      • OverallDocumentCount
      • OverallDocumentCountSchema
  1. Agent

Get Recent Agents

GET
/v2/api/agent/recent
Fetches a list of recent agents. The number of agents returned can be limited
using the optional query parameter limit. If limit is not specified,
a default number of 20 agents will be returned.
For more detailed information about agent, refer to the Agent Guide.
📝 Note: "Assistant" is another name for "Agent".

Request

Query Params

Header Params

Responses

🟢200OK
application/json
Successful response with a list of recent agents.
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https:///v2/api/agent/recent?limit' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '
Response Response Example
200 - Example 1
{
    "success": true,
    "message": "Recent Agent fetched successfully",
    "data": [
        {
            "id": 2239,
            "agent": {
                "id": 1469,
                "user": {
                    "id": 16,
                    "email": "[email protected]",
                    "first_name": "user",
                    "last_name": "Nasir",
                    "organization": 1
                },
                "agent_type": {
                    "id": 1,
                    "created_by": "System",
                    "created_on": "2024-04-17T23:10:22.313394Z",
                    "modified_by": "[email protected]",
                    "modified_on": "2024-04-17T23:10:22.313414Z",
                    "name": "QnA",
                    "description": ""
                },
                "instructions": [
                    {
                        "id": 11369,
                        "instruction": "abc",
                        "is_deleted": false,
                        "created_by": "[email protected]",
                        "created_on": "2025-03-25T23:19:49.075545Z",
                        "agent": 1469
                    }
                ],
                "project": {
                    "id": 372,
                    "project_name": "userTestProject1",
                    "team": {
                        "id": 243,
                        "team_name": "usertestTeam1"
                    }
                },
                "connected_tool_names": [
                    "Rag Tool"
                ],
                "tags": [],
                "character_voice": null,
                "agent_name": "VocabCheckerss",
                "industry_area": "",
                "domain": "Enhance English vocabulary by offering definitions, synonyms, antonyms, and example sentences.",
                "sample_q1": 123,
                "sample_q2": "",
                "sample_q3": "",
                "prefix_prompt": "You are an AI assistant who helps users improve their English vocabulary by providing definitions, synonyms, antonyms, and example sentences for words.",
                "alias": "[email protected]",
                "is_active": false,
                "is_deleted": false,
                "created_by": "[email protected]",
                "created_on": "2025-03-17T20:35:52.680993Z",
                "agent_image": "https://storageaccountdevenv001.blob.core.windows.net/dev-dall-e-images/VocabChecker_716d1779-4065-4590-8c99-3ff895bd993cAwesome idea.png",
                "access": "Only team",
                "status": "Live",
                "caching_enabled": false,
                "chunk_count": 32,
                "attachment_chunk_count": 3,
                "attachment_chunking": false,
                "react_enabled": true,
                "react_max_iteration_count": 50,
                "llm_config": 8,
                "cloned_from": null
            },
            "user": {
                "id": 16,
                "email": "[email protected]",
                "first_name": "user",
                "last_name": "Nasir",
                "organization": 1
            },
            "created_on": "2025-04-03T19:16:35.868707Z"
        }
    ]
}
Previous
Edit Agent
Next
Create Recent Agent
Built with