Delete an agent
DELETE/v1/projects/:project_id/agents/:agent_id
Deletes the backing runtime agent. Returns 409 if the agent still has dependent generations or traces — pass force=true to delete those along with the agent (destructive and irreversible).
Request
Responses
- 204
- 401
- 404
- 409
- 502
Agent deleted.
Missing or invalid credentials.
The resource does not exist (existence is not leaked).
The request conflicts with the resource's current state.
The upstream runtime could not complete the operation.