Delete Recent Agent
DELETE
/v2/api/agent/{agent_id}/recent
Agent
This ensures that the agent is removed from the recent interactions list, helping maintain an organized workspace.
Required Parameter
agent_id
(string, required) – The unique identifier of the agent whose details need to be fetched.What is an Agent ID?
It is required for API interactions, allowing you to manage and modify specific agents efficiently.
Purpose of Deleting a Recent Agent
What Happens When You Delete a Recent Agent?
How to View Your Agent ID?
View Your Agent ID
For more detailed information about agent, refer to the Agent Guide.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/v2/api/agent/1251/recent'
Response Response Example
200 - Example 1
{
"success": true,
"message": "Recent Agent deleted successfully",
"data": [
{
"id": 1938,
"agent": {
"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": ""
},
"agent_name": "Afridi Insight",
"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?",
"status": "Live",
"is_active": false,
"is_deleted": false,
"created_by": "user@example.com",
"created_on": "2025-01-07T18:06:19.495608Z"
},
"user": {
"id": 160,
"email": "user@example.com",
"first_name": "User",
"last_name": "User",
"organization": 1
},
"created_on": "2025-01-09T01:21:57.705614Z"
}
]
}
Request
Path Params
agent_id
integer
required
Example:
1251