Skip to main content
DELETE
Delete Agent

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

agent_id
string
required

Response

Successful Response

Response for DELETE /agentex/agents/{agent_id}.

The agent record is deleted synchronously (in-request, with the caller's credentials), so the request returns 200 once the agent is gone. Its deployments and builds are then reclaimed asynchronously by a durable Temporal workflow (the workflow id is logged server-side for traceability, not surfaced to the caller).

agent_id
string
required

The agent that was deleted.

agent_name
string
required

Resolved agent name.

object
string
default:agentex_delete_agent
Allowed value: "agentex_delete_agent"