{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-agentex-delete-agent-response-schema.json",
  "title": "AgentexDeleteAgentResponse",
  "description": "Response for ``DELETE /agentex/agents/{agent_id}``.\n\nThe agent record is deleted synchronously (in-request, with the caller's credentials), so\nthe request returns ``200`` once the agent is gone. Its deployments and builds are then\nreclaimed asynchronously by a durable Temporal workflow (the workflow id is logged\nserver-side for traceability, not surfaced to the caller).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-agentex-agent-api-openapi.yml#/components/schemas/AgentexDeleteAgentResponse",
  "properties": {
    "object": {
      "type": "string",
      "const": "agentex_delete_agent",
      "title": "Object",
      "default": "agentex_delete_agent"
    },
    "agent_id": {
      "type": "string",
      "title": "Agent Id",
      "description": "The agent that was deleted."
    },
    "agent_name": {
      "type": "string",
      "title": "Agent Name",
      "description": "Resolved agent name."
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "agent_name"
  ]
}