Delete an agent
Soft-delete an agent by ID.
Authorizations
JWT token from Clerk authentication.
Must be from a user with org:admin role.
Body
The ID of the agent to delete
1
Response
Agent deleted successfully
Unique agent identifier
1
Agent name
"Customer Support Agent"
Agent lifecycle stage
development, released "development"
Whether the agent appears in the chat interface
true
When the agent was created
"2024-01-15T10:30:00.000Z"
When the agent was last updated
"2024-01-20T14:00:00.000Z"
Short description of the agent's purpose
"Handles customer inquiries and support tickets"
URL to the agent's logo image
Suggested conversation starters shown to users
[
"How can I help you today?",
"What issue are you experiencing?"
]Model identifier (e.g., openai:gpt-4o)
"openai:gpt-4o"
Maximum number of tool call roundtrips per response
50
System prompt / instructions for the agent
Tool definitions keyed by tool name
Connected MCP server IDs (integer mcp_server.id values)
Custom email slug for the agent's email address
"support-bot"
ID of the agent_version snapshot this agent's config currently
reflects. Every save appends a version and advances this pointer;
see GET /agents/versions. The live agent fields above remain the
source of truth — this is bookkeeping for history and rollback.
42
Tags associated with this agent
