Permanently delete an agent.
This endpoint performs a hard delete of an agent. The operation is irreversible and removes agent configuration, history, and usage data.
Path Parameters:
agent_id: Unique identifier of the agent to deleteReturns:
agent_id: ID of the deleted agentmessage: Success confirmation messageRaises:
404: Agent not found or doesn’t belong to the userExample Request:
DELETE /api/v3/agents/agent-abc123
Headers: {"Authorization": "Bearer <api_key>"}
Example Response:
{
"agent_id": "agent-abc123",
"message": "Successfully deleted agent agent-abc123"
}
Warning:
This is a permanent deletion. All agent data including configuration, history, and usage statistics will be removed and cannot be recovered.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.