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 Recent Users

GET
/analytics/recentusers
Analytics APIs
Returns users created in the last thirty days.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/analytics/recentusers'
Response Response Example
[
    {
        "id": 140,
        "email": "user@example.com",
        "is_staff": false,
        "is_superuser": false,
        "is_active": true,
        "date_joined": "2024-10-14T22:32:58.403575Z",
        "first_name": "John",
        "last_name": "Doe",
        "organization": {
            "id": 1,
            "org_name": "Tech Corp",
            "domain": "techcorp.com",
            "is_deleted": false,
            "created_by": "System",
            "created_on": "2024-01-20T01:32:56.659642Z",
            "modified_by": "",
            "modified_on": "2024-01-20T01:32:56.659663Z"
        }
    }
]

Request

None

Responses

🟢200OK
application/json
List of recently created users.
Body
array of:
id
integer 
optional
The unique identifier for the user.
Example:
140
email
string 
optional
Email of the user.
Example:
user@example.com
is_staff
boolean 
optional
Whether the user is a staff member.
Example:
false
is_superuser
boolean 
optional
Whether the user is a superuser.
Example:
false
is_active
boolean 
optional
Whether the user is active.
Example:
true
date_joined
string <date-time>
optional
The date and time when the user joined.
Example:
2024-10-14T22:32:58.403575Z
first_name
string 
optional
The first name of the user.
Example:
John
last_name
string 
optional
The last name of the user.
Example:
Doe
organization
object 
optional
id
integer 
optional
Organization ID.
Example:
1
org_name
string 
optional
The name of the organization.
Example:
Tech Corp
domain
string 
optional
Domain name associated with the organization.
Example:
techcorp.com
is_deleted
boolean 
optional
Whether the organization is deleted.
Example:
false
created_by
string 
optional
The user who created the organization.
Example:
System
created_on
string <date-time>
optional
The creation date of the organization.
Example:
2024-01-20T01:32:56.659642Z
modified_by
string 
optional
Last user who modified the organization.
Example:
modified_on
string <date-time>
optional
The last modification date of the organization.
Example:
2024-01-20T01:32:56.659663Z
🟠401Unauthorized
🔴500Server Error
Previous
Get Recently Active Agents
Next
Send Notification To User