{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pilot5-ai/json-schema/pilot5-ai-get-v1-api-deliberations-id-response-schema.json",
  "title": "GetV1ApiDeliberationsIdResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pilot5-ai-openapi-generated.yml#/components/schemas/GetV1ApiDeliberationsIdResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Deliberation UUID."
    },
    "status": {
      "type": "string",
      "description": "queued·running·completed·failed."
    },
    "mode": {
      "type": "string",
      "description": "deliberation mode."
    },
    "use_case": {
      "type": "string",
      "description": "use case."
    },
    "created_at": {
      "type": "string",
      "description": "ISO‑8601 timestamp."
    },
    "updated_at": {
      "type": "string",
      "description": "ISO‑8601 timestamp."
    },
    "synthesis": {
      "type": "string",
      "description": "Full arbiter synthesis markdown (present when completed)."
    },
    "summary": {
      "type": "string",
      "description": "One‑paragraph TL;DR (present when completed)."
    },
    "confidence_index": {
      "type": "number",
      "description": "Confidence score (may be null)."
    },
    "credits_charged": {
      "type": "number",
      "description": "Actual credits charged (0 on full refund)."
    },
    "error": {
      "type": "object",
      "description": "Error object when failed."
    },
    "completed_at": {
      "type": "string",
      "description": "Timestamp when completed (present when completed or failed)."
    }
  }
}