Delete agent
DELETE/v2/agents/:agent_key
Deletes an agent and its configuration. Deletion is permanent. If active sessions or other constraints block the deletion, the request returns an error instead.
Request
Responses
- 204
- 403
- 404
- 409
The agent is deleted.
Permissions do not allow deleting this agent.
Agent not found.
The agent is still referenced — by aliases, or, for the system judge agent, by evaluators. Remove or rebind the references, then retry.