Delete Recent Agent
DELETE
/api/agent/recent/{agent_id}
Agent APIs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/api/agent/recent/'
Response Response Example
{
"success": true,
"message": "status code 200: Recent Agent deleted successfully",
"data": [
{
"id": 17,
"agent": {
"id": 2,
"user": {
"id": 2,
"email": "creator@example.com",
"first_name": "Agent",
"last_name": "Admin",
"organization": 1
},
"agent_type": {
"id": 1,
"created_by": "System",
"created_on": "2024-08-23T21:38:47.044052Z",
"modified_by": "",
"modified_on": "2024-08-23T21:38:47.044079Z",
"name": "SampleAgent",
"description": "Agent description"
},
"instructions": [],
"agent_name": "Social Research Explorer",
"industry_area": "Research and Development",
"domain": "Social Media",
"sample_q1": "Describe a research project on social media's influence on consumer behavior.",
"sample_q2": "How can social media data be used to identify trends?",
"sample_q3": "What are the ethical implications of AI in social media research?",
"prefix_prompt": "Provide responses that are easy to understand.",
"alias": null,
"is_active": false,
"is_deleted": false,
"created_by": "creator@example.com",
"created_on": "2024-08-23T21:39:12.479380Z",
"agent_image": null,
"access": "Public",
"status": "Live",
"project": 1,
"llm_config": null,
"cloned_from": null
},
"user": {
"id": 3,
"email": "anotheruser@example.com",
"first_name": null,
"last_name": null
},
"created_on": "2024-09-11T17:20:12.057533Z"
}
]
}
Request
Path Params
agent_id
integer
required