{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vexa-ai/json-schema/vexa-ai-post-api-chat-response-schema.json",
  "title": "PostApiChatResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/vexa-ai-openapi-generated.yml#/components/schemas/PostApiChatResponse",
  "type": "object",
  "properties": {
    "message-delta": {
      "type": "object",
      "description": "text"
    },
    "tool-call": {
      "type": "object",
      "description": "tool, args, callId"
    },
    "tool-result": {
      "type": "object",
      "description": "callId, ok, summary"
    },
    "commit": {
      "type": "object",
      "description": "sha"
    },
    "rejected": {
      "type": "object",
      "description": "violations"
    },
    "done": {
      "type": "object",
      "description": "reply, sessionId, ok (+ detail when a failure's raw provider text was rewritten)"
    },
    "error": {
      "type": "object",
      "description": "message — the turn was refused before dispatch"
    }
  }
}