Skip to main content
{
  "message": "<string>"
}
Delete an agent permanently. This removes the agent configuration but does not affect the knowledge base it was using.

Examples

import requests

agent_slug = "old-agent"
url = f"https://labs.chonkie.ai/api/v1/agents/{agent_slug}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY"
}

response = requests.delete(url, headers=headers)
result = response.json()
print(result["message"])

Request

Path Parameters

agent_slug
string
required
The slug of the agent to delete.

Response

Returns

message
string
Success message confirming deletion.
I