Get All Agents by Project
GET
/agent/project/{project_id}
Agent APIs
page
to paginate the results.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/agent/project/'
Response Response Example
{
"success": true,
"message": "status code 200: Agent Project Data fetched successfully",
"data": [
{
"id": 5,
"user": {
"id": 3,
"email": "user@example.com",
"first_name": "string",
"last_name": "string",
"organization": 1
},
"agent_type": {
"id": 1,
"name": "testAgent",
"description": "i am testing"
},
"instructions": [
{
"id": 3,
"instruction": "",
"is_deleted": false,
"created_by": "user@example.com"
}
],
"agent_name": "testingagent",
"industry_area": "",
"domain": "",
"sample_q1": "",
"sample_q2": "",
"sample_q3": "",
"prefix_prompt": "",
"alias": null,
"is_active": true,
"is_deleted": false,
"created_by": "user@example.com",
"created_on": "2024-09-04T20:03:41.336685Z",
"agent_image": "/build/static/media/defaultBotImg5.79df49b2aed351d3cdcc.jpg",
"access": "Only me",
"status": "Live",
"project": 1,
"llm_config": 1,
"cloned_from": null
}
]
}
Request
Path Params
project_id
integer
required
Query Params
page
integer
optional