Get Agents Of User Team
GET
/v2/api/team/users/{user_id}/agents
Team
How to View Your User ID?
View Your User ID
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v2/api/team/users/2/agents'
Response Response Example
200 - Example 1
{
"success": true,
"message": "Agents retrieved successfully",
"data": [
{
"id": 968,
"user": {
"id": 101,
"email": "zain@example.com",
"first_name": "Zain Ahmed",
"last_name": "Usmani",
"organization": 1
},
"agent_type": {
"id": 1,
"created_by": "System",
"created_on": "2024-04-17T23:10:22.313394Z",
"modified_by": "user@example.com",
"modified_on": "2024-04-17T23:10:22.313414Z",
"name": "QnA",
"description": ""
},
"instructions": [
{
"id": 8689,
"instruction": "",
"is_deleted": false,
"created_by": "zain@example.com",
"created_on": "2024-10-10T19:57:39.202919Z",
"agent": 968
}
],
"project": {
"id": 95,
"project_name": "datascience",
"team": {
"id": 1,
"team_name": "General"
}
},
"agent_name": "Summarizer",
"industry_area": "",
"domain": "Summarizes meeting minutes",
"sample_q1": "1. What are the requirements for embedding the chatbot on the website?",
"sample_q2": "2. Can the chatbot support multiple languages?",
"sample_q3": "3. How will the ownership of the content be managed for the chatbot?",
"prefix_prompt": "You are an agent that summarizes meeting minutes and gives meaningful summaries. Render everything in markdown.",
"alias": "Summarizer_968-dev@ejento.ai",
"is_active": false,
"is_deleted": false,
"created_by": "zain@example.com",
"created_on": "2024-10-10T19:57:39.134480Z",
"agent_image": "/build/static/media/defaultBotImg4.06fd886bc195f101ecb0.jpg",
"access": "Public",
"status": "Live",
"caching_enabled": false,
"chunk_count": 32,
"react_enabled": false,
"react_max_iteration_count": 50,
"llm_config": 8,
"cloned_from": null,
"character_voice": null
}
]
}
Request
Path Params
user_id
integerÂ
required
Example:
2