{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-agent-run-accepted-schema.json",
  "title": "Run accepted",
  "description": "Response of `POST /v1/agents/runs` (HTTP 202).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-agents-api-openapi.yml#/components/schemas/AgentRunAccepted",
  "type": "object",
  "required": [
    "id",
    "status",
    "poll"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued"
      ],
      "description": "Always `queued` at submit time, even when an idempotent repeat hits a run that has since progressed."
    },
    "poll": {
      "type": "string",
      "description": "Relative URL of the poll endpoint for this run."
    }
  }
}