{
  "openapi": "3.1.0",
  "info": {
    "title": "Mach-1 public REST API",
    "version": "2026-10",
    "description": "Scoped-key routes in Atlas plus direct receiver routes. Receiver host comes from authenticated Build transport discovery. Human cookie-authenticated operations are separate."
  },
  "servers": [
    {
      "url": "https://build.aioncx.com",
      "description": "Build scoped reads and discovery"
    }
  ],
  "tags": [
    {
      "name": "Discovery"
    },
    {
      "name": "Interactions"
    },
    {
      "name": "Direct submission"
    }
  ],
  "components": {
    "securitySchemes": {
      "ingestKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Personal or organization scoped ingest key from Build"
      }
    },
    "parameters": {
      "Workspace": {
        "name": "workspace_id",
        "in": "query",
        "description": "Required when the key grants multiple workspaces",
        "schema": {
          "type": "string"
        }
      },
      "Cursor": {
        "name": "cursor",
        "in": "query",
        "description": "Opaque cursor tied to the chosen filters",
        "schema": {
          "type": "string"
        }
      },
      "Limit": {
        "name": "limit",
        "in": "query",
        "description": "1 to 100",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      },
      "InteractionId": {
        "name": "interactionId",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        },
        "required": [
          "error"
        ]
      },
      "Admission": {
        "type": "object",
        "properties": {
          "interactionId": {
            "type": "string",
            "format": "uuid"
          },
          "inputRevision": {
            "type": "string"
          },
          "transcriptRevision": {
            "type": "string"
          },
          "mediaAssetId": {
            "type": "string"
          },
          "transcriptionWorkflowId": {
            "type": ["string", "null"],
            "description": "Null while the submission waits for funding or a Reserved window."
          },
          "replayed": {
            "type": "boolean"
          }
        },
        "required": [
          "interactionId",
          "replayed"
        ]
      },
      "Definition": {
        "type": "object",
        "properties": {
          "definition_version_id": {
            "type": "string",
            "format": "uuid"
          },
          "version_number": {
            "type": "integer"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "output_schema": {
            "type": "object",
            "additionalProperties": true
          },
          "output_schema_digest": {
            "type": "string",
            "description": "SHA-256 digest of the compiled output schema."
          },
          "output_schema_url": {
            "type": "string",
            "description": "Relative authenticated REST URL for this exact executable Definition version."
          }
        },
        "required": [
          "definition_version_id",
          "version_number"
        ]
      },
      "Interaction": {
        "type": "object",
        "properties": {
          "interaction_id": {
            "type": "string",
            "format": "uuid"
          },
          "source": {
            "type": "string",
            "enum": [
              "api",
              "deepgram",
              "zoom"
            ]
          },
          "started_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "external_conversation_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "input_revision": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage_errors": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "required": [
          "interaction_id",
          "source",
          "status"
        ]
      },
      "Turn": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "speaker": {
            "type": "string"
          },
          "start": {
            "type": "number",
            "description": "Seconds when known"
          },
          "end": {
            "type": "number",
            "description": "Seconds when known"
          }
        },
        "required": [
          "text"
        ]
      }
    }
  },
  "paths": {
    "/api/ingest/analysis-definitions": {
      "get": {
        "operationId": "listMach1AnalysisDefinitions",
        "tags": [
          "Discovery"
        ],
        "summary": "List executable published Definition versions",
        "description": "List published analysis Definition versions available for direct submission.",
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/Workspace"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          },
          {
            "name": "definition_version_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Return this exact authorized, published, executable Definition version with its complete output schema."
          }
        ],
        "responses": {
          "200": {
            "description": "Authorized definitions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "workspace_id": {
                      "type": "string"
                    },
                    "definitions": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Definition"
                      }
                    },
                    "next_cursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "workspace_id",
                    "definitions",
                    "next_cursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/ingest/interactions": {
      "get": {
        "operationId": "listMach1Interactions",
        "tags": [
          "Interactions"
        ],
        "summary": "List or discover authorized interactions",
        "description": "Identifier filters are mutually exclusive. An external ID may match multiple source actors or connections. A filtered cursor is bound to these filters.",
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/Workspace"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          },
          {
            "name": "interaction_id",
            "in": "query",
            "description": "Exact canonical interaction UUID",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "external_conversation_id",
            "in": "query",
            "description": "Exact source-supplied identifier",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "source",
            "in": "query",
            "description": "Source filter",
            "schema": {
              "type": "string",
              "enum": [
                "api",
                "deepgram",
                "zoom"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Authorized page",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "workspace_id": {
                      "type": "string"
                    },
                    "interactions": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Interaction"
                      }
                    },
                    "next_cursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "workspace_id",
                    "interactions",
                    "next_cursor"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/ingest/interactions/{interactionId}/status": {
      "get": {
        "operationId": "getMach1Status",
        "tags": [
          "Interactions"
        ],
        "summary": "Read authorized status",
        "description": "Read the processing status for an authorized interaction. Reads may return lossless parts with next_cursor when large. Cursors pin input and transcript revisions. Native Zoom additionally requires recording visibility.",
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/InteractionId"
          },
          {
            "$ref": "#/components/parameters/Workspace"
          },
          {
            "name": "revision",
            "in": "query",
            "description": "Pinned input or native revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "producer",
            "in": "query",
            "description": "Pinned transcript producer",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transcript_revision",
            "in": "query",
            "description": "Pinned transcript artifact revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Authorized status; shape varies with source and whether paging is required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/ingest/interactions/{interactionId}/transcript": {
      "get": {
        "operationId": "getMach1Transcript",
        "tags": [
          "Interactions"
        ],
        "summary": "Read authorized transcript",
        "description": "Read the speaker-attributed transcript for an authorized interaction. Reads may return lossless parts with next_cursor when large. Cursors pin input and transcript revisions. Native Zoom additionally requires recording visibility.",
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/InteractionId"
          },
          {
            "$ref": "#/components/parameters/Workspace"
          },
          {
            "name": "revision",
            "in": "query",
            "description": "Pinned input or native revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "producer",
            "in": "query",
            "description": "Pinned transcript producer",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transcript_revision",
            "in": "query",
            "description": "Pinned transcript artifact revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Authorized transcript; shape varies with source and whether paging is required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/ingest/interactions/{interactionId}/results": {
      "get": {
        "operationId": "getMach1Results",
        "tags": [
          "Interactions"
        ],
        "summary": "Read authorized results",
        "description": "Read analysis results for an authorized interaction. Reads may return lossless parts with next_cursor when large. Cursors pin input and transcript revisions. Native Zoom additionally requires recording visibility.",
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/InteractionId"
          },
          {
            "$ref": "#/components/parameters/Workspace"
          },
          {
            "name": "revision",
            "in": "query",
            "description": "Pinned input or native revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "producer",
            "in": "query",
            "description": "Pinned transcript producer",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transcript_revision",
            "in": "query",
            "description": "Pinned transcript artifact revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Authorized results; shape varies with source and whether paging is required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/ingest/interactions/{interactionId}/recording": {
      "get": {
        "operationId": "getMach1Recording",
        "tags": [
          "Interactions"
        ],
        "summary": "Read authorized recording",
        "description": "Read recording details for an authorized interaction. Reads may return lossless parts with next_cursor when large. Cursors pin input and transcript revisions. Native Zoom additionally requires recording visibility.",
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/InteractionId"
          },
          {
            "$ref": "#/components/parameters/Workspace"
          },
          {
            "name": "revision",
            "in": "query",
            "description": "Pinned input or native revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "producer",
            "in": "query",
            "description": "Pinned transcript producer",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transcript_revision",
            "in": "query",
            "description": "Pinned transcript artifact revision",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Authorized recording; shape varies with source and whether paging is required",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ingest/audio": {
      "post": {
        "operationId": "submitMach1Audio",
        "tags": [
          "Direct submission"
        ],
        "summary": "Upload original audio",
        "description": "Submit an original WAV, MP3, or M4A recording for asynchronous processing in the selected workspace.",
        "servers": [
          {
            "url": "https://{receiverHost}",
            "description": "Direct Spine receiver; copy its actual URL from Build transport discovery",
            "variables": {
              "receiverHost": {
                "default": "receiver.example.invalid",
                "description": "HTTPS host from Build Developers; replace before trying this operation"
              }
            }
          }
        ],
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Stable key for uncertain retries",
            "schema": {
              "type": "string",
              "maxLength": 256
            }
          },
          {
            "name": "X-Workspace-Id",
            "in": "header",
            "description": "Workspace selection before audio transfer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "workspace_id": {
                    "type": "string"
                  },
                  "external_conversation_id": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "revision": {
                    "type": "string"
                  },
                  "pricing_tier": {
                    "type": "string",
                    "enum": ["standard", "reserved"],
                    "default": "standard",
                    "description": "Chosen per submission. Reserved work starts weekends or 7 p.m.–7 a.m. America/New_York. Keep the same tier on idempotent retries."
                  },
                  "requested_definition_version_ids": {
                    "type": "string",
                    "description": "JSON UUID array in a multipart field"
                  },
                  "audio": {
                    "type": "string",
                    "format": "binary",
                    "description": "WAV, MP3 or M4A up to 256 MiB and four hours"
                  }
                },
                "required": [
                  "audio"
                ]
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Admitted asynchronously (or replayed)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Admission"
                }
              }
            }
          },
          "200": {
            "description": "Admitted asynchronously (or replayed)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Admission"
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ingest/audio-url": {
      "post": {
        "operationId": "submitMach1Audiourl",
        "tags": [
          "Direct submission"
        ],
        "summary": "Import a public audio URL",
        "description": "Submit a public audio URL for asynchronous ingestion in the selected workspace.",
        "servers": [
          {
            "url": "https://{receiverHost}",
            "description": "Direct Spine receiver; copy its actual URL from Build transport discovery",
            "variables": {
              "receiverHost": {
                "default": "receiver.example.invalid",
                "description": "HTTPS host from Build Developers; replace before trying this operation"
              }
            }
          }
        ],
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Stable key for uncertain retries",
            "schema": {
              "type": "string",
              "maxLength": 256
            }
          },
          {
            "name": "X-Workspace-Id",
            "in": "header",
            "description": "Workspace selection before audio transfer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "workspace_id": {
                    "type": "string"
                  },
                  "external_conversation_id": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "revision": {
                    "type": "string"
                  },
                  "pricing_tier": {
                    "type": "string",
                    "enum": ["standard", "reserved"],
                    "default": "standard",
                    "description": "Chosen per submission. Reserved work starts weekends or 7 p.m.–7 a.m. America/New_York. Keep the same tier on idempotent retries."
                  },
                  "requested_definition_version_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "default": []
                  },
                  "url": {
                    "type": "string",
                    "format": "uri",
                    "description": "Public HTTPS audio URL, no userinfo or fragment"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Admitted asynchronously (or replayed)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Admission"
                }
              }
            }
          },
          "200": {
            "description": "Admitted asynchronously (or replayed)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Admission"
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ingest/transcripts": {
      "post": {
        "operationId": "submitMach1Transcript",
        "tags": [
          "Direct submission"
        ],
        "summary": "Submit existing text or turns",
        "description": "Submit existing transcript text or speaker turns for asynchronous analysis without uploading audio.",
        "servers": [
          {
            "url": "https://{receiverHost}",
            "description": "Direct Spine receiver; copy its actual URL from Build transport discovery",
            "variables": {
              "receiverHost": {
                "default": "receiver.example.invalid",
                "description": "HTTPS host from Build Developers; replace before trying this operation"
              }
            }
          }
        ],
        "security": [
          {
            "ingestKey": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "description": "Stable key for uncertain retries",
            "schema": {
              "type": "string",
              "maxLength": 256
            }
          },
          {
            "name": "X-Workspace-Id",
            "in": "header",
            "description": "Workspace selection before audio transfer",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "workspace_id": {
                    "type": "string"
                  },
                  "external_conversation_id": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "revision": {
                    "type": "string"
                  },
                  "pricing_tier": {
                    "type": "string",
                    "enum": ["standard", "reserved"],
                    "default": "standard",
                    "description": "Chosen per submission. Reserved work starts weekends or 7 p.m.–7 a.m. America/New_York. Keep the same tier on idempotent retries."
                  },
                  "requested_definition_version_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "default": []
                  },
                  "text": {
                    "type": "string"
                  },
                  "turns": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/Turn"
                    }
                  }
                },
                "required": [],
                "oneOf": [
                  {
                    "required": [
                      "text"
                    ]
                  },
                  {
                    "required": [
                      "turns"
                    ]
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Admitted asynchronously (or replayed)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Admission"
                }
              }
            }
          },
          "200": {
            "description": "Admitted asynchronously (or replayed)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Admission"
                }
              }
            }
          },
          "400": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Structured error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  }
}
