Get Agent By User Team
GET
/v2/api/agent/team
Agent
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v2/api/agent/team'
Response Response Example
200 - Example 1
{
"success": true,
"message": "Agent Data fetched successfully",
"data": [
{
"id": 1253,
"user": {
"id": 160,
"email": "user@example.com",
"first_name": "user",
"last_name": "user",
"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": 10355,
"instruction": "",
"is_deleted": false,
"created_by": "user@example.com",
"created_on": "2025-01-07T18:11:15.625835Z",
"agent": 1253
}
],
"project": {
"id": 43,
"project_name": "Demo Project",
"team": {
"id": 23,
"team_name": "Demo Team"
}
},
"agent_name": "Afridi Insight",
"industry_area": "",
"domain": "Assists users in collecting, organizing, and summarizing personal information for insights and clarity.",
"sample_q1": "What is user's favorite food?",
"sample_q2": "What is user's favorite food?",
"sample_q3": "What is user's favorite food?",
"prefix_prompt": "You are an AI assistant that helps users gather and organize information.",
"alias": "PersonalInsight_1253-dev@ejento.ai",
"is_active": false,
"is_deleted": false,
"created_by": "user@example.com",
"created_on": "2025-01-07T18:06:19.495608Z",
"agent_image": "[object Object]",
"access": "Only team",
"status": "Live",
"caching_enabled": false,
"chunk_count": 32,
"react_enabled": true,
"react_max_iteration_count": 50,
"llm_config": 8,
"cloned_from": null
}
]
}
Request
None