{
  "components": {
    "schemas": {
      "Admission": {
        "additionalProperties": false,
        "properties": {
          "activeSpeakerJobId": {
            "type": "string"
          },
          "durationSeconds": {
            "type": "number"
          },
          "faceJobId": {
            "type": "string"
          },
          "labels": {
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "type": "object"
          },
          "libraryId": {
            "type": "string"
          },
          "libraryRevision": {
            "type": "string"
          },
          "maxRetailUsd": {
            "type": "number"
          },
          "queryPolicy": {
            "description": "Optional opaque analysis policy token. Omit for the default; not a private recipe.",
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          },
          "runtimeProfile": {
            "type": "string"
          },
          "settings": {
            "additionalProperties": false,
            "properties": {
              "characterJobId": {
                "type": "string"
              },
              "endSeconds": {
                "type": "number"
              },
              "frameRange": {
                "description": "Face-only half-open source frame interval.",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2,
                "minItems": 2,
                "type": "array"
              },
              "keyframesOnly": {
                "type": "boolean"
              },
              "maxFrameDimension": {
                "type": "integer"
              },
              "prompt": {
                "description": "Customer-authored question, distinct from private system instructions.",
                "type": "string"
              },
              "question": {
                "type": "string"
              },
              "sampleFps": {
                "type": "number"
              },
              "startSeconds": {
                "type": "number"
              },
              "windowSeconds": {
                "type": "number"
              }
            },
            "required": [],
            "type": "object"
          },
          "sourceSha256": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          },
          "voiceIdentityJobId": {
            "type": "string"
          },
          "voiceJobId": {
            "type": "string"
          }
        },
        "required": [
          "sourceSha256",
          "maxRetailUsd",
          "quoteId"
        ],
        "type": "object"
      },
      "AnalysisFlow": {
        "properties": {
          "admissionDeadline": {
            "type": "integer"
          },
          "automaticPaidRetry": {
            "const": false
          },
          "bundle": {
            "$ref": "#/components/schemas/Download"
          },
          "createdAt": {
            "type": "integer"
          },
          "error": {
            "$ref": "#/components/schemas/Error/properties/error"
          },
          "exportJobs": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "flowId": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "partialBundle": {
            "$ref": "#/components/schemas/Download"
          },
          "schemaVersion": {
            "const": "myrograph.analysisFlow.v1"
          },
          "sourceSha256": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "stages": {
            "type": "object"
          },
          "state": {
            "enum": [
              "running",
              "held",
              "completed",
              "stopped"
            ]
          },
          "statusUrl": {
            "type": "string"
          }
        },
        "required": [
          "schemaVersion",
          "flowId",
          "sourceSha256",
          "state",
          "createdAt",
          "admissionDeadline",
          "automaticPaidRetry",
          "stages",
          "statusUrl"
        ],
        "type": "object"
      },
      "Artifact": {
        "additionalProperties": false,
        "properties": {
          "byteLength": {
            "type": "integer"
          },
          "kind": {
            "enum": [
              "result",
              "package"
            ],
            "type": "string"
          },
          "sha256": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "url": {
            "description": "Short-lived transfer URL. Send no API credentials to this URL.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "url",
          "sha256",
          "byteLength"
        ],
        "type": "object"
      },
      "Download": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "type": "object"
          },
          "exportId": {
            "type": "string"
          },
          "files": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "byteLength": {
                  "type": "integer"
                },
                "kind": {
                  "enum": [
                    "result",
                    "package"
                  ],
                  "type": "string"
                },
                "sha256": {
                  "pattern": "^[a-f0-9]{64}$",
                  "type": "string"
                },
                "url": {
                  "description": "Short-lived transfer URL. Send no API credentials to this URL.",
                  "format": "uri",
                  "type": "string"
                }
              },
              "required": [
                "kind",
                "url",
                "sha256",
                "byteLength"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "jobId": {
            "type": "string"
          },
          "projectionVersion": {
            "type": "string"
          },
          "receivedUrl": {
            "type": "string"
          },
          "schemaVersion": {
            "const": "myrograph.stageDownload.v2"
          },
          "sourceSha256": {
            "pattern": "^[a-f0-9]{64}$",
            "type": "string"
          },
          "state": {
            "enum": [
              "queued",
              "preparing",
              "completed",
              "failed"
            ],
            "type": "string"
          },
          "statusUrl": {
            "type": "string"
          }
        },
        "required": [
          "schemaVersion",
          "sourceSha256",
          "files"
        ],
        "type": "object"
      },
      "Error": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "FlowCapabilities": {
        "properties": {
          "acceptedPrimaries": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "automaticPaidRetry": {
            "const": false
          },
          "enabled": {
            "type": "boolean"
          },
          "preuploadedVisualSourceRequired": {
            "const": true
          },
          "remainingStages": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "schemaVersion": {
            "const": "myrograph.flowCapabilities.v1"
          },
          "sourceSessionRequired": {
            "const": true
          },
          "supportedVoiceQueryPolicies": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "schemaVersion",
          "enabled",
          "supportedVoiceQueryPolicies"
        ],
        "type": "object"
      },
      "FunctionalSettings": {
        "additionalProperties": false,
        "properties": {
          "characterJobId": {
            "type": "string"
          },
          "endSeconds": {
            "type": "number"
          },
          "frameRange": {
            "description": "Face-only half-open source frame interval.",
            "items": {
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "keyframesOnly": {
            "type": "boolean"
          },
          "maxFrameDimension": {
            "type": "integer"
          },
          "prompt": {
            "description": "Customer-authored question, distinct from private system instructions.",
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "sampleFps": {
            "type": "number"
          },
          "startSeconds": {
            "type": "number"
          },
          "windowSeconds": {
            "type": "number"
          }
        },
        "required": [],
        "type": "object"
      },
      "Operation": {
        "additionalProperties": false,
        "properties": {
          "access": {
            "type": [
              "string",
              "null"
            ]
          },
          "accountId": {
            "type": [
              "string",
              "null"
            ]
          },
          "active": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "automaticPaidRetry": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "createdAt": {
            "type": [
              "integer",
              "string",
              "null"
            ]
          },
          "current": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "customerAccess": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "customerBilling": {
            "additionalProperties": false,
            "properties": {
              "amountUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "chargedUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "customerChargeUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "heldUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "releasedUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "reservedUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "retailMicros": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "state": {
                "type": "string"
              }
            },
            "required": [],
            "type": "object"
          },
          "customerBillingAccess": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "customerServices": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "enabled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            },
            "required": [],
            "type": "object"
          },
          "expiresAt": {
            "type": [
              "integer",
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "jobId": {
            "type": [
              "string",
              "null"
            ]
          },
          "jobs": {
            "items": {
              "$ref": "#/components/schemas/Operation"
            },
            "type": "array"
          },
          "keyPrefix": {
            "type": [
              "string",
              "null"
            ]
          },
          "keys": {
            "items": {
              "$ref": "#/components/schemas/Operation"
            },
            "type": "array"
          },
          "library": {
            "type": "object"
          },
          "mode": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "nextAfter": {
            "type": [
              "integer",
              "null"
            ]
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "partialResultAvailable": {
            "type": "boolean"
          },
          "prefix": {
            "type": [
              "string",
              "null"
            ]
          },
          "projectId": {
            "type": [
              "string",
              "null"
            ]
          },
          "projectIds": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "projectionVersion": {
            "type": "string"
          },
          "reconciliation": {
            "additionalProperties": false,
            "properties": {
              "automaticPaidRetry": {
                "type": "boolean"
              },
              "nextAction": {
                "type": "string"
              },
              "required": {
                "type": "boolean"
              }
            },
            "required": [],
            "type": "object"
          },
          "requestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestIntentSha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "resultAvailable": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "resultsExpireAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "resultsUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "resumeOriginalAllowed": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "retention": {
            "description": "Versioned scoped retention and explicit enforcement status. Tracking-only does not promise physical deletion.",
            "type": "object"
          },
          "revoked": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "sampledFrames": {
            "type": [
              "integer",
              "null"
            ]
          },
          "schemaVersion": {
            "const": "myrograph.operation.v2"
          },
          "service": {
            "type": [
              "string",
              "null"
            ]
          },
          "services": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "settings": {
            "additionalProperties": false,
            "properties": {
              "endSeconds": {
                "type": "number"
              },
              "keyframesOnly": {
                "type": "boolean"
              },
              "maxDurationSeconds": {
                "type": "number"
              },
              "maxFrameDimension": {
                "type": "number"
              },
              "sampleFps": {
                "type": "number"
              },
              "startSeconds": {
                "type": "number"
              },
              "windowSeconds": {
                "type": "number"
              }
            },
            "required": [],
            "type": "object"
          },
          "settlement": {
            "additionalProperties": false,
            "properties": {
              "amountUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "chargedUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "customerChargeUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "heldUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "releasedUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "reservedUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "retailMicros": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "state": {
                "type": "string"
              }
            },
            "required": [],
            "type": "object"
          },
          "sourceExpiresAt": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "sourceSessionId": {
            "type": "string"
          },
          "sourceSha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "type": "string"
          },
          "statusRevisionSha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "statusUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "additionalProperties": false,
            "properties": {
              "assignedWords": {
                "type": "integer"
              },
              "groups": {
                "type": "integer"
              },
              "people": {
                "type": "integer"
              },
              "recordingSpeakers": {
                "type": "integer"
              },
              "totalWords": {
                "type": "integer"
              },
              "turns": {
                "type": "integer"
              },
              "unresolvedWords": {
                "type": "integer"
              },
              "words": {
                "type": "integer"
              }
            },
            "required": [],
            "type": "object"
          },
          "updatedAt": {
            "type": [
              "integer",
              "string",
              "null"
            ]
          },
          "uploadId": {
            "type": [
              "string",
              "null"
            ]
          },
          "uploaded": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "windowsCompleted": {
            "type": [
              "integer",
              "null"
            ]
          },
          "windowsTotal": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "schemaVersion",
          "projectionVersion"
        ],
        "type": "object"
      },
      "QuoteRequest": {
        "additionalProperties": false,
        "properties": {
          "durationSeconds": {
            "type": "number"
          },
          "maxRetailUsd": {
            "type": "number"
          },
          "runtimeProfile": {
            "enum": [
              "standard",
              "extended"
            ],
            "type": "string"
          },
          "settings": {
            "additionalProperties": false,
            "properties": {
              "characterJobId": {
                "type": "string"
              },
              "endSeconds": {
                "type": "number"
              },
              "frameRange": {
                "description": "Face-only half-open source frame interval.",
                "items": {
                  "type": "integer"
                },
                "maxItems": 2,
                "minItems": 2,
                "type": "array"
              },
              "keyframesOnly": {
                "type": "boolean"
              },
              "maxFrameDimension": {
                "type": "integer"
              },
              "prompt": {
                "description": "Customer-authored question, distinct from private system instructions.",
                "type": "string"
              },
              "question": {
                "type": "string"
              },
              "sampleFps": {
                "type": "number"
              },
              "startSeconds": {
                "type": "number"
              },
              "windowSeconds": {
                "type": "number"
              }
            },
            "required": [],
            "type": "object"
          }
        },
        "required": [],
        "type": "object"
      }
    },
    "securitySchemes": {
      "apiKey": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Functional analysis APIs and portable source-bound exports. Public hashes identify delivered bytes. Engine and native revision tokens are opaque; private originals are retained internally. Ordinary native origins were retired; use this canonical origin.",
    "title": "VibeEdit customer API",
    "version": "customerProjection.v2"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/active-speakers/capabilities": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "anonymous": {
                      "type": "boolean"
                    },
                    "automaticPaidRetry": {
                      "type": "boolean"
                    },
                    "contentTypes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentJob": {
                      "type": "boolean"
                    },
                    "maxBytes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxDurationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxFrameDimension": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "maxImagesPerWindow": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxNativeFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxSampleFps": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxSampledFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxWindowSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxWindows": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nativePolicyDisclosure": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "quoteUrl": {
                      "type": "string"
                    },
                    "requiredKeyServices": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "resultSchemaVersion": {
                      "type": "string"
                    },
                    "retentionDays": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "anonymous": {
                      "type": "boolean"
                    },
                    "automaticPaidRetry": {
                      "type": "boolean"
                    },
                    "contentTypes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentJob": {
                      "type": "boolean"
                    },
                    "maxBytes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxDurationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxFrameDimension": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "maxImagesPerWindow": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxNativeFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxSampleFps": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxSampledFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxWindowSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxWindows": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nativePolicyDisclosure": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "quoteUrl": {
                      "type": "string"
                    },
                    "requiredKeyServices": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "resultSchemaVersion": {
                      "type": "string"
                    },
                    "retentionDays": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read current Visible Speaker limits"
      }
    },
    "/v1/active-speakers/jobs": {
      "post": {
        "description": "Primary stages require uploadId and full-source duration. Faces also require libraryId. Derived stages require original parent job IDs. Use Idempotency-Key; retain the same state after interruption.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Admission"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Submit one durable Visible Speaker operation"
      }
    },
    "/v1/active-speakers/jobs/{jobId}": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the original job state"
      }
    },
    "/v1/active-speakers/jobs/{jobId}/download": {
      "get": {
        "description": "Only allowlisted result and package files are signed. Nested archives follow customerProjection.v2. Private attachments and original native archives are not customer downloads.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Download the public result and portable review package"
      }
    },
    "/v1/active-speakers/jobs/{jobId}/result": {
      "get": {
        "description": "Typed native scores, similarities and heuristic support describe their specific decisions. Unavailable is explicit. Private native acceptance thresholds and vectors are not included. No support score is a calibrated probability unless explicitly labeled and documented as calibrated.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobId": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "publicParents": {
                      "description": "Parent job IDs and SHA256 of exact delivered customer bytes.",
                      "type": "object"
                    },
                    "schemaVersion": {
                      "const": "myrograph.stageExport.v2"
                    },
                    "sourceSha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "stage": {
                      "const": "active-speakers"
                    },
                    "supportPolicyVersion": {
                      "type": "string"
                    },
                    "windows": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "words": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "jobId",
                    "sourceSha256"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobId": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "publicParents": {
                      "description": "Parent job IDs and SHA256 of exact delivered customer bytes.",
                      "type": "object"
                    },
                    "schemaVersion": {
                      "const": "myrograph.stageExport.v2"
                    },
                    "sourceSha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "stage": {
                      "const": "active-speakers"
                    },
                    "supportPolicyVersion": {
                      "type": "string"
                    },
                    "windows": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "words": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "jobId",
                    "sourceSha256"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the versioned Visible Speaker customer result"
      }
    },
    "/v1/active-speakers/quote": {
      "post": {
        "description": "A quote is an expiring scoped estimate. Only admission allocates analysis. Keep the exact quote/body after an uncertain admission; do not resubmit a replacement.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "durationSeconds": {
                    "type": "number"
                  },
                  "maxRetailUsd": {
                    "type": "number"
                  },
                  "runtimeProfile": {
                    "enum": [
                      "standard",
                      "extended"
                    ],
                    "type": "string"
                  },
                  "settings": {
                    "additionalProperties": false,
                    "properties": {
                      "characterJobId": {
                        "type": "string"
                      },
                      "endSeconds": {
                        "type": "number"
                      },
                      "frameRange": {
                        "description": "Face-only half-open source frame interval.",
                        "items": {
                          "type": "integer"
                        },
                        "maxItems": 2,
                        "minItems": 2,
                        "type": "array"
                      },
                      "keyframesOnly": {
                        "type": "boolean"
                      },
                      "maxFrameDimension": {
                        "type": "integer"
                      },
                      "prompt": {
                        "description": "Customer-authored question, distinct from private system instructions.",
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      },
                      "sampleFps": {
                        "type": "number"
                      },
                      "startSeconds": {
                        "type": "number"
                      },
                      "windowSeconds": {
                        "type": "number"
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                },
                "required": [],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "currency": {
                      "const": "USD"
                    },
                    "expiresAtUnix": {
                      "type": "integer"
                    },
                    "maximumCreditHoldUsd": {
                      "type": "number"
                    },
                    "quoteId": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "myrograph.quote.v2"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "quoteId",
                    "expiresAtUnix",
                    "maximumCreditHoldUsd"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "currency": {
                      "const": "USD"
                    },
                    "expiresAtUnix": {
                      "type": "integer"
                    },
                    "maximumCreditHoldUsd": {
                      "type": "number"
                    },
                    "quoteId": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "myrograph.quote.v2"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "quoteId",
                    "expiresAtUnix",
                    "maximumCreditHoldUsd"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Quote Visible Speaker without creating analysis"
      }
    },
    "/v1/analysis/export": {
      "post": {
        "description": "Partial delivery is preserved: unavailable requested stages remain in the index. Package v3 has progressive indexes, report, evidence, revisioned corrections, and portable review instructions.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "jobs": {
                    "additionalProperties": false,
                    "properties": {
                      "active-speakers": {
                        "type": "string"
                      },
                      "characters": {
                        "type": "string"
                      },
                      "faces": {
                        "type": "string"
                      },
                      "speakers": {
                        "type": "string"
                      },
                      "visual": {
                        "type": "string"
                      },
                      "voice-identity": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "type": "object"
                  },
                  "requestedStages": {
                    "description": "Include intended later stages in a partial export; no missing jobs are fabricated.",
                    "items": {
                      "enum": [
                        "visual",
                        "faces",
                        "speakers",
                        "active-speakers",
                        "voice-identity",
                        "characters"
                      ],
                      "type": "string"
                    },
                    "minItems": 1,
                    "type": "array",
                    "uniqueItems": true
                  },
                  "sourceSha256": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "sourceSha256",
                  "jobs"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Assemble completed owned jobs without new inference"
      }
    },
    "/v1/analysis/exports/{exportId}": {
      "get": {
        "description": "Poll the returned statusUrl. Failed package preparation does not discard usable stage results or repeat inference.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "exportId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the same owned package preparation"
      }
    },
    "/v1/analysis/exports/{exportId}/received": {
      "post": {
        "description": "Idempotent acknowledgement after a complete verified download. GET, HEAD, ranges and signed-link issuance never acknowledge delivery or extend retention. This receipt does not request early deletion.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "exportId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "byteLength": {
                    "type": "integer"
                  },
                  "sha256": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "sha256",
                  "byteLength"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "assertion": {
                      "type": "string"
                    },
                    "byteLength": {
                      "type": "integer"
                    },
                    "exportId": {
                      "type": "string"
                    },
                    "receivedAt": {
                      "type": "integer"
                    },
                    "retentionExtended": {
                      "const": false
                    },
                    "schemaVersion": {
                      "const": "myrograph.packageReceipt.v1"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "sourceDeleted": {
                      "const": false
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "exportId",
                    "retentionExtended"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "assertion": {
                      "type": "string"
                    },
                    "byteLength": {
                      "type": "integer"
                    },
                    "exportId": {
                      "type": "string"
                    },
                    "receivedAt": {
                      "type": "integer"
                    },
                    "retentionExtended": {
                      "const": false
                    },
                    "schemaVersion": {
                      "const": "myrograph.packageReceipt.v1"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "sourceDeleted": {
                      "const": false
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "exportId",
                    "retentionExtended"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Record explicit checksum-verified package receipt"
      }
    },
    "/v1/analysis/flows": {
      "post": {
        "description": "Standard progression for new supported full analyses on an enabled server. Freeze source, acknowledged primaries, original admission keys, completed visual upload and all remaining caps. Retain the same Idempotency-Key after uncertainty. Issuer rotation does not cancel the fixed accepted grant.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "caps": {
                    "additionalProperties": false,
                    "properties": {
                      "active-speakers": {
                        "exclusiveMinimum": 0,
                        "minimum": 0,
                        "type": "number"
                      },
                      "characters": {
                        "minimum": 0,
                        "type": "number"
                      },
                      "visual": {
                        "exclusiveMinimum": 0,
                        "minimum": 0,
                        "type": "number"
                      },
                      "voice-identity": {
                        "exclusiveMinimum": 0,
                        "minimum": 0,
                        "type": "number"
                      }
                    },
                    "required": [
                      "active-speakers",
                      "voice-identity",
                      "characters",
                      "visual"
                    ],
                    "type": "object"
                  },
                  "durationSeconds": {
                    "exclusiveMinimum": 0,
                    "maximum": 1800,
                    "type": "number"
                  },
                  "executionSeconds": {
                    "maximum": 604800,
                    "minimum": 300,
                    "type": "integer"
                  },
                  "identityLibrary": {
                    "type": "string"
                  },
                  "inferenceLibraryRevision": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "labels": {
                    "type": "object"
                  },
                  "parentAdmissionKeys": {
                    "additionalProperties": false,
                    "properties": {
                      "faces": {
                        "type": "string"
                      },
                      "speakers": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "speakers",
                      "faces"
                    ],
                    "type": "object"
                  },
                  "parents": {
                    "additionalProperties": false,
                    "properties": {
                      "faces": {
                        "type": "string"
                      },
                      "speakers": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "speakers",
                      "faces"
                    ],
                    "type": "object"
                  },
                  "sourceSessionId": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "sourceSha256": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "totalCap": {
                    "exclusiveMinimum": 0,
                    "maximum": 10000,
                    "type": "number"
                  },
                  "visualOptions": {
                    "type": "object"
                  },
                  "visualUploadId": {
                    "type": "string"
                  },
                  "voiceQueryPolicy": {
                    "type": "string"
                  }
                },
                "required": [
                  "sourceSessionId",
                  "sourceSha256",
                  "durationSeconds",
                  "parents",
                  "parentAdmissionKeys",
                  "visualUploadId",
                  "caps",
                  "totalCap"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisFlow"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisFlow"
                }
              }
            },
            "description": "Original operation is pending; preserve its identity."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Continue the acknowledged bounded source flow in the cloud"
      }
    },
    "/v1/analysis/flows/capabilities": {
      "get": {
        "description": "",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FlowCapabilities"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FlowCapabilities"
                }
              }
            },
            "description": "Original operation is pending; preserve its identity."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read cloud continuation availability before processing"
      }
    },
    "/v1/analysis/flows/{flowId}": {
      "get": {
        "description": "",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "flowId",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisFlow"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisFlow"
                }
              }
            },
            "description": "Original operation is pending; preserve its identity."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the same scoped original flow"
      }
    },
    "/v1/analysis/flows/{flowId}/stop": {
      "post": {
        "description": "Requires cancel access in every participating service. Stop is not proof that already accepted work stopped. No replacement flow is created.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "flowId",
            "required": true,
            "schema": {
              "pattern": "^[a-f0-9]{64}$",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisFlow"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalysisFlow"
                }
              }
            },
            "description": "Original operation is pending; preserve its identity."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Close future admissions while retaining accepted operations"
      }
    },
    "/v1/analysis/source-sessions": {
      "post": {
        "description": "Use Idempotency-Key. Declare the full combined flow. Read enforcement: tracking-only is not an active temporary-deletion guarantee. Legacy assets are never silently migrated.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "requestedStages": {
                    "items": {
                      "enum": [
                        "visual",
                        "faces",
                        "speakers",
                        "active-speakers",
                        "voice-identity",
                        "characters"
                      ]
                    },
                    "minItems": 1,
                    "type": "array",
                    "uniqueItems": true
                  },
                  "sourceSha256": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "sourceSha256",
                  "requestedStages"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Declare all requested stages before processing"
      }
    },
    "/v1/analysis/source-sessions/{sourceSessionId}": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sourceSessionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the durable requested-flow retention state"
      }
    },
    "/v1/analysis/source-sessions/{sourceSessionId}/delete": {
      "post": {
        "description": "A tracking-only session returns 503; it never acknowledges deletion that did not run.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sourceSessionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "scope": {
                    "enum": [
                      "source",
                      "results"
                    ]
                  }
                },
                "required": [
                  "scope"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Request dependency-safe early deletion when cleanup is enabled"
      }
    },
    "/v1/analysis/source-sessions/{sourceSessionId}/stop": {
      "post": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sourceSessionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {},
                "required": [],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "enforcement": {
                      "enum": [
                        "tracking-only",
                        "temporary"
                      ]
                    },
                    "policyVersion": {
                      "type": "string"
                    },
                    "resultsExpireAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sourceSessionId": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "policyVersion",
                    "sourceSessionId",
                    "sourceExpiresAt",
                    "resultsExpireAt",
                    "enforcement"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Stop unadmitted stages without certifying active work stopped"
      }
    },
    "/v1/characters/capabilities": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "anonymous": {
                      "type": "boolean"
                    },
                    "automaticPaidRetry": {
                      "type": "boolean"
                    },
                    "contentTypes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentJob": {
                      "type": "boolean"
                    },
                    "maxBytes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxDurationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxFrameDimension": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "maxImagesPerWindow": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxNativeFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxSampleFps": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxSampledFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxWindowSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxWindows": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nativePolicyDisclosure": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "quoteUrl": {
                      "type": "string"
                    },
                    "requiredKeyServices": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "resultSchemaVersion": {
                      "type": "string"
                    },
                    "retentionDays": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "anonymous": {
                      "type": "boolean"
                    },
                    "automaticPaidRetry": {
                      "type": "boolean"
                    },
                    "contentTypes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentJob": {
                      "type": "boolean"
                    },
                    "maxBytes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxDurationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxFrameDimension": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "maxImagesPerWindow": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxNativeFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxSampleFps": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxSampledFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxWindowSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxWindows": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nativePolicyDisclosure": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "quoteUrl": {
                      "type": "string"
                    },
                    "requiredKeyServices": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "resultSchemaVersion": {
                      "type": "string"
                    },
                    "retentionDays": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read current Words to People & Characters limits"
      }
    },
    "/v1/characters/jobs": {
      "post": {
        "description": "Primary stages require uploadId and full-source duration. Faces also require libraryId. Derived stages require original parent job IDs. Use Idempotency-Key; retain the same state after interruption.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Admission"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Submit one durable Words to People & Characters operation"
      }
    },
    "/v1/characters/jobs/{jobId}": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the original job state"
      }
    },
    "/v1/characters/jobs/{jobId}/download": {
      "get": {
        "description": "Only allowlisted result and package files are signed. Nested archives follow customerProjection.v2. Private attachments and original native archives are not customer downloads.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Download the public result and portable review package"
      }
    },
    "/v1/characters/jobs/{jobId}/result": {
      "get": {
        "description": "Typed native scores, similarities and heuristic support describe their specific decisions. Unavailable is explicit. Private native acceptance thresholds and vectors are not included. No support score is a calibrated probability unless explicitly labeled and documented as calibrated.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobId": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "publicParents": {
                      "description": "Parent job IDs and SHA256 of exact delivered customer bytes.",
                      "type": "object"
                    },
                    "schemaVersion": {
                      "const": "myrograph.stageExport.v2"
                    },
                    "sourceSha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "stage": {
                      "const": "characters"
                    },
                    "supportPolicyVersion": {
                      "type": "string"
                    },
                    "windows": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "words": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "jobId",
                    "sourceSha256"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobId": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "publicParents": {
                      "description": "Parent job IDs and SHA256 of exact delivered customer bytes.",
                      "type": "object"
                    },
                    "schemaVersion": {
                      "const": "myrograph.stageExport.v2"
                    },
                    "sourceSha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "stage": {
                      "const": "characters"
                    },
                    "supportPolicyVersion": {
                      "type": "string"
                    },
                    "windows": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "words": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "jobId",
                    "sourceSha256"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the versioned Words to People & Characters customer result"
      }
    },
    "/v1/characters/libraries/{libraryId}": {
      "get": {
        "description": "Revision is an opaque native commit token. The public artifact has a separate byte digest. Internal vectors and private source context remain internal.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byteLength": {
                      "type": "integer"
                    },
                    "labels": {
                      "type": "object"
                    },
                    "libraryId": {
                      "type": "string"
                    },
                    "people": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byteLength": {
                      "type": "integer"
                    },
                    "labels": {
                      "type": "object"
                    },
                    "libraryId": {
                      "type": "string"
                    },
                    "people": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read/export the scoped public identity library"
      },
      "post": {
        "description": "Use Idempotency-Key and preserve exact request after uncertain acknowledgement. Offline package corrections are separate; they do not mutate shared libraries.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "characterJobId": {
                    "type": "string"
                  }
                },
                "required": [
                  "characterJobId"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Apply revision-checked library operation"
      }
    },
    "/v1/characters/libraries/{libraryId}/context": {
      "post": {
        "description": "Use Idempotency-Key and preserve exact request after uncertain acknowledgement. Offline package corrections are separate; they do not mutate shared libraries.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expectedRevision": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "visualJobId": {
                    "type": "string"
                  }
                },
                "required": [
                  "expectedRevision",
                  "visualJobId"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Apply revision-checked library operation"
      }
    },
    "/v1/characters/libraries/{libraryId}/correct": {
      "post": {
        "description": "Use Idempotency-Key and preserve exact request after uncertain acknowledgement. Offline package corrections are separate; they do not mutate shared libraries.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "contexts": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "expectedRevision": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "labels": {
                    "type": "object"
                  },
                  "reassignments": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "expectedRevision"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Apply revision-checked library operation"
      }
    },
    "/v1/characters/libraries/{libraryId}/download/{revision}": {
      "get": {
        "description": "Revision is an opaque native commit token. The public artifact has a separate byte digest. Internal vectors and private source context remain internal.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "revision",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byteLength": {
                      "type": "integer"
                    },
                    "labels": {
                      "type": "object"
                    },
                    "libraryId": {
                      "type": "string"
                    },
                    "people": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byteLength": {
                      "type": "integer"
                    },
                    "labels": {
                      "type": "object"
                    },
                    "libraryId": {
                      "type": "string"
                    },
                    "people": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read/export the scoped public identity library"
      }
    },
    "/v1/characters/libraries/{libraryId}/enroll": {
      "post": {
        "description": "Use Idempotency-Key and preserve exact request after uncertain acknowledgement. Offline package corrections are separate; they do not mutate shared libraries.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "characterJobId": {
                    "type": "string"
                  },
                  "expectedRevision": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "characterJobId",
                  "expectedRevision"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Apply revision-checked library operation"
      }
    },
    "/v1/characters/libraries/{libraryId}/revisions/{revision}": {
      "get": {
        "description": "Revision is an opaque native commit token. The public artifact has a separate byte digest. Internal vectors and private source context remain internal.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "revision",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byteLength": {
                      "type": "integer"
                    },
                    "labels": {
                      "type": "object"
                    },
                    "libraryId": {
                      "type": "string"
                    },
                    "people": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "byteLength": {
                      "type": "integer"
                    },
                    "labels": {
                      "type": "object"
                    },
                    "libraryId": {
                      "type": "string"
                    },
                    "people": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "sha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read/export the scoped public identity library"
      }
    },
    "/v1/characters/libraries/{libraryId}/rollback": {
      "post": {
        "description": "Use Idempotency-Key and preserve exact request after uncertain acknowledgement. Offline package corrections are separate; they do not mutate shared libraries.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "libraryId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "expectedRevision": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  },
                  "targetRevision": {
                    "pattern": "^[a-f0-9]{64}$",
                    "type": "string"
                  }
                },
                "required": [
                  "expectedRevision",
                  "targetRevision"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Versioned customer-safe library view with opaque revision token, people and display labels; no vector banks.",
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Apply revision-checked library operation"
      }
    },
    "/v1/characters/quote": {
      "post": {
        "description": "A quote is an expiring scoped estimate. Only admission allocates analysis. Keep the exact quote/body after an uncertain admission; do not resubmit a replacement.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "durationSeconds": {
                    "type": "number"
                  },
                  "maxRetailUsd": {
                    "type": "number"
                  },
                  "runtimeProfile": {
                    "enum": [
                      "standard",
                      "extended"
                    ],
                    "type": "string"
                  },
                  "settings": {
                    "additionalProperties": false,
                    "properties": {
                      "characterJobId": {
                        "type": "string"
                      },
                      "endSeconds": {
                        "type": "number"
                      },
                      "frameRange": {
                        "description": "Face-only half-open source frame interval.",
                        "items": {
                          "type": "integer"
                        },
                        "maxItems": 2,
                        "minItems": 2,
                        "type": "array"
                      },
                      "keyframesOnly": {
                        "type": "boolean"
                      },
                      "maxFrameDimension": {
                        "type": "integer"
                      },
                      "prompt": {
                        "description": "Customer-authored question, distinct from private system instructions.",
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      },
                      "sampleFps": {
                        "type": "number"
                      },
                      "startSeconds": {
                        "type": "number"
                      },
                      "windowSeconds": {
                        "type": "number"
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                },
                "required": [],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "currency": {
                      "const": "USD"
                    },
                    "expiresAtUnix": {
                      "type": "integer"
                    },
                    "maximumCreditHoldUsd": {
                      "type": "number"
                    },
                    "quoteId": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "myrograph.quote.v2"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "quoteId",
                    "expiresAtUnix",
                    "maximumCreditHoldUsd"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "currency": {
                      "const": "USD"
                    },
                    "expiresAtUnix": {
                      "type": "integer"
                    },
                    "maximumCreditHoldUsd": {
                      "type": "number"
                    },
                    "quoteId": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "myrograph.quote.v2"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "quoteId",
                    "expiresAtUnix",
                    "maximumCreditHoldUsd"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Quote Words to People & Characters without creating analysis"
      }
    },
    "/v1/voice-identity/capabilities": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "anonymous": {
                      "type": "boolean"
                    },
                    "automaticPaidRetry": {
                      "type": "boolean"
                    },
                    "contentTypes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentJob": {
                      "type": "boolean"
                    },
                    "maxBytes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxDurationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxFrameDimension": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "maxImagesPerWindow": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxNativeFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxSampleFps": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxSampledFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxWindowSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxWindows": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nativePolicyDisclosure": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "quoteUrl": {
                      "type": "string"
                    },
                    "requiredKeyServices": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "resultSchemaVersion": {
                      "type": "string"
                    },
                    "retentionDays": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "anonymous": {
                      "type": "boolean"
                    },
                    "automaticPaidRetry": {
                      "type": "boolean"
                    },
                    "contentTypes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentJob": {
                      "type": "boolean"
                    },
                    "maxBytes": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxDurationSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxFrameDimension": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "items": {
                            "type": "integer"
                          },
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "maxImagesPerWindow": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxNativeFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxSampleFps": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxSampledFrames": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "maxWindowSeconds": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "maxWindows": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nativePolicyDisclosure": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "quoteUrl": {
                      "type": "string"
                    },
                    "requiredKeyServices": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "resultSchemaVersion": {
                      "type": "string"
                    },
                    "retentionDays": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "schemaVersion": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read current Voice Identity limits"
      }
    },
    "/v1/voice-identity/jobs": {
      "post": {
        "description": "Primary stages require uploadId and full-source duration. Faces also require libraryId. Derived stages require original parent job IDs. Use Idempotency-Key; retain the same state after interruption.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Admission"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Submit one durable Voice Identity operation"
      }
    },
    "/v1/voice-identity/jobs/{jobId}": {
      "get": {
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the original job state"
      }
    },
    "/v1/voice-identity/jobs/{jobId}/download": {
      "get": {
        "description": "Only allowlisted result and package files are signed. Nested archives follow customerProjection.v2. Private attachments and original native archives are not customer downloads.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Download the public result and portable review package"
      }
    },
    "/v1/voice-identity/jobs/{jobId}/result": {
      "get": {
        "description": "Typed native scores, similarities and heuristic support describe their specific decisions. Unavailable is explicit. Private native acceptance thresholds and vectors are not included. No support score is a calibrated probability unless explicitly labeled and documented as calibrated.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "jobId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobId": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "publicParents": {
                      "description": "Parent job IDs and SHA256 of exact delivered customer bytes.",
                      "type": "object"
                    },
                    "schemaVersion": {
                      "const": "myrograph.stageExport.v2"
                    },
                    "sourceSha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "stage": {
                      "const": "voice-identity"
                    },
                    "supportPolicyVersion": {
                      "type": "string"
                    },
                    "windows": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "words": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "jobId",
                    "sourceSha256"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "engineVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "jobId": {
                      "type": "string"
                    },
                    "projectionVersion": {
                      "type": "string"
                    },
                    "publicParents": {
                      "description": "Parent job IDs and SHA256 of exact delivered customer bytes.",
                      "type": "object"
                    },
                    "schemaVersion": {
                      "const": "myrograph.stageExport.v2"
                    },
                    "sourceSha256": {
                      "pattern": "^[a-f0-9]{64}$",
                      "type": "string"
                    },
                    "stage": {
                      "const": "voice-identity"
                    },
                    "supportPolicyVersion": {
                      "type": "string"
                    },
                    "windows": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "words": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "jobId",
                    "sourceSha256"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Read the versioned Voice Identity customer result"
      }
    },
    "/v1/voice-identity/quote": {
      "post": {
        "description": "A quote is an expiring scoped estimate. Only admission allocates analysis. Keep the exact quote/body after an uncertain admission; do not resubmit a replacement.",
        "parameters": [
          {
            "in": "header",
            "name": "X-Project-Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "durationSeconds": {
                    "type": "number"
                  },
                  "maxRetailUsd": {
                    "type": "number"
                  },
                  "runtimeProfile": {
                    "enum": [
                      "standard",
                      "extended"
                    ],
                    "type": "string"
                  },
                  "settings": {
                    "additionalProperties": false,
                    "properties": {
                      "characterJobId": {
                        "type": "string"
                      },
                      "endSeconds": {
                        "type": "number"
                      },
                      "frameRange": {
                        "description": "Face-only half-open source frame interval.",
                        "items": {
                          "type": "integer"
                        },
                        "maxItems": 2,
                        "minItems": 2,
                        "type": "array"
                      },
                      "keyframesOnly": {
                        "type": "boolean"
                      },
                      "maxFrameDimension": {
                        "type": "integer"
                      },
                      "prompt": {
                        "description": "Customer-authored question, distinct from private system instructions.",
                        "type": "string"
                      },
                      "question": {
                        "type": "string"
                      },
                      "sampleFps": {
                        "type": "number"
                      },
                      "startSeconds": {
                        "type": "number"
                      },
                      "windowSeconds": {
                        "type": "number"
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                },
                "required": [],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "currency": {
                      "const": "USD"
                    },
                    "expiresAtUnix": {
                      "type": "integer"
                    },
                    "maximumCreditHoldUsd": {
                      "type": "number"
                    },
                    "quoteId": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "myrograph.quote.v2"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "quoteId",
                    "expiresAtUnix",
                    "maximumCreditHoldUsd"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Successful public contract"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "currency": {
                      "const": "USD"
                    },
                    "expiresAtUnix": {
                      "type": "integer"
                    },
                    "maximumCreditHoldUsd": {
                      "type": "number"
                    },
                    "quoteId": {
                      "type": "string"
                    },
                    "schemaVersion": {
                      "const": "myrograph.quote.v2"
                    },
                    "stage": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "quoteId",
                    "expiresAtUnix",
                    "maximumCreditHoldUsd"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Existing package is preparing on the metadata queue; poll statusUrl, without new inference."
          },
          "400": {
            "description": "Invalid functional input"
          },
          "401": {
            "description": "Invalid key"
          },
          "403": {
            "description": "Scope/access denied"
          },
          "409": {
            "description": "Original state conflict, unavailable result, or stale revision; retain the operation"
          },
          "410": {
            "description": "Legacy direct-native/raw contract retired; use the public projection"
          },
          "503": {
            "description": "Temporarily unavailable; retain the original state"
          }
        },
        "summary": "Quote Voice Identity without creating analysis"
      }
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "servers": [
    {
      "url": "https://vibeedit.com"
    }
  ]
}
