Ejento APIs
V1
  • V2
  • V1
  1. Analytics APIs
Ejento APIs
V1
  • V2
  • V1
  • Overview
  • Endpoints
    • Chat APIs
      • Run Chat
      • Create Custom Instructions
      • Add Comment Feedback
      • Add Upvote Feedback
      • Add Downvote Feedback
      • Get Chat Thread
      • Get Thought Process
      • Get Supporting Content
      • Get All Agent Threads
    • Agent APIs
      • Get Recent Agents
      • Add to Recent Agents
      • Delete Recent Agent
      • Get Starred Agents
      • Delete Starred Agents
      • Get Agents by Team or User Team
      • Create a Review for an Agent
      • Get Agent Reviews
      • Update an Agent Review
      • Delete an Agent Review
      • Create Agent Chat
      • Get Agent Ratings
      • Toggle Rating
      • Create Agent Alias
      • Get All Agent Alias
      • Update Agent Alias
      • Get Agent Access Level
      • Update Agent Access Level
      • Get All Agents by Project
      • Get Agent Types
      • Update Agent Type
      • Get User Agent or User Agent Permission
    • Project APIs
      • Create New Project
      • Get All Projects
      • Get Project Details by ID
      • Edit Project By ID
      • Delete Project By ID
      • Add Recent Project
      • Get Recent Projects
      • Fetch Project Details
      • Add User to Project
      • Remove User from Project
      • Get User Projects For Team
    • Document APIs
      • Get Document By ID
      • Edit Document By ID
      • Delete Document By ID
    • Corpus APIs
      • Get All Corpus
      • Create Corpus
      • Get Corpus by ID
      • Edit Corpus
      • Delete Corpus
      • Get Corpus Permissions
      • Create Corpus Permissions
      • Delete Corpus Permissions
      • Get Corpus Permission By User
      • Create Document In Corpus
      • Get All Documents From Corpus
      • Delete All Documents
      • Check Duplicate Documents
    • Evaluation APIs
      • Create Evaluation Test
      • Get All Evaluation Tests for an Agent
      • Update Evaluation Test
      • Get One Evaluation Test
      • Update Evaluation Status
      • Get Evaluation Dataset for an Agent
      • Get All Evaluation Datasets for an Agent
      • Create Evaluation Dataset
      • Update Evaluation Dataset
      • Delete Evaluation Dataset
      • Get Agent Queries
      • Get Dataset Queries
    • SharePoint APIs
      • Get SharePoint items by full path
      • Get a SharePoint item by its ID
      • Create a new SharePoint item
      • Edit SharePoint item
      • Delete a SharePoint item
    • User APIs
      • Get All Users
      • Get User By ID
      • Edit User By ID
      • Delete User by ID
      • Create User Permission
      • Get User Permission by ID
      • Edit User Permission by ID
      • Delete User Permission by ID
      • Batch Delete Users
    • Analytics APIs
      • Get Tokens by Date
        GET
      • Get Tokens by Segment
        GET
      • Get User Tokens
        GET
      • Get Agent Tokens
        GET
      • Get Team Tokens
        GET
      • Get Query Count by Date
        GET
      • Get Query Count by Segment
        GET
      • Get Total Count
        GET
      • Get Daily Chat Engagement
        GET
      • Get Weekly Chat Engagement
        GET
      • Get Monthly Chat Engagement
        GET
      • Get User Engagement
        GET
      • Get Daily Chatlog Tokens
        GET
      • Get Weekly Chatlog Tokens
        GET
      • Get Monthly Chatlog Tokens
        GET
      • Get Agent Engagement
        GET
      • Get Engagement by Team
        GET
      • Get Engagement by User
        GET
      • Get Recently Active Agents
        GET
      • Get Recent Users
        GET
    • Notification APIs
      • Send Notification To User
      • Read Notification By ID
  1. Analytics APIs

Get Recently Active Agents

GET
/analytics/recentagents
Analytics APIs
Returns agents created in the last thirty days.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/analytics/recentagents'
Response Response Example
[
    {
        "id": 977,
        "agent_name": "Test Agent",
        "industry_area": "",
        "domain": "This is a test domain",
        "sample_q1": "",
        "sample_q2": "",
        "sample_q3": "",
        "prefix_prompt": "This is a test agent prompt.",
        "alias": "TestAgent_977@ejento.ai",
        "is_active": true,
        "is_deleted": false,
        "created_by": "creator@company.com",
        "created_on": "2024-10-15T21:43:06.822939Z",
        "agent_image": "/static/images/defaultBotImg.png",
        "access": "Only me",
        "status": "Live",
        "caching_enabled": false,
        "chunk_count": 32,
        "agent_type": 1,
        "user": 15,
        "project": 2,
        "llm_config": 8,
        "cloned_from": null
    }
]

Request

None

Responses

🟢200OK
application/json
Recently active agents retrieved successfully.
Body
array of:
id
integer 
optional
The ID of the agent.
Example:
977
agent_name
string 
optional
The name of the agent.
Example:
Test Agent
industry_area
string 
optional
The industry area associated with the agent.
Example:
domain
string 
optional
The domain or description of the agent.
Example:
This is a test domain
sample_q1
string 
optional
Sample question 1.
Example:
sample_q2
string 
optional
Sample question 2.
Example:
sample_q3
string 
optional
Sample question 3.
Example:
prefix_prompt
string 
optional
Prefix prompt for the agent.
Example:
This is a test agent prompt.
alias
string 
optional
Alias of the agent.
Example:
TestAgent_977@ejento.ai
is_active
boolean 
optional
Indicates whether the agent is active.
Example:
true
is_deleted
boolean 
optional
Indicates whether the agent is deleted.
Example:
false
created_by
string 
optional
Email of the user who created the agent.
Example:
creator@company.com
created_on
string <date-time>
optional
The date and time when the agent was created.
Example:
2024-10-15T21:43:06.822939Z
agent_image
string 
optional
The URL of the agent's image.
Example:
/static/images/defaultBotImg.png
access
string 
optional
The access level of the agent.
Example:
Only me
status
string 
optional
The current status of the agent.
Example:
Live
caching_enabled
boolean 
optional
Indicates whether caching is enabled for the agent.
Example:
false
chunk_count
integer 
optional
The number of chunks processed by the agent.
Example:
32
agent_type
integer 
optional
The type of agent.
Example:
1
user
integer 
optional
The ID of the user associated with the agent.
Example:
15
project
integer 
optional
The ID of the project the agent is associated with.
Example:
2
llm_config
integer 
optional
The LLM configuration ID used by the agent.
Example:
8
cloned_from
string 
optional
ID of the agent it was cloned from, if applicable.
Example:
null
🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Previous
Get Engagement by User
Next
Get Recent Users