{
  "openapi": "3.1.0",
  "info": {
    "title": "LegiChain V3 — api",
    "description": "LegiChain V3 regional API. Metadata uses API; applicant bytes use assigned compute; manual evidence uses media.",
    "version": "3.0.0"
  },
  "paths": {
    "/healthz/live": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Live",
        "operationId": "api_get_healthz_live",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiLive"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/healthz/ready": {
      "get": {
        "tags": [
          "health"
        ],
        "summary": "Ready",
        "operationId": "api_get_healthz_ready",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiReady"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/auth/login": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Login",
        "operationId": "api_post_v3_auth_login",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/CustomerLogin"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "mfa_required": {
                          "type": "boolean"
                        },
                        "method": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "mfa_required",
                        "method"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/me": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Me",
        "operationId": "api_get_v3_me",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerRegionAccess"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "user": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "email": {
                              "type": "string"
                            },
                            "home_region": {
                              "type": "string"
                            },
                            "platform_admin": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "email",
                            "home_region",
                            "platform_admin"
                          ],
                          "additionalProperties": true
                        },
                        "workspaces": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "org_id": {
                                "type": "string"
                              },
                              "region": {
                                "type": "string"
                              },
                              "environment": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "role": {
                                "type": "string"
                              },
                              "role_scope": {
                                "type": "string"
                              },
                              "organization_name": {
                                "type": "string"
                              },
                              "organization_owner": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "id",
                              "org_id",
                              "region",
                              "environment",
                              "name",
                              "role",
                              "role_scope",
                              "organization_name",
                              "organization_owner"
                            ],
                            "additionalProperties": true
                          }
                        }
                      },
                      "required": [
                        "user",
                        "workspaces"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/catalog": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Catalog",
        "operationId": "api_get_v3_catalog",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "plans": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerPlan"
                      }
                    },
                    "free_credits": {
                      "type": "object",
                      "properties": {
                        "amount": {
                          "type": "integer"
                        },
                        "frequency": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "amount",
                        "frequency"
                      ],
                      "additionalProperties": true
                    },
                    "pricing": {
                      "type": "object",
                      "properties": {
                        "catalog_version": {
                          "type": "string"
                        },
                        "full_onboarding_credits": {
                          "type": "integer"
                        },
                        "full_onboarding_products": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "available_optional_products": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "standalone_credits": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "retention_bands": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "above_years": {
                                "anyOf": [
                                  {
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "through_years": {
                                "type": "number"
                              },
                              "credits": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "above_years",
                              "through_years",
                              "credits"
                            ],
                            "additionalProperties": true
                          }
                        },
                        "retention_zero_hours": {
                          "type": "integer"
                        },
                        "dedicated_unit_monthly_usd": {
                          "type": "integer"
                        },
                        "named_operator_monthly_usd": {
                          "type": "integer"
                        },
                        "sales_quote_limits": {
                          "type": "object",
                          "properties": {
                            "monthly_sessions": {
                              "type": "integer"
                            },
                            "named_operator_accounts": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "monthly_sessions",
                            "named_operator_accounts"
                          ],
                          "additionalProperties": true
                        },
                        "topups": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "credits": {
                                "type": "integer"
                              },
                              "usd": {
                                "type": "integer"
                              }
                            },
                            "required": [
                              "credits",
                              "usd"
                            ],
                            "additionalProperties": true
                          }
                        }
                      },
                      "required": [
                        "catalog_version",
                        "full_onboarding_credits",
                        "full_onboarding_products",
                        "available_optional_products",
                        "standalone_credits",
                        "retention_bands",
                        "retention_zero_hours",
                        "dedicated_unit_monthly_usd",
                        "named_operator_monthly_usd",
                        "sales_quote_limits",
                        "topups"
                      ],
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "plans",
                    "free_credits",
                    "pricing"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/workspace": {
      "get": {
        "tags": [
          "workspace"
        ],
        "summary": "Workspace",
        "operationId": "api_get_v3_workspace",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "region": {
                      "type": "string"
                    },
                    "environment": {
                      "type": "string"
                    },
                    "organization": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "plan": {
                          "type": "string"
                        },
                        "owner_region": {
                          "type": "string"
                        },
                        "is_owner": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "plan",
                        "owner_region",
                        "is_owner"
                      ],
                      "additionalProperties": true
                    },
                    "compute_mode": {
                      "type": "string"
                    },
                    "retention_years": {
                      "type": "number"
                    },
                    "policy": {
                      "$ref": "#/components/schemas/CustomerPolicy"
                    },
                    "limits": {
                      "type": "object",
                      "properties": {
                        "concurrent_onboardings": {
                          "type": "integer"
                        },
                        "completion_per_minute_target": {
                          "type": "integer"
                        },
                        "completion_per_minute": {
                          "type": "integer"
                        },
                        "completion_target_measured": {
                          "type": "boolean"
                        },
                        "normal_rps": {
                          "type": "integer"
                        },
                        "named_seats": {
                          "type": "integer"
                        },
                        "scope": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "concurrent_onboardings",
                        "completion_per_minute_target",
                        "completion_per_minute",
                        "completion_target_measured",
                        "normal_rps",
                        "named_seats",
                        "scope"
                      ],
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "region",
                    "environment",
                    "organization",
                    "compute_mode",
                    "retention_years",
                    "policy",
                    "limits"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "patch": {
        "tags": [
          "workspace"
        ],
        "summary": "Workspace Update",
        "operationId": "api_patch_v3_workspace",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkspaceChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "applies_to": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "revision",
                    "applies_to"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/personas": {
      "post": {
        "tags": [
          "persona"
        ],
        "summary": "Persona Create",
        "operationId": "api_post_v3_personas",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PersonaRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "external_subject_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "external_subject_id"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "get": {
        "tags": [
          "persona"
        ],
        "summary": "Personas",
        "operationId": "api_get_v3_personas",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128,
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "created_from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created From"
            }
          },
          {
            "name": "created_until",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created Until"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "external_subject_id": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "audit_events": {
                            "type": "integer"
                          },
                          "latest_checks": {
                            "$ref": "#/components/schemas/CustomerLatestChecks"
                          }
                        },
                        "required": [
                          "id",
                          "external_subject_id",
                          "created_at",
                          "audit_events",
                          "latest_checks"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "total": {
                      "type": "integer"
                    },
                    "as_of": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "total",
                    "as_of"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/personas/{persona_id}": {
      "get": {
        "tags": [
          "persona"
        ],
        "summary": "Persona Detail",
        "operationId": "api_get_v3_personas_persona_id",
        "parameters": [
          {
            "name": "persona_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Persona Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "external_subject_id": {
                      "type": "string"
                    },
                    "latest_checks": {
                      "$ref": "#/components/schemas/CustomerLatestChecks"
                    },
                    "latest_kyc": {
                      "anyOf": [
                        {
                          "$ref": "#/components/schemas/CustomerSession"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "onboardings": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerSession"
                      }
                    }
                  },
                  "required": [
                    "id",
                    "external_subject_id",
                    "latest_checks",
                    "latest_kyc",
                    "onboardings"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/personas/{persona_id}/timeline": {
      "get": {
        "tags": [
          "persona"
        ],
        "summary": "Timeline",
        "operationId": "api_get_v3_personas_persona_id_timeline",
        "parameters": [
          {
            "name": "persona_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Persona Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "sequence": {
                            "type": "integer"
                          },
                          "type": {
                            "type": "string"
                          },
                          "payload": {
                            "type": "object",
                            "additionalProperties": {
                              "$ref": "#/components/schemas/CustomerJsonValue"
                            }
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "hash": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "sequence",
                          "type",
                          "payload",
                          "created_at",
                          "hash"
                        ],
                        "additionalProperties": true
                      }
                    }
                  },
                  "required": [
                    "events"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings": {
      "post": {
        "tags": [
          "onboarding"
        ],
        "summary": "Session Create",
        "operationId": "api_post_v3_onboardings",
        "parameters": [
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OnboardingRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Session created or idempotent replay. Processing is asynchronous; queue admission may be required.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerSession"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "session_token": {
                          "type": "string"
                        },
                        "queue": {
                          "anyOf": [
                            {
                              "$ref": "#/components/schemas/CustomerQueue"
                            },
                            {
                              "type": "object",
                              "properties": {
                                "state": {
                                  "const": "not_required",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "state"
                              ],
                              "additionalProperties": true
                            }
                          ]
                        }
                      },
                      "required": [
                        "session_token",
                        "queue"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      },
      "get": {
        "tags": [
          "onboarding"
        ],
        "summary": "Session List",
        "operationId": "api_get_v3_onboardings",
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 32,
              "default": "",
              "title": "State"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "product",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 32,
              "default": "",
              "title": "Product"
            }
          },
          {
            "name": "persona_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "Persona Id"
            }
          },
          {
            "name": "created_from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created From"
            }
          },
          {
            "name": "created_until",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created Until"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerSession"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "counts": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "as_of": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "total": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "counts",
                    "as_of",
                    "total"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}": {
      "get": {
        "tags": [
          "onboarding"
        ],
        "summary": "Session Status",
        "operationId": "api_get_v3_onboardings_onboarding_id",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSession"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/fraud": {
      "get": {
        "tags": [
          "onboarding"
        ],
        "summary": "Photo Fraud Status",
        "operationId": "api_get_v3_onboardings_onboarding_id_fraud",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Latest source-bound photo fraud job; retained detailed result requires pii:read. Enabled fraud gates the combined KYC decision and AI admission; the onboarding result.photo_fraud_gate describes the gate across all current required sources.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerPhotoFraud"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "pii:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/sdk-session": {
      "post": {
        "tags": [
          "onboarding"
        ],
        "summary": "Sdk Session",
        "operationId": "api_post_v3_onboardings_onboarding_id_sdk_session",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "onboarding_id": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "allowed_compute_origins": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "session_token": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "onboarding_id",
                    "expires_at",
                    "allowed_compute_origins",
                    "session_token"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/compute-origins": {
      "get": {
        "tags": [
          "admission"
        ],
        "summary": "Compute Origins",
        "operationId": "api_get_v3_onboardings_onboarding_id_compute_origins",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "allowed_compute_origins": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "allowed_compute_origins"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/queue": {
      "get": {
        "tags": [
          "admission"
        ],
        "summary": "Queue Status",
        "operationId": "api_get_v3_onboardings_onboarding_id_queue",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerQueue"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/claim": {
      "post": {
        "tags": [
          "admission"
        ],
        "summary": "Queue Claim",
        "operationId": "api_post_v3_onboardings_onboarding_id_claim",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerComputeAssignment"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/reconnect": {
      "post": {
        "tags": [
          "admission"
        ],
        "summary": "Reconnect",
        "operationId": "api_post_v3_onboardings_onboarding_id_reconnect",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/CustomerComputeAssignment"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "onboarding_id": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string"
                        },
                        "terminal": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "onboarding_id",
                        "state",
                        "terminal"
                      ],
                      "additionalProperties": true
                    },
                    {
                      "type": "object",
                      "properties": {
                        "onboarding_id": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string"
                        },
                        "manual_status_url": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "onboarding_id",
                        "state",
                        "manual_status_url"
                      ],
                      "additionalProperties": true
                    },
                    {
                      "type": "object",
                      "properties": {
                        "onboarding_id": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string"
                        },
                        "queue": {
                          "$ref": "#/components/schemas/CustomerQueue"
                        }
                      },
                      "required": [
                        "onboarding_id",
                        "state",
                        "queue"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/capture/restart": {
      "post": {
        "tags": [
          "onboarding"
        ],
        "summary": "Capture Restart",
        "operationId": "api_post_v3_onboardings_onboarding_id_capture_restart",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "name": "expected_revision",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Expected Revision"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerSession"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "retired_evidence": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "retired_evidence"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/events": {
      "get": {
        "tags": [
          "admission"
        ],
        "summary": "Queue Events",
        "operationId": "api_get_v3_onboardings_onboarding_id_events",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Server-sent events: connected/reconnect have empty JSON data; queue data follows CustomerQueueEvent. IDs are ephemeral revisions, not a durable replay cursor. The stream closes within 60 seconds; reconnect or poll queue status.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "headers": {
              "X-Accel-Buffering": {
                "schema": {
                  "type": "string",
                  "const": "no"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "x-sse-events": {
          "queue": {
            "$ref": "#/components/schemas/CustomerQueueEvent"
          },
          "connected": {
            "type": "object",
            "maxProperties": 0
          },
          "reconnect": {
            "type": "object",
            "maxProperties": 0
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/cancel": {
      "post": {
        "tags": [
          "onboarding"
        ],
        "summary": "Cancel",
        "operationId": "api_post_v3_onboardings_onboarding_id_cancel",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSession"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/retention/quote": {
      "post": {
        "tags": [
          "retention"
        ],
        "summary": "Retention Quote",
        "operationId": "api_post_v3_onboardings_onboarding_id_retention_quote",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetentionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerRetentionQuote"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "retention:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/retention": {
      "patch": {
        "tags": [
          "retention"
        ],
        "summary": "Retention Change",
        "operationId": "api_patch_v3_onboardings_onboarding_id_retention",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RetentionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerRetentionQuote"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "retention:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/evidence": {
      "get": {
        "tags": [
          "evidence"
        ],
        "summary": "Evidence List",
        "operationId": "api_get_v3_onboardings_onboarding_id_evidence",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer"
                          },
                          "content_type": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "original_kind": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "recapture_attempt": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "url": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "status",
                          "bytes",
                          "content_type",
                          "created_at",
                          "original_kind",
                          "recapture_attempt",
                          "url"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "pii:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/wallet": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Wallet",
        "operationId": "api_get_v3_billing_wallet",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerWallet"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/billing/ledger": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Ledger",
        "operationId": "api_get_v3_billing_ledger",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerLedger"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/api-keys": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Key Create",
        "operationId": "api_post_v3_api_keys",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "prefix": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "id",
                    "key",
                    "prefix",
                    "expires_at"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "keys:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Keys",
        "operationId": "api_get_v3_api_keys",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128,
              "default": "",
              "title": "Q"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "prefix": {
                            "type": "string"
                          },
                          "permissions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "expires_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "revoked": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "prefix",
                          "permissions",
                          "expires_at",
                          "revoked"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "total": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "total"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "keys:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/api-keys/{key_id}": {
      "delete": {
        "tags": [
          "access"
        ],
        "summary": "Key Revoke",
        "operationId": "api_delete_v3_api_keys_key_id",
        "parameters": [
          {
            "name": "key_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "revoked": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "revoked"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "keys:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/activity": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Activity",
        "operationId": "api_get_v3_billing_activity",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 512,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "pattern": "^([a-z][a-z0-9_]*)?$",
              "default": "",
              "title": "Reason"
            }
          },
          {
            "name": "reference",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "pattern": "^[a-zA-Z0-9_-]*$",
              "default": "",
              "title": "Reference"
            }
          },
          {
            "name": "created_from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created From"
            }
          },
          {
            "name": "created_until",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created Until"
            }
          },
          {
            "name": "origin_region",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^(tr|eu|global)?$",
              "default": "",
              "title": "Origin Region"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerLedger"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/activity/export.csv": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Export Activity",
        "operationId": "api_get_v3_billing_activity_export_csv",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 512,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 1000,
              "minimum": 1,
              "default": 1000,
              "title": "Limit"
            }
          },
          {
            "name": "reason",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "pattern": "^([a-z][a-z0-9_]*)?$",
              "default": "",
              "title": "Reason"
            }
          },
          {
            "name": "reference",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "pattern": "^[a-zA-Z0-9_-]*$",
              "default": "",
              "title": "Reference"
            }
          },
          {
            "name": "created_from",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created From"
            }
          },
          {
            "name": "created_until",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date-time"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created Until"
            }
          },
          {
            "name": "origin_region",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^(tr|eu|global)?$",
              "default": "",
              "title": "Origin Region"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Export-Truncated": {
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "X-Export-Count": {
                "schema": {
                  "type": "integer"
                }
              },
              "X-Next-Cursor": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/usage": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Usage",
        "operationId": "api_get_v3_billing_usage",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 90,
              "minimum": 1,
              "default": 30,
              "title": "Days"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "workspace_id": {
                      "type": "string"
                    },
                    "region": {
                      "type": "string"
                    },
                    "days": {
                      "type": "integer"
                    },
                    "timezone": {
                      "type": "string"
                    },
                    "daily": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "day": {
                            "type": "string",
                            "format": "date"
                          },
                          "sessions": {
                            "type": "integer"
                          },
                          "billed_sessions": {
                            "type": "integer"
                          },
                          "credits": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "sessions",
                          "billed_sessions",
                          "credits"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "products": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "product": {
                            "type": "string"
                          },
                          "sessions": {
                            "type": "integer"
                          },
                          "billed_sessions": {
                            "type": "integer"
                          },
                          "credits": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "product",
                          "sessions",
                          "billed_sessions",
                          "credits"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "credits": {
                      "type": "integer"
                    },
                    "average_daily_credits": {
                      "type": "number"
                    },
                    "scope": {
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "workspace_id",
                    "region",
                    "days",
                    "timezone",
                    "daily",
                    "products",
                    "credits",
                    "average_daily_credits",
                    "scope",
                    "note"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/orders": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Orders",
        "operationId": "api_get_v3_billing_orders",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "sku": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "amount_cents": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "paid_at": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "error_code": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "sku",
                          "state",
                          "amount_cents",
                          "currency",
                          "created_at",
                          "paid_at",
                          "error_code"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "available": {
                      "type": "boolean"
                    },
                    "owner_region": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "available",
                    "owner_region"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/invoices": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Invoices",
        "operationId": "api_get_v3_billing_invoices",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "number": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "status": {
                            "type": "string"
                          },
                          "currency": {
                            "type": "string"
                          },
                          "amount_due": {
                            "type": "integer"
                          },
                          "amount_paid": {
                            "type": "integer"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "url": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "pdf_url": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "number",
                          "status",
                          "currency",
                          "amount_due",
                          "amount_paid",
                          "created_at",
                          "url",
                          "pdf_url"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "enabled": {
                      "type": "boolean"
                    },
                    "owner_region": {
                      "type": "string"
                    },
                    "portal_available": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "enabled",
                    "owner_region"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/customer-portal": {
      "post": {
        "tags": [
          "billing"
        ],
        "summary": "Portal",
        "operationId": "api_post_v3_billing_customer_portal",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/billing/payment-options": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Payment Options",
        "operationId": "api_get_v3_billing_payment_options",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "owner_region": {
                      "type": "string"
                    },
                    "plans": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "sku": {
                            "type": "string"
                          },
                          "monthly_usd": {
                            "type": "integer"
                          },
                          "credits": {
                            "type": "integer"
                          },
                          "configured": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "sku",
                          "monthly_usd",
                          "credits",
                          "configured"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "topups": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "sku": {
                            "type": "string"
                          },
                          "usd": {
                            "type": "integer"
                          },
                          "credits": {
                            "type": "integer"
                          },
                          "configured": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "sku",
                          "usd",
                          "credits",
                          "configured"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "subscription": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "plan_code": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            },
                            "cancel_at_period_end_requested": {
                              "type": "boolean"
                            },
                            "cancellation_sent_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "cancellation_attempts": {
                              "type": "integer"
                            },
                            "cancellation_retry_at": {
                              "anyOf": [
                                {
                                  "type": "string",
                                  "format": "date-time"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "cancellation_error_code": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "plan_code",
                            "status",
                            "cancel_at_period_end_requested",
                            "cancellation_sent_at",
                            "cancellation_attempts",
                            "cancellation_retry_at",
                            "cancellation_error_code"
                          ],
                          "additionalProperties": true
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "plan_change_effective": {
                      "type": "string"
                    },
                    "dedicated_self_service": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "enabled",
                    "owner_region",
                    "plans",
                    "topups",
                    "subscription",
                    "plan_change_effective",
                    "dedicated_self_service"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/billing/checkout": {
      "post": {
        "tags": [
          "billing"
        ],
        "summary": "Checkout",
        "operationId": "api_post_v3_billing_checkout",
        "parameters": [
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckoutRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCheckout"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/checkout/{order_id}": {
      "get": {
        "tags": [
          "billing"
        ],
        "summary": "Checkout Status",
        "operationId": "api_get_v3_billing_checkout_order_id",
        "parameters": [
          {
            "name": "order_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Order Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCheckout"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/billing/subscription/cancel": {
      "post": {
        "tags": [
          "billing"
        ],
        "summary": "Cancel",
        "operationId": "api_post_v3_billing_subscription_cancel",
        "parameters": [
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "existing_credit_lots_unchanged": {
                      "type": "boolean"
                    },
                    "effective": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "existing_credit_lots_unchanged"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/compute/dedicated": {
      "get": {
        "tags": [
          "compute"
        ],
        "summary": "Customer Resources",
        "operationId": "api_get_v3_compute_dedicated",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "region": {
                            "type": "string"
                          },
                          "profile_id": {
                            "type": "string"
                          },
                          "available": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "state",
                          "region",
                          "profile_id",
                          "available"
                        ],
                        "additionalProperties": true
                      }
                    }
                  },
                  "required": [
                    "items"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/onboardings/{onboarding_id}/manual/join": {
      "post": {
        "tags": [
          "manual"
        ],
        "summary": "Join",
        "operationId": "api_post_v3_onboardings_onboarding_id_manual_join",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpsManualCall"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/manual": {
      "get": {
        "tags": [
          "manual"
        ],
        "summary": "Applicant Status",
        "operationId": "api_get_v3_onboardings_onboarding_id_manual",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "recording_status": {
                      "type": "string"
                    },
                    "interview_locale": {
                      "type": "string"
                    },
                    "position": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expires_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "media": {
                      "$ref": "#/components/schemas/OpsLiveKitParticipant"
                    }
                  },
                  "required": [
                    "id",
                    "state",
                    "recording_status",
                    "interview_locale",
                    "position",
                    "expires_at"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          },
          {
            "SdkSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/quote": {
      "post": {
        "tags": [
          "onboarding"
        ],
        "summary": "Session Quote",
        "operationId": "api_post_v3_onboardings_quote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SelectionQuoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerQuote"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "onboarding:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/members": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Members",
        "operationId": "api_get_v3_members",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128,
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "user_id": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "display_name": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "seat": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string"
                                  },
                                  "availability": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "availability"
                                ],
                                "additionalProperties": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "user_id",
                          "email",
                          "display_name",
                          "role",
                          "enabled",
                          "seat"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "total": {
                      "type": "integer"
                    },
                    "active_count": {
                      "type": "integer"
                    },
                    "active_seat_count": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "total",
                    "active_count",
                    "active_seat_count"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer"
      },
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Member Create",
        "operationId": "api_post_v3_members",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberCreate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/CustomerInvitation"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "user_id": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "user_id",
                        "status"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/members/{membership_id}": {
      "patch": {
        "tags": [
          "access"
        ],
        "summary": "Member Update",
        "operationId": "api_patch_v3_members_membership_id",
        "parameters": [
          {
            "name": "membership_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Membership Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberChange"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "role": {
                      "type": "string"
                    },
                    "enabled": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "id",
                    "role",
                    "enabled"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/audit": {
      "get": {
        "tags": [
          "workspace"
        ],
        "summary": "Audit List",
        "operationId": "api_get_v3_audit",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "event",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Event"
            }
          },
          {
            "name": "persona_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Persona Id"
            }
          },
          {
            "name": "onboarding_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerAuditEvent"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/flow-templates": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Templates",
        "operationId": "api_get_v3_flow_templates",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerFlowTemplate"
                      }
                    },
                    "selected": {
                      "anyOf": [
                        {
                          "$ref": "#/components/schemas/CustomerFlowSelection"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "active_standard": {
                      "type": "boolean"
                    },
                    "can_select": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "version",
                    "items",
                    "selected",
                    "active_standard",
                    "can_select"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/flows/standard-selection": {
      "post": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Standard Selection",
        "operationId": "api_post_v3_flows_standard_selection",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StandardSelection"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerFlowSelection"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "applies_to": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "applies_to"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "flow:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/flows": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Flows",
        "operationId": "api_get_v3_flows",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "editable": {
                      "type": "boolean"
                    },
                    "active_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "standard": {
                      "$ref": "#/components/schemas/CustomerFlowDefinition"
                    },
                    "selected_standard": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "template_id": {
                              "type": "string"
                            },
                            "voice_gender": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "template_id",
                            "voice_gender"
                          ],
                          "additionalProperties": true
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "standard_id": {
                      "type": "string"
                    },
                    "standard_name": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "standard_description": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "supported_locales": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "prompt_audio_ready": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "boolean"
                      }
                    },
                    "active": {
                      "anyOf": [
                        {
                          "$ref": "#/components/schemas/CustomerFlow"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerFlow"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "editable",
                    "active_id",
                    "standard",
                    "selected_standard",
                    "standard_id",
                    "standard_name",
                    "standard_description",
                    "supported_locales",
                    "prompt_audio_ready",
                    "active",
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer"
      },
      "post": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Save",
        "operationId": "api_post_v3_flows",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FlowDefinition"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "version": {
                      "type": "integer"
                    },
                    "status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "version",
                    "status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "flow:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/flows/{flow_id}": {
      "patch": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Update",
        "operationId": "api_patch_v3_flows_flow_id",
        "parameters": [
          {
            "name": "flow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Flow Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FlowDefinition"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "version": {
                      "type": "integer"
                    },
                    "status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "version",
                    "status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "flow:write"
        ],
        "x-audience": "customer"
      },
      "delete": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Delete",
        "operationId": "api_delete_v3_flows_flow_id",
        "parameters": [
          {
            "name": "flow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Flow Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "deleted"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "flow:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/flows/{flow_id}/audio/{step_id}": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Audio Preview",
        "operationId": "api_get_v3_flows_flow_id_audio_step_id",
        "parameters": [
          {
            "name": "flow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Flow Id"
            }
          },
          {
            "name": "step_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Step Id"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "tr-TR",
                    "en-US",
                    "de-DE",
                    "es-ES",
                    "it-IT"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Locale"
            }
          },
          {
            "name": "download",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Download"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "audio/wav": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "type": "integer"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/flows/{flow_id}/publish": {
      "post": {
        "tags": [
          "flow"
        ],
        "summary": "Flow Publish",
        "operationId": "api_post_v3_flows_flow_id_publish",
        "parameters": [
          {
            "name": "flow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Flow Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Publication may await audio generation; inspect flow audio_job/audio_ready before use.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "applies_to": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "flow:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/flow-tools/catalog": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Catalogue",
        "operationId": "api_get_v3_flow_tools_catalog",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "fields": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "label_key": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          },
                          "source_requirement": {
                            "type": "string"
                          },
                          "requires_verified_kyc": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "id",
                          "label_key",
                          "type",
                          "source_requirement",
                          "requires_verified_kyc"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "response_intents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "examples": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "examples"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "feedback_defaults": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "feedback_by_field": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "locales": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "limits": {
                      "type": "object",
                      "properties": {
                        "max_steps": {
                          "type": "integer"
                        },
                        "max_clip_seconds": {
                          "type": "integer"
                        },
                        "max_speech_seconds": {
                          "type": "integer"
                        },
                        "max_speech_attempts": {
                          "type": "integer"
                        },
                        "max_custom_words": {
                          "type": "integer"
                        },
                        "max_custom_characters": {
                          "type": "integer"
                        },
                        "max_custom_variants": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "max_steps",
                        "max_clip_seconds",
                        "max_speech_seconds",
                        "max_speech_attempts",
                        "max_custom_words",
                        "max_custom_characters",
                        "max_custom_variants"
                      ],
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "fields",
                    "response_intents",
                    "feedback_defaults",
                    "feedback_by_field",
                    "locales",
                    "limits"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/flow-tools/voices": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Voices",
        "operationId": "api_get_v3_flow_tools_voices",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerVoice"
                      }
                    },
                    "provider_configured": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "items",
                    "provider_configured"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/flow-tools/audio-rights": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Allowance",
        "operationId": "api_get_v3_flow_tools_audio_rights",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer"
                    },
                    "reserved": {
                      "type": "integer"
                    },
                    "remaining": {
                      "type": "integer"
                    },
                    "eligible": {
                      "type": "boolean"
                    },
                    "owner_region": {
                      "type": "string"
                    },
                    "grant_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "provider_configured": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "total",
                    "reserved",
                    "remaining",
                    "eligible",
                    "owner_region",
                    "grant_id",
                    "provider_configured"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/flows/{flow_id}/voice": {
      "patch": {
        "tags": [
          "flow"
        ],
        "summary": "Choose Voice",
        "operationId": "api_patch_v3_flows_flow_id_voice",
        "parameters": [
          {
            "name": "flow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Flow Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VoiceSelection"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "voice_ids": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "voice_labels": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "voice_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "voice_label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "voice_ids",
                    "voice_labels",
                    "voice_id",
                    "voice_label"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "flow:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/flows/{flow_id}/audio-package": {
      "get": {
        "tags": [
          "flow"
        ],
        "summary": "Audio Package",
        "operationId": "api_get_v3_flows_flow_id_audio_package",
        "parameters": [
          {
            "name": "flow_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Flow Id"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "enum": [
                    "tr-TR",
                    "en-US",
                    "de-DE",
                    "es-ES",
                    "it-IT"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Locale"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Length": {
                "schema": {
                  "type": "integer"
                }
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/products/wallet-capabilities": {
      "get": {
        "tags": [
          "products"
        ],
        "summary": "Wallet Capabilities",
        "operationId": "api_get_v3_products_wallet_capabilities",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "default_depth": {
                      "type": "integer"
                    },
                    "depths": {
                      "type": "array",
                      "items": {
                        "type": "integer"
                      }
                    },
                    "networks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chain": {
                            "type": "string"
                          },
                          "configured": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "chain",
                          "configured"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "exact_list_screening": {
                      "type": "boolean"
                    },
                    "corpus_ready": {
                      "type": "boolean"
                    },
                    "corpus_reason": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "default_depth",
                    "depths",
                    "networks",
                    "exact_list_screening",
                    "corpus_ready",
                    "corpus_reason"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/products/quote": {
      "post": {
        "tags": [
          "products"
        ],
        "summary": "Quote",
        "operationId": "api_post_v3_products_quote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerQuote"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/products": {
      "post": {
        "tags": [
          "products"
        ],
        "summary": "Create",
        "operationId": "api_post_v3_products",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Product accepted for asynchronous processing; use its ID to retrieve the result.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "persona_id": {
                      "type": "string"
                    },
                    "onboarding_id": {
                      "type": "string"
                    },
                    "product": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "session_token": {
                      "type": "string"
                    },
                    "queue": {
                      "$ref": "#/components/schemas/CustomerQueue"
                    }
                  },
                  "required": [
                    "id",
                    "persona_id",
                    "onboarding_id",
                    "product",
                    "status",
                    "session_token"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      },
      "get": {
        "tags": [
          "products"
        ],
        "summary": "Listing",
        "operationId": "api_get_v3_products",
        "parameters": [
          {
            "name": "persona_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Persona Id"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 50,
              "title": "Limit"
            }
          },
          {
            "name": "pii",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Pii"
            }
          },
          {
            "name": "product",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Product"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "State"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerProduct"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/products/export.csv": {
      "get": {
        "tags": [
          "products"
        ],
        "summary": "Export",
        "description": "Download one bounded metadata page; reuse X-Next-Cursor as after with the same filters.",
        "operationId": "api_get_v3_products_export_csv",
        "parameters": [
          {
            "name": "persona_id",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 64
                },
                {
                  "type": "null"
                }
              ],
              "title": "Persona Id"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 64
                },
                {
                  "type": "null"
                }
              ],
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "product",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 32,
              "default": "",
              "title": "Product"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 32,
              "default": "",
              "title": "State"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One CSV metadata page, default 40 rows and maximum 100. Continue with after=X-Next-Cursor and unchanged persona/product/state filters until that response header is empty. X-Export-Count is the number of data rows, excluding the CSV header. No applicant evidence is exported.",
            "content": {
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "Attachment filename when downloading."
              },
              "X-Next-Cursor": {
                "schema": {
                  "type": "string"
                },
                "description": "Opaque continuation cursor; empty string means this filtered export is complete."
              },
              "X-Export-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "Number of data rows in this CSV page."
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/products/{product_id}": {
      "get": {
        "tags": [
          "products"
        ],
        "summary": "Product Detail",
        "operationId": "api_get_v3_products_product_id",
        "parameters": [
          {
            "name": "product_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Product Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerProduct"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "session": {
                          "$ref": "#/components/schemas/CustomerSession"
                        },
                        "completed_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "data_available": {
                          "type": "boolean"
                        },
                        "input": {
                          "type": "object",
                          "additionalProperties": {
                            "$ref": "#/components/schemas/CustomerJsonValue"
                          }
                        }
                      },
                      "required": [
                        "session",
                        "completed_at",
                        "data_available"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/report": {
      "post": {
        "tags": [
          "reports"
        ],
        "summary": "Report",
        "operationId": "api_post_v3_onboardings_onboarding_id_report",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Report job accepted; the report link returns report_not_ready until archival is complete.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "job_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "job_id",
                    "status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "pii:read"
        ],
        "x-audience": "customer"
      },
      "get": {
        "tags": [
          "reports"
        ],
        "summary": "Report Link",
        "operationId": "api_get_v3_onboardings_onboarding_id_report",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "expires_in": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "url",
                    "expires_in"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "pii:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/webhooks": {
      "post": {
        "tags": [
          "webhooks"
        ],
        "summary": "Endpoint",
        "operationId": "api_post_v3_webhooks",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EndpointRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "secret": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "events",
                    "secret"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Endpoints",
        "operationId": "api_get_v3_webhooks",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128,
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "revision": {
                            "type": "integer"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "url",
                          "events",
                          "enabled",
                          "revision",
                          "created_at"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "supported_events": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "maximum_enabled": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "supported_events",
                    "maximum_enabled"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/webhooks/{endpoint_id}": {
      "delete": {
        "tags": [
          "webhooks"
        ],
        "summary": "Disable",
        "operationId": "api_delete_v3_webhooks_endpoint_id",
        "parameters": [
          {
            "name": "endpoint_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Endpoint Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "disabled": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "disabled"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      },
      "patch": {
        "tags": [
          "webhooks"
        ],
        "summary": "Update Endpoint",
        "operationId": "api_patch_v3_webhooks_endpoint_id",
        "parameters": [
          {
            "name": "endpoint_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Endpoint Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EndpointChange"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "enabled": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "id",
                    "revision",
                    "enabled"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/webhooks/{endpoint_id}/rotate-secret": {
      "post": {
        "tags": [
          "webhooks"
        ],
        "summary": "Rotate Endpoint",
        "operationId": "api_post_v3_webhooks_endpoint_id_rotate_secret",
        "parameters": [
          {
            "name": "endpoint_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Endpoint Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "secret": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "revision",
                    "secret"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/webhooks/deliveries": {
      "get": {
        "tags": [
          "webhooks"
        ],
        "summary": "Deliveries",
        "operationId": "api_get_v3_webhooks_deliveries",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "State"
            }
          },
          {
            "name": "endpoint_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Endpoint Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "event_id": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "attempts": {
                            "type": "integer"
                          },
                          "endpoint_id": {
                            "type": "string"
                          },
                          "available_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "event_type": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "resource_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "status_code": {
                            "anyOf": [
                              {
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "error_code": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "event_id",
                          "state",
                          "attempts",
                          "endpoint_id",
                          "available_at",
                          "event_type",
                          "resource_id",
                          "status_code",
                          "error_code"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/webhooks/deliveries/{delivery_id}/replay": {
      "post": {
        "tags": [
          "webhooks"
        ],
        "summary": "Replay",
        "operationId": "api_post_v3_webhooks_deliveries_delivery_id_replay",
        "parameters": [
          {
            "name": "delivery_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Delivery Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "state"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/workspace/audit": {
      "get": {
        "tags": [
          "workspace"
        ],
        "summary": "History",
        "operationId": "api_get_v3_workspace_audit",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "event",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "Event"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "actor_id": {
                            "type": "string"
                          },
                          "target_id": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "scope": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "changes": {
                            "type": "object",
                            "additionalProperties": {
                              "$ref": "#/components/schemas/CustomerJsonValue"
                            }
                          }
                        },
                        "required": [
                          "id",
                          "action",
                          "actor_id",
                          "target_id",
                          "scope",
                          "created_at",
                          "changes"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/auth/discovery": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Account Discovery",
        "operationId": "api_get_v3_auth_discovery",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "account_region": {
                      "type": "string"
                    },
                    "api_url": {
                      "type": "string"
                    },
                    "routing": {
                      "type": "string"
                    },
                    "processing_regions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "region": {
                            "type": "string"
                          },
                          "api_url": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "region",
                          "api_url"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "credential_forwarding": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "account_region",
                    "api_url",
                    "routing",
                    "processing_regions",
                    "credential_forwarding"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/invitations": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Invitation List",
        "operationId": "api_get_v3_invitations",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Q"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          },
                          "expires_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "email",
                          "role",
                          "expires_at",
                          "status"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer"
      },
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Invitation",
        "operationId": "api_post_v3_invitations",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvitationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerInvitation"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/invitations/register": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Invitation Register",
        "operationId": "api_post_v3_invitations_register",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InvitationRegistration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerLogin"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "invitation_pending": {
                          "type": "boolean"
                        },
                        "invitation_region": {
                          "type": "string"
                        }
                      },
                      "required": [],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/invitations/accept": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Invitation Accept",
        "operationId": "api_post_v3_invitations_accept",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SecretRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "workspace_id": {
                      "type": "string"
                    },
                    "membership_id": {
                      "type": "string"
                    },
                    "accepted": {
                      "type": "boolean"
                    },
                    "region": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "workspace_id",
                    "membership_id",
                    "accepted"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/invitations/{invitation_id}": {
      "delete": {
        "tags": [
          "access"
        ],
        "summary": "Invitation Revoke",
        "operationId": "api_delete_v3_invitations_invitation_id",
        "parameters": [
          {
            "name": "invitation_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Invitation Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "revoked": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "revoked"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "members:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/auth/password": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Password",
        "operationId": "api_post_v3_auth_password",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "changed": {
                      "type": "boolean"
                    },
                    "sign_in_required": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "changed",
                    "sign_in_required"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/logout": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Logout",
        "operationId": "api_post_v3_auth_logout",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "revoked_local_sessions": {
                          "type": "boolean"
                        },
                        "home_logout_required": {
                          "type": "boolean"
                        },
                        "home_region": {
                          "type": "string"
                        },
                        "remote_max_remaining_seconds": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "revoked_local_sessions",
                        "home_logout_required",
                        "home_region",
                        "remote_max_remaining_seconds"
                      ],
                      "additionalProperties": true
                    },
                    {
                      "type": "object",
                      "properties": {
                        "revoked_local_sessions": {
                          "type": "boolean"
                        },
                        "regional_revocations": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "region": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "region",
                              "status"
                            ],
                            "additionalProperties": true
                          }
                        },
                        "remote_max_remaining_seconds": {
                          "type": "integer"
                        },
                        "revoked_at": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "required": [
                        "revoked_local_sessions",
                        "regional_revocations",
                        "remote_max_remaining_seconds",
                        "revoked_at"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/regions": {
      "get": {
        "tags": [
          "workspace"
        ],
        "summary": "Regions",
        "operationId": "api_get_v3_regions",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerRegionAccess"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "current": {
                          "type": "string"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "region": {
                                "type": "string"
                              },
                              "api_url": {
                                "type": "string"
                              },
                              "scope": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "region",
                              "api_url",
                              "scope"
                            ],
                            "additionalProperties": true
                          }
                        },
                        "workspaces": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "org_id": {
                                "type": "string"
                              },
                              "region": {
                                "type": "string"
                              },
                              "environment": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "org_id",
                              "region",
                              "environment",
                              "status"
                            ],
                            "additionalProperties": true
                          }
                        }
                      },
                      "required": [
                        "current",
                        "regions",
                        "workspaces"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/region-ticket": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Region Ticket",
        "operationId": "api_post_v3_auth_region_ticket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ticket": {
                      "type": "string"
                    },
                    "api_url": {
                      "type": "string"
                    },
                    "expires_in": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "ticket",
                    "api_url",
                    "expires_in"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/region-exchange": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Exchange",
        "operationId": "api_post_v3_auth_region_exchange",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "token_type": {
                      "type": "string"
                    },
                    "expires_in": {
                      "type": "integer"
                    },
                    "home_region": {
                      "type": "string"
                    },
                    "account_region": {
                      "type": "string"
                    },
                    "native_email_collision": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "access_token",
                    "token_type",
                    "expires_in",
                    "home_region",
                    "account_region",
                    "native_email_collision"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "signed-body",
        "x-authentication-description": "The request body carries a verified, audience-bound regional ticket or signed finance envelope; no anonymous operation is performed.",
        "x-audience": "customer"
      }
    },
    "/v3/organization/regions": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "Create Region",
        "operationId": "api_post_v3_organization_regions",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/notifications": {
      "patch": {
        "tags": [
          "access"
        ],
        "summary": "Preferences",
        "operationId": "api_patch_v3_auth_notifications",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationPreferences"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "saved": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "saved"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "get": {
        "tags": [
          "access"
        ],
        "summary": "History",
        "operationId": "api_get_v3_auth_notifications",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "kind": {
                            "type": "string"
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "state": {
                            "type": "string"
                          },
                          "attempts": {
                            "type": "integer"
                          },
                          "error_code": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "kind",
                          "created_at",
                          "state",
                          "attempts",
                          "error_code"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer"
      }
    },
    "/v3/auth/options": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Options",
        "operationId": "api_get_v3_auth_options",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "registration_enabled": {
                      "type": "boolean"
                    },
                    "email_delivery": {
                      "type": "string"
                    },
                    "mfa": {
                      "type": "string"
                    },
                    "region": {
                      "type": "string"
                    },
                    "account_region": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "registration_enabled",
                    "email_delivery",
                    "mfa",
                    "region",
                    "account_region"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/auth/register": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Register",
        "operationId": "api_post_v3_auth_register",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Signup"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accepted": {
                      "type": "boolean"
                    },
                    "email_delivery": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "accepted",
                    "email_delivery"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/auth/verify-email": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Verify Email",
        "operationId": "api_post_v3_auth_verify_email",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "verified": {
                      "type": "boolean"
                    },
                    "sign_in_required": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "verified",
                    "sign_in_required"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/auth/verify-email/resend": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Resend",
        "operationId": "api_post_v3_auth_verify_email_resend",
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accepted": {
                      "type": "boolean"
                    },
                    "email_delivery": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "accepted",
                    "email_delivery"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/forgot-password": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Forgot",
        "operationId": "api_post_v3_auth_forgot_password",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accepted": {
                      "type": "boolean"
                    },
                    "email_delivery": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "accepted",
                    "email_delivery"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/auth/reset-password": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Reset",
        "operationId": "api_post_v3_auth_reset_password",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "changed": {
                      "type": "boolean"
                    },
                    "sign_in_required": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "changed",
                    "sign_in_required"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/auth/security": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "State",
        "operationId": "api_get_v3_auth_security",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string"
                    },
                    "display_name": {
                      "type": "string"
                    },
                    "home_region": {
                      "type": "string"
                    },
                    "email_verified": {
                      "type": "boolean"
                    },
                    "mfa_enabled": {
                      "type": "boolean"
                    },
                    "recovery_codes_remaining": {
                      "type": "integer"
                    },
                    "notification_preferences": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "boolean"
                      }
                    },
                    "email_delivery": {
                      "type": "string"
                    },
                    "low_balance_threshold": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "email",
                    "display_name",
                    "home_region",
                    "email_verified",
                    "mfa_enabled",
                    "recovery_codes_remaining",
                    "notification_preferences",
                    "email_delivery",
                    "low_balance_threshold"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/profile": {
      "patch": {
        "tags": [
          "access"
        ],
        "summary": "Profile",
        "operationId": "api_patch_v3_auth_profile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProfileInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "saved": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "saved"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/mfa/setup": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Mfa Setup",
        "operationId": "api_post_v3_auth_mfa_setup",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FactorInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "secret": {
                      "type": "string"
                    },
                    "provisioning_uri": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "secret",
                    "provisioning_uri"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/mfa/confirm": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Mfa Confirm",
        "operationId": "api_post_v3_auth_mfa_confirm",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmFactor"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "recovery_codes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "sign_in_required": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "enabled",
                    "recovery_codes",
                    "sign_in_required"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/auth/mfa/disable": {
      "post": {
        "tags": [
          "access"
        ],
        "summary": "Mfa Disable",
        "operationId": "api_post_v3_auth_mfa_disable",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FactorInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "disabled": {
                      "type": "boolean"
                    },
                    "sign_in_required": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "disabled",
                    "sign_in_required"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/organization/profile": {
      "get": {
        "tags": [
          "workspace"
        ],
        "summary": "Read",
        "operationId": "api_get_v3_organization_profile",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "organization_id": {
                      "type": "string"
                    },
                    "organization_name": {
                      "type": "string"
                    },
                    "owner_region": {
                      "type": "string"
                    },
                    "available": {
                      "type": "boolean"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "profile": {
                      "type": "object",
                      "properties": {
                        "legal_name": {
                          "type": "string"
                        },
                        "address": {
                          "type": "string"
                        },
                        "contact_email": {
                          "type": "string"
                        },
                        "contact_phone": {
                          "type": "string"
                        },
                        "tax_id": {
                          "type": "string"
                        },
                        "registration_number": {
                          "type": "string"
                        },
                        "country": {
                          "type": "string"
                        }
                      },
                      "required": [],
                      "additionalProperties": true
                    },
                    "updated_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "organization_id",
                    "organization_name",
                    "owner_region",
                    "available",
                    "revision",
                    "profile",
                    "updated_at"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "patch": {
        "tags": [
          "workspace"
        ],
        "summary": "Update",
        "operationId": "api_patch_v3_organization_profile",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyProfileChange"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "organization_id": {
                      "type": "string"
                    },
                    "organization_name": {
                      "type": "string"
                    },
                    "owner_region": {
                      "type": "string"
                    },
                    "available": {
                      "type": "boolean"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "profile": {
                      "type": "object",
                      "properties": {
                        "legal_name": {
                          "type": "string"
                        },
                        "address": {
                          "type": "string"
                        },
                        "contact_email": {
                          "type": "string"
                        },
                        "contact_phone": {
                          "type": "string"
                        },
                        "tax_id": {
                          "type": "string"
                        },
                        "registration_number": {
                          "type": "string"
                        },
                        "country": {
                          "type": "string"
                        }
                      },
                      "required": [],
                      "additionalProperties": true
                    },
                    "updated_at": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "organization_id",
                    "organization_name",
                    "owner_region",
                    "available",
                    "revision",
                    "profile",
                    "updated_at"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "billing:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/integrations/usage": {
      "get": {
        "tags": [
          "access"
        ],
        "summary": "Usage",
        "operationId": "api_get_v3_integrations_usage",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 90,
              "minimum": 1,
              "default": 30,
              "title": "Days"
            }
          },
          {
            "name": "key_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "Key Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "region": {
                      "type": "string"
                    },
                    "workspace_id": {
                      "type": "string"
                    },
                    "days": {
                      "type": "integer"
                    },
                    "timezone": {
                      "type": "string"
                    },
                    "as_of": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "totals": {
                      "type": "object",
                      "properties": {
                        "requests": {
                          "type": "integer"
                        },
                        "succeeded": {
                          "type": "integer"
                        },
                        "client_errors": {
                          "type": "integer"
                        },
                        "server_errors": {
                          "type": "integer"
                        },
                        "rate_limited": {
                          "type": "integer"
                        },
                        "duration_ms": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "requests",
                        "succeeded",
                        "client_errors",
                        "server_errors",
                        "rate_limited",
                        "duration_ms"
                      ],
                      "additionalProperties": true
                    },
                    "daily": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "day": {
                            "type": "string",
                            "format": "date"
                          },
                          "requests": {
                            "type": "integer"
                          },
                          "succeeded": {
                            "type": "integer"
                          },
                          "client_errors": {
                            "type": "integer"
                          },
                          "server_errors": {
                            "type": "integer"
                          },
                          "rate_limited": {
                            "type": "integer"
                          },
                          "duration_ms": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "day",
                          "requests",
                          "succeeded",
                          "client_errors",
                          "server_errors",
                          "rate_limited",
                          "duration_ms"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "keys": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "prefix": {
                            "type": "string"
                          },
                          "requests": {
                            "type": "integer"
                          },
                          "succeeded": {
                            "type": "integer"
                          },
                          "client_errors": {
                            "type": "integer"
                          },
                          "server_errors": {
                            "type": "integer"
                          },
                          "rate_limited": {
                            "type": "integer"
                          },
                          "duration_ms": {
                            "type": "integer"
                          },
                          "last_seen_at": {
                            "type": "string",
                            "format": "date-time"
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "prefix",
                          "requests",
                          "succeeded",
                          "client_errors",
                          "server_errors",
                          "rate_limited",
                          "duration_ms",
                          "last_seen_at"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "keys_truncated": {
                      "type": "boolean"
                    },
                    "collection": {
                      "type": "string"
                    },
                    "flush_interval_seconds": {
                      "type": "integer"
                    },
                    "scope": {
                      "type": "string"
                    },
                    "retention_days": {
                      "type": "integer"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "region",
                    "workspace_id",
                    "days",
                    "timezone",
                    "as_of",
                    "totals",
                    "daily",
                    "keys",
                    "keys_truncated",
                    "collection",
                    "flush_interval_seconds",
                    "scope",
                    "retention_days",
                    "note"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "keys:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/kyc/applications": {
      "get": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Applications",
        "operationId": "api_get_v3_kyc_applications",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 64,
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128,
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "kyc_status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 32,
              "default": "",
              "title": "Kyc Status"
            }
          },
          {
            "name": "nfc_required",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Nfc Required"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerApplicationSummary"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "counts": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor",
                    "counts"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/kyc/applications/{onboarding_id}": {
      "get": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Application",
        "operationId": "api_get_v3_kyc_applications_onboarding_id",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerApplication"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/reviews": {
      "get": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Listing",
        "operationId": "api_get_v3_reviews",
        "parameters": [
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerSession"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "review:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/review": {
      "post": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Submit",
        "operationId": "api_post_v3_onboardings_onboarding_id_review",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewDecision"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "kyc_status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "state",
                    "kyc_status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "review:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/review/invalidate": {
      "post": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Invalidate Completed",
        "operationId": "api_post_v3_onboardings_onboarding_id_review_invalidate",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecaptureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "kyc_status": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "integer"
                    },
                    "notification_job_id": {
                      "type": "string"
                    },
                    "notification_status": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "state",
                    "kyc_status",
                    "revision",
                    "notification_job_id",
                    "notification_status"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "review:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/recapture": {
      "post": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Recapture",
        "operationId": "api_post_v3_onboardings_onboarding_id_recapture",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecaptureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerSession"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "review:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/review/manual": {
      "post": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Fallback",
        "operationId": "api_post_v3_onboardings_onboarding_id_review_manual",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecaptureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "state": {
                      "type": "string"
                    },
                    "call_id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "state",
                    "call_id"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "review:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/onboardings/{onboarding_id}/review-media": {
      "post": {
        "tags": [
          "kyc-review"
        ],
        "summary": "Review Media",
        "operationId": "api_post_v3_onboardings_onboarding_id_review_media",
        "parameters": [
          {
            "name": "onboarding_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Onboarding Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "pending": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "pending"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "review:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/organization/capacity": {
      "get": {
        "tags": [
          "workspace"
        ],
        "summary": "Status",
        "operationId": "api_get_v3_organization_capacity",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/CustomerCapacity"
                        },
                        {
                          "type": "object",
                          "properties": {
                            "regional_limits": {
                              "$ref": "#/components/schemas/CustomerCapacityLimits"
                            }
                          },
                          "required": [
                            "regional_limits"
                          ],
                          "additionalProperties": true
                        }
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "owner_region": {
                          "type": "string"
                        },
                        "regional_limits": {
                          "$ref": "#/components/schemas/CustomerCapacityLimits"
                        }
                      },
                      "required": [
                        "owner_region",
                        "regional_limits"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:read"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "Allocate",
        "operationId": "api_post_v3_organization_capacity",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AllocationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerCapacity"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/storage/profiles": {
      "get": {
        "tags": [
          "storage"
        ],
        "summary": "Customer List",
        "operationId": "api_get_v3_storage_profiles",
        "parameters": [
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100000,
              "minimum": 0,
              "default": 0,
              "title": "Offset"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "default": 25,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "region": {
                      "type": "string"
                    },
                    "byoc_enabled": {
                      "type": "boolean"
                    },
                    "primary_id": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "primary": {
                      "anyOf": [
                        {
                          "$ref": "#/components/schemas/CustomerStorageProfile"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerStorageProfile"
                      }
                    },
                    "has_more": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "region",
                    "byoc_enabled",
                    "primary_id",
                    "primary",
                    "items",
                    "has_more"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer"
      },
      "post": {
        "tags": [
          "storage"
        ],
        "summary": "Customer Create",
        "operationId": "api_post_v3_storage_profiles",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerStorageProfile"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/storage/profiles/{identifier}/probe": {
      "post": {
        "tags": [
          "storage"
        ],
        "summary": "Customer Probe",
        "operationId": "api_post_v3_storage_profiles_identifier_probe",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Identifier"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageRevision"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "error_code": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "profile": {
                      "$ref": "#/components/schemas/CustomerStorageProfile"
                    }
                  },
                  "required": [
                    "ok",
                    "error_code",
                    "profile"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/storage/profiles/{identifier}/promote": {
      "post": {
        "tags": [
          "storage"
        ],
        "summary": "Customer Promote",
        "operationId": "api_post_v3_storage_profiles_identifier_promote",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Identifier"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageRevision"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerStorageProfile"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/storage/profiles/{identifier}/rotate-credentials": {
      "post": {
        "tags": [
          "storage"
        ],
        "summary": "Customer Rotate",
        "operationId": "api_post_v3_storage_profiles_identifier_rotate_credentials",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Identifier"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageRotate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "rotated": {
                      "type": "boolean"
                    },
                    "ok": {
                      "type": "boolean"
                    },
                    "profile": {
                      "$ref": "#/components/schemas/CustomerStorageProfile"
                    },
                    "error_code": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "rotated",
                    "ok",
                    "profile"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/storage/profiles/{identifier}/retire": {
      "post": {
        "tags": [
          "storage"
        ],
        "summary": "Customer Retire",
        "operationId": "api_post_v3_storage_profiles_identifier_retire",
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Identifier"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageRevision"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerStorageProfile"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/storage/managed": {
      "post": {
        "tags": [
          "storage"
        ],
        "summary": "Use Managed",
        "operationId": "api_post_v3_storage_managed",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "primary_id": {
                      "type": "string"
                    },
                    "applies_to": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "primary_id",
                    "applies_to"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "workspace:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/monitoring/sources": {
      "get": {
        "tags": [
          "monitoring"
        ],
        "summary": "Sources",
        "operationId": "api_get_v3_monitoring_sources",
        "parameters": [
          {
            "name": "persona_id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Persona Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "source_kind": {
                            "type": "string"
                          },
                          "source_id": {
                            "type": "string"
                          },
                          "source_onboarding_id": {
                            "type": "string"
                          },
                          "expires_at": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "created_at": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "source_kind",
                          "source_id",
                          "source_onboarding_id",
                          "expires_at",
                          "created_at"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "available": {
                      "type": "boolean"
                    },
                    "unavailable_reason": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "available",
                    "unavailable_reason"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/monitoring/quote": {
      "post": {
        "tags": [
          "monitoring"
        ],
        "summary": "Quote",
        "operationId": "api_post_v3_monitoring_quote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringQuote"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/CustomerMonitoringPrice"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "source_kind": {
                          "type": "string"
                        },
                        "source_id": {
                          "type": "string"
                        },
                        "source_onboarding_id": {
                          "type": "string"
                        },
                        "expires_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "available": {
                          "type": "boolean"
                        },
                        "unavailable_reason": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "source_kind",
                        "source_id",
                        "source_onboarding_id",
                        "expires_at",
                        "available",
                        "unavailable_reason"
                      ],
                      "additionalProperties": true
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer",
        "parameters": [
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/v3/monitoring": {
      "post": {
        "tags": [
          "monitoring"
        ],
        "summary": "Create",
        "operationId": "api_post_v3_monitoring",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerMonitoring"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      },
      "get": {
        "tags": [
          "monitoring"
        ],
        "summary": "Listing",
        "operationId": "api_get_v3_monitoring",
        "parameters": [
          {
            "name": "persona_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "Persona Id"
            }
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "State"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 40,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerMonitoring"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/monitoring/{monitoring_id}": {
      "get": {
        "tags": [
          "monitoring"
        ],
        "summary": "Detail",
        "operationId": "api_get_v3_monitoring_monitoring_id",
        "parameters": [
          {
            "name": "monitoring_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Monitoring Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerMonitoring"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      },
      "patch": {
        "tags": [
          "monitoring"
        ],
        "summary": "Change",
        "operationId": "api_patch_v3_monitoring_monitoring_id",
        "parameters": [
          {
            "name": "monitoring_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Monitoring Id"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MonitoringChange"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerMonitoring"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "products:write"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/monitoring/{monitoring_id}/history": {
      "get": {
        "tags": [
          "monitoring"
        ],
        "summary": "History",
        "operationId": "api_get_v3_monitoring_monitoring_id_history",
        "parameters": [
          {
            "name": "monitoring_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Monitoring Id"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "",
              "title": "After"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 30,
              "title": "Limit"
            }
          },
          {
            "in": "header",
            "name": "X-Workspace-ID",
            "required": false,
            "description": "Workspace selection for panel sessions. Server API keys are already bound to one workspace; if supplied, it must match.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/CustomerMonitoringRun"
                      }
                    },
                    "next_cursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "items",
                    "next_cursor"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [
          {
            "ServerApiKey": []
          },
          {
            "PanelSession": []
          }
        ],
        "x-authentication": "bearer",
        "x-required-permissions": [
          "persona:read"
        ],
        "x-audience": "customer"
      }
    },
    "/v3/public/contact": {
      "post": {
        "tags": [
          "public-site"
        ],
        "summary": "Contact",
        "operationId": "api_post_v3_public_contact",
        "parameters": [
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "description": "Stable key for one logical mutation; reuse with identical input on retry. Different input conflicts. A new billable attempt requires a new session/key."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactInput"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicContactReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/public/status": {
      "get": {
        "tags": [
          "public-status"
        ],
        "summary": "Status",
        "operationId": "api_get_v3_public_status",
        "parameters": [
          {
            "name": "summary",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false,
              "title": "Summary"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicSiteStatus"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    },
    "/v3/public/status/regions": {
      "get": {
        "tags": [
          "public-status"
        ],
        "summary": "Regions",
        "operationId": "api_get_v3_public_status_regions",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "as_of": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "regions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "region": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "as_of": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "region",
                          "status",
                          "as_of"
                        ],
                        "additionalProperties": true
                      }
                    }
                  },
                  "required": [
                    "as_of",
                    "regions"
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error400"
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "405": {
            "$ref": "#/components/responses/Error405"
          },
          "409": {
            "$ref": "#/components/responses/Error409"
          },
          "410": {
            "$ref": "#/components/responses/Error410"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "415": {
            "$ref": "#/components/responses/Error415"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "$ref": "#/components/responses/Error502"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "security": [],
        "x-authentication": "public",
        "x-audience": "customer"
      }
    }
  },
  "components": {
    "schemas": {
      "AllocationRequest": {
        "properties": {
          "allocations": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "integer"
              },
              "type": "object"
            },
            "type": "object",
            "title": "Allocations"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "allocations"
        ],
        "title": "AllocationRequest"
      },
      "Capability": {
        "type": "string",
        "enum": [
          "INFO",
          "MIC_CHECK",
          "FULL_NAME",
          "DOB",
          "CITY",
          "PARENT_NAME",
          "HOLD_ID",
          "CONSENT",
          "YES_NO",
          "AFFIRMATION",
          "SHORT_TEXT",
          "IDENTITY_FIELD"
        ],
        "title": "Capability"
      },
      "CheckoutRequest": {
        "properties": {
          "sku": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1,
            "title": "Sku"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "sku"
        ],
        "title": "CheckoutRequest"
      },
      "ClaimRequest": {
        "properties": {
          "offer_token": {
            "type": "string",
            "maxLength": 4096,
            "title": "Offer Token"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "offer_token"
        ],
        "title": "ClaimRequest"
      },
      "CompanyProfileChange": {
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Expected Revision"
          },
          "legal_name": {
            "type": "string",
            "maxLength": 256,
            "title": "Legal Name",
            "default": ""
          },
          "address": {
            "type": "string",
            "maxLength": 2048,
            "title": "Address",
            "default": ""
          },
          "contact_email": {
            "type": "string",
            "maxLength": 254,
            "title": "Contact Email",
            "default": ""
          },
          "contact_phone": {
            "type": "string",
            "maxLength": 64,
            "title": "Contact Phone",
            "default": ""
          },
          "tax_id": {
            "type": "string",
            "maxLength": 128,
            "title": "Tax Id",
            "default": ""
          },
          "registration_number": {
            "type": "string",
            "maxLength": 128,
            "title": "Registration Number",
            "default": ""
          },
          "country": {
            "type": "string",
            "maxLength": 2,
            "pattern": "^([A-Za-z]{2})?$",
            "title": "Country",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "expected_revision"
        ],
        "title": "CompanyProfileChange"
      },
      "ConfirmFactor": {
        "properties": {
          "code": {
            "type": "string",
            "maxLength": 6,
            "minLength": 6,
            "title": "Code"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "code"
        ],
        "title": "ConfirmFactor"
      },
      "ContactInput": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 2,
            "title": "Name"
          },
          "company": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1,
            "title": "Company"
          },
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          },
          "message": {
            "type": "string",
            "maxLength": 5000,
            "minLength": 1,
            "title": "Message"
          },
          "website": {
            "type": "string",
            "maxLength": 200,
            "title": "Website",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name",
          "company",
          "email",
          "message"
        ],
        "title": "ContactInput"
      },
      "EmailInput": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email"
        ],
        "title": "EmailInput"
      },
      "EndpointChange": {
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 4096,
            "title": "Url"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 10,
            "title": "Events"
          },
          "enabled": {
            "type": "boolean",
            "title": "Enabled"
          },
          "expected_revision": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Expected Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "url",
          "enabled",
          "expected_revision"
        ],
        "title": "EndpointChange"
      },
      "EndpointRequest": {
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 4096,
            "title": "Url"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 10,
            "title": "Events"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "url"
        ],
        "title": "EndpointRequest"
      },
      "FactorInput": {
        "properties": {
          "password": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1,
            "title": "Password"
          },
          "code": {
            "type": "string",
            "maxLength": 64,
            "title": "Code",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "password"
        ],
        "title": "FactorInput"
      },
      "FlowDefinition": {
        "properties": {
          "version": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,79}$",
            "title": "Version"
          },
          "locale": {
            "type": "string",
            "enum": [
              "tr-TR",
              "en-US",
              "de-DE",
              "es-ES",
              "it-IT"
            ],
            "title": "Locale",
            "default": "tr-TR"
          },
          "translations": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "propertyNames": {
              "enum": [
                "tr-TR",
                "en-US",
                "de-DE",
                "es-ES",
                "it-IT"
              ]
            },
            "type": "object",
            "title": "Translations"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/FlowStep"
            },
            "type": "array",
            "maxItems": 30,
            "minItems": 3,
            "title": "Steps"
          },
          "maximum_recording_seconds": {
            "type": "integer",
            "maximum": 1200.0,
            "minimum": 60.0,
            "title": "Maximum Recording Seconds",
            "default": 600
          },
          "standard": {
            "type": "boolean",
            "title": "Standard",
            "default": false
          },
          "audio_profile_digest": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Profile Digest"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "version",
          "steps"
        ],
        "title": "FlowDefinition"
      },
      "FlowStep": {
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]{0,47}$",
            "title": "Id"
          },
          "kind": {
            "$ref": "#/components/schemas/Capability"
          },
          "prompt": {
            "type": "string",
            "maxLength": 600,
            "minLength": 1,
            "title": "Prompt"
          },
          "audio_asset_id": {
            "type": "string",
            "maxLength": 180,
            "minLength": 1,
            "title": "Audio Asset Id"
          },
          "reference_fields": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Reference Fields",
            "default": []
          },
          "max_attempts": {
            "type": "integer",
            "maximum": 3.0,
            "minimum": 1.0,
            "title": "Max Attempts",
            "default": 2
          },
          "max_answer_seconds": {
            "type": "integer",
            "maximum": 30.0,
            "minimum": 1.0,
            "title": "Max Answer Seconds",
            "default": 10
          },
          "required_photo": {
            "type": "boolean",
            "title": "Required Photo",
            "default": false
          },
          "photo_side": {
            "type": "string",
            "enum": [
              "any",
              "front",
              "back"
            ],
            "title": "Photo Side",
            "default": "any"
          },
          "feedback": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "string"
              },
              "propertyNames": {
                "enum": [
                  "tr-TR",
                  "en-US",
                  "de-DE",
                  "es-ES",
                  "it-IT"
                ]
              },
              "type": "object"
            },
            "propertyNames": {
              "enum": [
                "no_speech",
                "unclear",
                "mismatch",
                "cannot_hear",
                "explicit_acceptance"
              ]
            },
            "type": "object",
            "title": "Feedback"
          },
          "explicit_acceptance": {
            "type": "boolean",
            "title": "Explicit Acceptance",
            "default": false
          },
          "expected_answer": {
            "type": "string",
            "enum": [
              "YES",
              "NO"
            ],
            "title": "Expected Answer",
            "default": "YES"
          },
          "response_intent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ResponseIntent"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected_texts": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "enum": [
                "tr-TR",
                "en-US",
                "de-DE",
                "es-ES",
                "it-IT"
              ]
            },
            "type": "object",
            "title": "Expected Texts"
          },
          "expected_variants": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "propertyNames": {
              "enum": [
                "tr-TR",
                "en-US",
                "de-DE",
                "es-ES",
                "it-IT"
              ]
            },
            "type": "object",
            "title": "Expected Variants"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "id",
          "kind",
          "prompt",
          "audio_asset_id"
        ],
        "title": "FlowStep"
      },
      "InvitationRegistration": {
        "properties": {
          "token": {
            "type": "string",
            "maxLength": 500,
            "minLength": 20,
            "title": "Token"
          },
          "region": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(tr|eu)$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          },
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          },
          "display_name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Display Name"
          },
          "password": {
            "type": "string",
            "maxLength": 256,
            "minLength": 12,
            "title": "Password"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "token",
          "email",
          "display_name",
          "password"
        ],
        "title": "InvitationRegistration"
      },
      "InvitationRequest": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          },
          "role": {
            "type": "string",
            "maxLength": 30,
            "title": "Role"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "role"
        ],
        "title": "InvitationRequest"
      },
      "KeyRequest": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "minLength": 1,
            "title": "Name"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 12,
            "minItems": 1,
            "title": "Permissions"
          },
          "days": {
            "type": "integer",
            "maximum": 365.0,
            "minimum": 1.0,
            "title": "Days",
            "default": 90
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name",
          "permissions"
        ],
        "title": "KeyRequest"
      },
      "LoginRequest": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          },
          "password": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1,
            "title": "Password"
          },
          "mfa_code": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64,
                "minLength": 6
              },
              {
                "type": "null"
              }
            ],
            "title": "Mfa Code"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "password"
        ],
        "title": "LoginRequest"
      },
      "MemberChange": {
        "properties": {
          "role": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 24
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enabled"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "MemberChange"
      },
      "MemberCreate": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "role": {
            "type": "string",
            "maxLength": 24,
            "title": "Role"
          },
          "initial_password": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 256,
                "minLength": 12
              },
              {
                "type": "null"
              }
            ],
            "title": "Initial Password"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "role"
        ],
        "title": "MemberCreate"
      },
      "MonitoringChange": {
        "properties": {
          "action": {
            "type": "string",
            "enum": [
              "pause",
              "resume",
              "disable"
            ],
            "title": "Action"
          },
          "expected_revision": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Expected Revision"
          },
          "accepted_catalog_version": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted Catalog Version"
          },
          "accepted_credits_per_check": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 100000.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted Credits Per Check"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "action",
          "expected_revision"
        ],
        "title": "MonitoringChange"
      },
      "MonitoringCreate": {
        "properties": {
          "persona_id": {
            "type": "string",
            "maxLength": 64,
            "title": "Persona Id"
          },
          "source_kind": {
            "type": "string",
            "enum": [
              "kyc",
              "aml"
            ],
            "title": "Source Kind"
          },
          "source_id": {
            "type": "string",
            "maxLength": 64,
            "title": "Source Id"
          },
          "interval_hours": {
            "type": "integer",
            "enum": [
              24,
              168,
              720
            ],
            "title": "Interval Hours",
            "default": 24
          },
          "accepted_catalog_version": {
            "type": "string",
            "maxLength": 64,
            "title": "Accepted Catalog Version"
          },
          "accepted_credits_per_check": {
            "type": "integer",
            "maximum": 100000.0,
            "minimum": 0.0,
            "title": "Accepted Credits Per Check"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "persona_id",
          "source_kind",
          "source_id",
          "accepted_catalog_version",
          "accepted_credits_per_check"
        ],
        "title": "MonitoringCreate"
      },
      "MonitoringQuote": {
        "properties": {
          "persona_id": {
            "type": "string",
            "maxLength": 64,
            "title": "Persona Id"
          },
          "source_kind": {
            "type": "string",
            "enum": [
              "kyc",
              "aml"
            ],
            "title": "Source Kind"
          },
          "source_id": {
            "type": "string",
            "maxLength": 64,
            "title": "Source Id"
          },
          "interval_hours": {
            "type": "integer",
            "enum": [
              24,
              168,
              720
            ],
            "title": "Interval Hours",
            "default": 24
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "persona_id",
          "source_kind",
          "source_id"
        ],
        "title": "MonitoringQuote"
      },
      "NotificationPreferences": {
        "properties": {
          "session_completed": {
            "type": "boolean",
            "title": "Session Completed",
            "default": false
          },
          "low_balance": {
            "type": "boolean",
            "title": "Low Balance",
            "default": false
          },
          "low_balance_threshold": {
            "type": "integer",
            "maximum": 100000000.0,
            "minimum": 0.0,
            "title": "Low Balance Threshold",
            "default": 1000
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "NotificationPreferences"
      },
      "OnboardingRequest": {
        "properties": {
          "persona_id": {
            "type": "string",
            "maxLength": 64,
            "title": "Persona Id"
          },
          "interview_mode": {
            "type": "string",
            "enum": [
              "ai",
              "manual",
              "none"
            ],
            "title": "Interview Mode",
            "default": "ai"
          },
          "interview_locale": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "tr-TR",
                  "en-US",
                  "de-DE",
                  "es-ES",
                  "it-IT"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Interview Locale"
          },
          "retention_years": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 10.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Retention Years"
          },
          "policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Policy"
              },
              {
                "type": "null"
              }
            ]
          },
          "bundled_products": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "enum": [
                    "aml",
                    "address"
                  ]
                },
                "type": "array",
                "maxItems": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Bundled Products"
          },
          "services": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "enum": [
                    "kyc",
                    "ai_interview",
                    "aml",
                    "address",
                    "wallet_screening"
                  ]
                },
                "type": "array",
                "maxItems": 5,
                "minItems": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Services"
          },
          "verified_onboarding_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ],
            "title": "Verified Onboarding Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "persona_id"
        ],
        "title": "OnboardingRequest"
      },
      "PasswordChange": {
        "properties": {
          "current_password": {
            "type": "string",
            "maxLength": 256,
            "title": "Current Password"
          },
          "new_password": {
            "type": "string",
            "maxLength": 256,
            "minLength": 12,
            "title": "New Password"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "current_password",
          "new_password"
        ],
        "title": "PasswordChange"
      },
      "PersonaRequest": {
        "properties": {
          "external_subject_id": {
            "type": "string",
            "maxLength": 256,
            "minLength": 1,
            "title": "External Subject Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "external_subject_id"
        ],
        "title": "PersonaRequest"
      },
      "Policy": {
        "properties": {
          "min_doc_confidence": {
            "type": "number",
            "maximum": 1.0,
            "minimum": 0.0,
            "title": "Min Doc Confidence",
            "default": 0.75
          },
          "nfc_required": {
            "type": "boolean",
            "title": "Nfc Required",
            "default": false
          },
          "face_match_required": {
            "type": "boolean",
            "title": "Face Match Required",
            "default": true
          },
          "liveness_required": {
            "type": "boolean",
            "title": "Liveness Required",
            "default": true
          },
          "active_challenge_required": {
            "type": "boolean",
            "title": "Active Challenge Required",
            "default": false
          },
          "manual_review_enabled": {
            "type": "boolean",
            "title": "Manual Review Enabled",
            "default": true
          },
          "ai_manual_fallback_enabled": {
            "type": "boolean",
            "title": "Ai Manual Fallback Enabled",
            "default": false
          },
          "approve_max": {
            "type": "number",
            "maximum": 100.0,
            "minimum": 0.0,
            "title": "Approve Max",
            "default": 16
          },
          "review_max": {
            "type": "number",
            "maximum": 100.0,
            "minimum": 0.0,
            "title": "Review Max",
            "default": 25
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "Policy"
      },
      "ProductRequest": {
        "properties": {
          "product": {
            "type": "string",
            "enum": [
              "aml",
              "wallet_screening",
              "address",
              "kyc",
              "ai_interview"
            ],
            "title": "Product"
          },
          "persona_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ],
            "title": "Persona Id"
          },
          "external_subject_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 256,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "External Subject Id"
          },
          "onboarding_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Onboarding Id"
          },
          "retention_years": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 10.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Retention Years"
          },
          "name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 256,
                "minLength": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "country": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 2,
                "minLength": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "dob": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 10,
                "pattern": "^\\d{4}(-\\d{2})?(-\\d{2})?$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dob"
          },
          "document": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 128
              },
              {
                "type": "null"
              }
            ],
            "title": "Document"
          },
          "schema": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "Person",
                  "Company",
                  "Organization"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Schema"
          },
          "topics": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 10,
            "title": "Topics"
          },
          "address": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 256,
                "minLength": 14
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "chain": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 32
              },
              {
                "type": "null"
              }
            ],
            "title": "Chain"
          },
          "wallet_depth": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 2.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Wallet Depth",
            "description": "Wallet screening only: 0 exact list, 1 direct transfers, 2 indirect transfers (default for new wallets)."
          },
          "claimed_address": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "maxProperties": 10,
            "title": "Claimed Address"
          },
          "verified_onboarding_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ],
            "title": "Verified Onboarding Id"
          },
          "interview_locale": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "tr-TR",
                  "en-US",
                  "de-DE",
                  "es-ES",
                  "it-IT"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Interview Locale"
          },
          "official_verification": {
            "type": "boolean",
            "title": "Official Verification",
            "default": false
          },
          "policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Policy"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "product"
        ],
        "title": "ProductRequest"
      },
      "ProfileInput": {
        "properties": {
          "display_name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Display Name"
          },
          "notification_preferences": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "boolean"
                },
                "type": "object",
                "maxProperties": 5
              },
              {
                "type": "null"
              }
            ],
            "title": "Notification Preferences"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "display_name"
        ],
        "title": "ProfileInput"
      },
      "QuoteRequest": {
        "properties": {
          "product": {
            "type": "string",
            "enum": [
              "aml",
              "wallet_screening",
              "address",
              "kyc",
              "ai_interview"
            ],
            "title": "Product"
          },
          "retention_years": {
            "type": "number",
            "maximum": 10.0,
            "minimum": 0.0,
            "title": "Retention Years"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "product",
          "retention_years"
        ],
        "title": "QuoteRequest"
      },
      "RecaptureRequest": {
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Expected Revision"
          },
          "reason": {
            "type": "string",
            "maxLength": 1000,
            "minLength": 5,
            "title": "Reason"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "expected_revision",
          "reason"
        ],
        "title": "RecaptureRequest"
      },
      "RegionRequest": {
        "properties": {
          "region": {
            "type": "string",
            "pattern": "^(tr|eu)$",
            "title": "Region"
          },
          "environment": {
            "type": "string",
            "pattern": "^(test|live)$",
            "title": "Environment",
            "default": "test"
          },
          "name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "default": "Yeni bölge"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "region"
        ],
        "title": "RegionRequest"
      },
      "ResetInput": {
        "properties": {
          "token": {
            "type": "string",
            "maxLength": 500,
            "minLength": 20,
            "title": "Token"
          },
          "new_password": {
            "type": "string",
            "maxLength": 256,
            "minLength": 12,
            "title": "New Password"
          },
          "mfa_code": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ],
            "title": "Mfa Code"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "token",
          "new_password"
        ],
        "title": "ResetInput"
      },
      "ResponseIntent": {
        "type": "string",
        "enum": [
          "YES",
          "NO",
          "APPROVE",
          "DISAPPROVE",
          "ACCEPT",
          "REFUSE",
          "DO",
          "DONT"
        ],
        "title": "ResponseIntent"
      },
      "RetentionRequest": {
        "properties": {
          "years": {
            "type": "number",
            "maximum": 10.0,
            "minimum": 0.0,
            "title": "Years"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "years"
        ],
        "title": "RetentionRequest"
      },
      "ReviewDecision": {
        "properties": {
          "decision": {
            "type": "string",
            "enum": [
              "approved",
              "rejected"
            ],
            "title": "Decision"
          },
          "reason": {
            "type": "string",
            "maxLength": 1000,
            "minLength": 5,
            "title": "Reason"
          },
          "product_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Id"
          },
          "expected_revision": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "decision",
          "reason"
        ],
        "title": "ReviewDecision"
      },
      "SecretRequest": {
        "properties": {
          "token": {
            "type": "string",
            "maxLength": 500,
            "minLength": 20,
            "title": "Token"
          },
          "region": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(tr|eu)$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "token"
        ],
        "title": "SecretRequest"
      },
      "SelectionQuoteRequest": {
        "properties": {
          "services": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "enum": [
                    "kyc",
                    "ai_interview",
                    "aml",
                    "address",
                    "wallet_screening"
                  ]
                },
                "type": "array",
                "maxItems": 5,
                "minItems": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Services"
          },
          "retention_years": {
            "type": "number",
            "maximum": 10.0,
            "minimum": 0.0,
            "title": "Retention Years"
          },
          "interview_mode": {
            "type": "string",
            "enum": [
              "ai",
              "manual",
              "none"
            ],
            "title": "Interview Mode",
            "default": "ai"
          },
          "bundled_products": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "enum": [
                    "aml",
                    "address"
                  ]
                },
                "type": "array",
                "maxItems": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Bundled Products"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "retention_years"
        ],
        "title": "SelectionQuoteRequest"
      },
      "Signup": {
        "properties": {
          "email": {
            "type": "string",
            "maxLength": 254,
            "minLength": 3,
            "title": "Email"
          },
          "display_name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Display Name"
          },
          "organization_name": {
            "type": "string",
            "maxLength": 160,
            "minLength": 1,
            "title": "Organization Name"
          },
          "password": {
            "type": "string",
            "maxLength": 256,
            "minLength": 12,
            "title": "Password"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "display_name",
          "organization_name",
          "password"
        ],
        "title": "Signup"
      },
      "StandardSelection": {
        "properties": {
          "template_id": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9-]{0,47}$",
            "title": "Template Id"
          },
          "voice_gender": {
            "type": "string",
            "enum": [
              "female",
              "male"
            ],
            "title": "Voice Gender"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "template_id",
          "voice_gender"
        ],
        "title": "StandardSelection"
      },
      "StorageCreate": {
        "properties": {
          "label": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Label"
          },
          "driver": {
            "type": "string",
            "enum": [
              "s3",
              "r2",
              "obs",
              "local"
            ],
            "title": "Driver"
          },
          "bucket": {
            "type": "string",
            "pattern": "^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$",
            "title": "Bucket"
          },
          "endpoint": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 256
              },
              {
                "type": "null"
              }
            ],
            "title": "Endpoint"
          },
          "provider_region": {
            "type": "string",
            "pattern": "^[a-z0-9-]{2,64}$",
            "title": "Provider Region",
            "default": "auto"
          },
          "prefix": {
            "type": "string",
            "maxLength": 128,
            "title": "Prefix",
            "default": "legichain-v3/"
          },
          "jurisdiction": {
            "type": "string",
            "enum": [
              "tr",
              "eu"
            ],
            "title": "Jurisdiction"
          },
          "access_key": {
            "anyOf": [
              {
                "type": "string",
                "format": "password",
                "writeOnly": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Access Key"
          },
          "secret_key": {
            "anyOf": [
              {
                "type": "string",
                "format": "password",
                "writeOnly": true
              },
              {
                "type": "null"
              }
            ],
            "title": "Secret Key"
          },
          "credentials_env": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^V3_STORAGE_[A-Z0-9_]{1,48}$"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credentials Env"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "label",
          "driver",
          "bucket",
          "jurisdiction"
        ],
        "title": "StorageCreate"
      },
      "StorageRevision": {
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Expected Revision"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "expected_revision"
        ],
        "title": "StorageRevision"
      },
      "StorageRotate": {
        "properties": {
          "expected_revision": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Expected Revision"
          },
          "access_key": {
            "type": "string",
            "maxLength": 256,
            "minLength": 3,
            "format": "password",
            "title": "Access Key",
            "writeOnly": true
          },
          "secret_key": {
            "type": "string",
            "maxLength": 512,
            "minLength": 8,
            "format": "password",
            "title": "Secret Key",
            "writeOnly": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "expected_revision",
          "access_key",
          "secret_key"
        ],
        "title": "StorageRotate"
      },
      "TicketRequest": {
        "properties": {
          "ticket": {
            "type": "string",
            "maxLength": 16000,
            "minLength": 20,
            "title": "Ticket"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "ticket"
        ],
        "title": "TicketRequest"
      },
      "TokenInput": {
        "properties": {
          "token": {
            "type": "string",
            "maxLength": 500,
            "minLength": 20,
            "title": "Token"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "token"
        ],
        "title": "TokenInput"
      },
      "VoiceSelection": {
        "properties": {
          "voice_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 64,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Voice Id"
          },
          "voice_ids": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string",
                  "maxLength": 64,
                  "minLength": 1
                },
                "propertyNames": {
                  "enum": [
                    "tr-TR",
                    "en-US",
                    "de-DE",
                    "es-ES",
                    "it-IT"
                  ]
                },
                "type": "object",
                "maxProperties": 5,
                "minProperties": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Voice Ids"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "VoiceSelection"
      },
      "WorkspaceChange": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Policy"
              },
              {
                "type": "null"
              }
            ]
          },
          "retention_years": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 10.0,
                "minimum": 0.0
              },
              {
                "type": "null"
              }
            ],
            "title": "Retention Years"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "WorkspaceChange"
      },
      "CustomerPlan": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "monthly_usd": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Usd"
          },
          "monthly_credits": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Credits"
          },
          "shared_ai_concurrency": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared Ai Concurrency"
          },
          "max_retention_years": {
            "title": "Max Retention Years",
            "type": "integer"
          },
          "dedicated_eligible": {
            "default": false,
            "title": "Dedicated Eligible",
            "type": "boolean"
          },
          "dedicated_self_service": {
            "default": false,
            "title": "Dedicated Self Service",
            "type": "boolean"
          },
          "flow_editable_when_dedicated": {
            "default": false,
            "title": "Flow Editable When Dedicated",
            "type": "boolean"
          },
          "ordinary_rps": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ordinary Rps"
          },
          "named_seats_included": {
            "default": 1,
            "title": "Named Seats Included",
            "type": "integer"
          },
          "ai_lifecycle_subject_to_package_rps": {
            "default": false,
            "title": "Ai Lifecycle Subject To Package Rps",
            "type": "boolean"
          },
          "one_time_credit_grant": {
            "default": 0,
            "title": "One Time Credit Grant",
            "type": "integer"
          },
          "flow_customization": {
            "default": false,
            "title": "Flow Customization",
            "type": "boolean"
          },
          "initial_audio_generations": {
            "default": 0,
            "title": "Initial Audio Generations",
            "type": "integer"
          }
        },
        "required": [
          "code",
          "monthly_usd",
          "monthly_credits",
          "shared_ai_concurrency",
          "max_retention_years"
        ],
        "title": "Plan",
        "type": "object"
      },
      "CustomerWalletBaseLotView": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "remaining": {
            "title": "Remaining",
            "type": "integer"
          },
          "encumbered": {
            "title": "Encumbered",
            "type": "integer"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "expiry_pending_reconciliation": {
            "title": "Expiry Pending Reconciliation",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "kind",
          "remaining",
          "encumbered",
          "expires_at",
          "expiry_pending_reconciliation"
        ],
        "title": "LotView",
        "type": "object"
      },
      "CustomerLedgerBaseLedgerItem": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "delta": {
            "title": "Delta",
            "type": "integer"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "balance_after": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Balance After"
          },
          "origin_region": {
            "anyOf": [
              {
                "enum": [
                  "tr",
                  "eu"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Origin Region"
          }
        },
        "required": [
          "id",
          "delta",
          "reason",
          "created_at"
        ],
        "title": "LedgerItem",
        "type": "object"
      },
      "CustomerPolicy": {
        "additionalProperties": false,
        "properties": {
          "min_doc_confidence": {
            "default": 0.75,
            "maximum": 1,
            "minimum": 0,
            "title": "Min Doc Confidence",
            "type": "number"
          },
          "nfc_required": {
            "default": false,
            "title": "Nfc Required",
            "type": "boolean"
          },
          "face_match_required": {
            "default": true,
            "title": "Face Match Required",
            "type": "boolean"
          },
          "liveness_required": {
            "default": true,
            "title": "Liveness Required",
            "type": "boolean"
          },
          "active_challenge_required": {
            "default": false,
            "title": "Active Challenge Required",
            "type": "boolean"
          },
          "manual_review_enabled": {
            "default": true,
            "title": "Manual Review Enabled",
            "type": "boolean"
          },
          "ai_manual_fallback_enabled": {
            "default": false,
            "title": "Ai Manual Fallback Enabled",
            "type": "boolean"
          },
          "approve_max": {
            "default": 16,
            "maximum": 100,
            "minimum": 0,
            "title": "Approve Max",
            "type": "number"
          },
          "review_max": {
            "default": 25,
            "maximum": 100,
            "minimum": 0,
            "title": "Review Max",
            "type": "number"
          }
        },
        "title": "Policy",
        "type": "object"
      },
      "CustomerFlowDefinitionCapability": {
        "enum": [
          "INFO",
          "MIC_CHECK",
          "FULL_NAME",
          "DOB",
          "CITY",
          "PARENT_NAME",
          "HOLD_ID",
          "CONSENT",
          "YES_NO",
          "AFFIRMATION",
          "SHORT_TEXT",
          "IDENTITY_FIELD"
        ],
        "title": "Capability",
        "type": "string"
      },
      "CustomerFlowDefinitionFlowStep": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "pattern": "^[a-z][a-z0-9_]{0,47}$",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CustomerFlowDefinitionCapability"
          },
          "prompt": {
            "maxLength": 600,
            "minLength": 1,
            "title": "Prompt",
            "type": "string"
          },
          "audio_asset_id": {
            "maxLength": 180,
            "minLength": 1,
            "title": "Audio Asset Id",
            "type": "string"
          },
          "reference_fields": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Reference Fields",
            "type": "array"
          },
          "max_attempts": {
            "default": 2,
            "maximum": 3,
            "minimum": 1,
            "title": "Max Attempts",
            "type": "integer"
          },
          "max_answer_seconds": {
            "default": 10,
            "maximum": 30,
            "minimum": 1,
            "title": "Max Answer Seconds",
            "type": "integer"
          },
          "required_photo": {
            "default": false,
            "title": "Required Photo",
            "type": "boolean"
          },
          "photo_side": {
            "default": "any",
            "enum": [
              "any",
              "front",
              "back"
            ],
            "title": "Photo Side",
            "type": "string"
          },
          "feedback": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "string"
              },
              "propertyNames": {
                "enum": [
                  "tr-TR",
                  "en-US",
                  "de-DE",
                  "es-ES",
                  "it-IT"
                ]
              },
              "type": "object"
            },
            "propertyNames": {
              "enum": [
                "no_speech",
                "unclear",
                "mismatch",
                "cannot_hear",
                "explicit_acceptance"
              ]
            },
            "title": "Feedback",
            "type": "object"
          },
          "explicit_acceptance": {
            "default": false,
            "title": "Explicit Acceptance",
            "type": "boolean"
          },
          "expected_answer": {
            "default": "YES",
            "enum": [
              "YES",
              "NO"
            ],
            "title": "Expected Answer",
            "type": "string"
          },
          "response_intent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerFlowDefinitionResponseIntent"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "expected_texts": {
            "additionalProperties": {
              "type": "string"
            },
            "propertyNames": {
              "enum": [
                "tr-TR",
                "en-US",
                "de-DE",
                "es-ES",
                "it-IT"
              ]
            },
            "title": "Expected Texts",
            "type": "object"
          },
          "expected_variants": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "propertyNames": {
              "enum": [
                "tr-TR",
                "en-US",
                "de-DE",
                "es-ES",
                "it-IT"
              ]
            },
            "title": "Expected Variants",
            "type": "object"
          }
        },
        "required": [
          "id",
          "kind",
          "prompt",
          "audio_asset_id"
        ],
        "title": "FlowStep",
        "type": "object"
      },
      "CustomerFlowDefinitionResponseIntent": {
        "enum": [
          "YES",
          "NO",
          "APPROVE",
          "DISAPPROVE",
          "ACCEPT",
          "REFUSE",
          "DO",
          "DONT"
        ],
        "title": "ResponseIntent",
        "type": "string"
      },
      "CustomerFlowDefinition": {
        "additionalProperties": false,
        "properties": {
          "version": {
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,79}$",
            "title": "Version",
            "type": "string"
          },
          "locale": {
            "default": "tr-TR",
            "enum": [
              "tr-TR",
              "en-US",
              "de-DE",
              "es-ES",
              "it-IT"
            ],
            "title": "Locale",
            "type": "string"
          },
          "translations": {
            "additionalProperties": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            },
            "propertyNames": {
              "enum": [
                "tr-TR",
                "en-US",
                "de-DE",
                "es-ES",
                "it-IT"
              ]
            },
            "title": "Translations",
            "type": "object"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/CustomerFlowDefinitionFlowStep"
            },
            "maxItems": 30,
            "minItems": 3,
            "title": "Steps",
            "type": "array"
          },
          "maximum_recording_seconds": {
            "default": 600,
            "maximum": 1200,
            "minimum": 60,
            "title": "Maximum Recording Seconds",
            "type": "integer"
          },
          "standard": {
            "default": false,
            "title": "Standard",
            "type": "boolean"
          },
          "audio_profile_digest": {
            "anyOf": [
              {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Audio Profile Digest"
          }
        },
        "required": [
          "version",
          "steps"
        ],
        "title": "FlowDefinition",
        "type": "object"
      },
      "CustomerIdentityFieldProofLevel": {
        "enum": [
          "read",
          "checksum",
          "document_verified",
          "chip_authenticated",
          "official_source"
        ],
        "title": "ProofLevel",
        "type": "string"
      },
      "CustomerIdentityField": {
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "evidence_id": {
            "title": "Evidence Id",
            "type": "string"
          },
          "proof": {
            "$ref": "#/components/schemas/CustomerIdentityFieldProofLevel",
            "default": "read"
          },
          "confidence": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Confidence"
          },
          "verified": {
            "default": false,
            "title": "Verified",
            "type": "boolean"
          },
          "authenticated_dg": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Authenticated Dg"
          },
          "validation_status": {
            "default": "unchecked",
            "title": "Validation Status",
            "type": "string"
          }
        },
        "required": [
          "name",
          "value",
          "source",
          "evidence_id"
        ],
        "title": "FieldEvidence",
        "type": "object"
      },
      "CustomerPolicySnapshot": {
        "additionalProperties": true,
        "properties": {
          "min_doc_confidence": {
            "default": 0.75,
            "maximum": 1,
            "minimum": 0,
            "title": "Min Doc Confidence",
            "type": "number"
          },
          "nfc_required": {
            "default": false,
            "title": "Nfc Required",
            "type": "boolean"
          },
          "face_match_required": {
            "default": true,
            "title": "Face Match Required",
            "type": "boolean"
          },
          "liveness_required": {
            "default": true,
            "title": "Liveness Required",
            "type": "boolean"
          },
          "active_challenge_required": {
            "default": false,
            "title": "Active Challenge Required",
            "type": "boolean"
          },
          "manual_review_enabled": {
            "default": true,
            "title": "Manual Review Enabled",
            "type": "boolean"
          },
          "ai_manual_fallback_enabled": {
            "default": false,
            "title": "Ai Manual Fallback Enabled",
            "type": "boolean"
          },
          "approve_max": {
            "default": 16,
            "maximum": 100,
            "minimum": 0,
            "title": "Approve Max",
            "type": "number"
          },
          "review_max": {
            "default": 25,
            "maximum": 100,
            "minimum": 0,
            "title": "Review Max",
            "type": "number"
          },
          "version": {
            "type": "string"
          }
        },
        "title": "Policy",
        "type": "object",
        "description": "Server-owned versioned verification policy captured when the session was created."
      },
      "CustomerJsonValue": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "null"
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          },
          {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          }
        ]
      },
      "CustomerQuote": {
        "type": "object",
        "properties": {
          "catalog_version": {
            "type": "string"
          },
          "plan_code": {
            "type": "string"
          },
          "retention_years": {
            "type": "string"
          },
          "processing_credits": {
            "type": "integer"
          },
          "retention_credits": {
            "type": "integer"
          },
          "total_credits": {
            "type": "integer"
          },
          "included_products": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "interview_mode": {
            "type": "string"
          },
          "discount_credits": {
            "type": "integer"
          },
          "selected_services": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "catalog_version",
          "plan_code",
          "retention_years",
          "processing_credits",
          "retention_credits",
          "total_credits",
          "included_products",
          "interview_mode",
          "discount_credits"
        ],
        "additionalProperties": true
      },
      "CustomerQueue": {
        "type": "object",
        "properties": {
          "onboarding_id": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "position": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "estimated_wait_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "type": "string",
            "format": "date-time"
          },
          "offer_token": {
            "type": "string"
          },
          "offer_expires_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "onboarding_id",
          "state",
          "position",
          "estimated_wait_seconds",
          "expires_at"
        ],
        "additionalProperties": true
      },
      "CustomerQueueEvent": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "state": {
                "type": "string",
                "const": "access_revoked"
              }
            },
            "required": [
              "state"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "onboarding_id": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "onboarding_state": {
                "type": "string"
              },
              "position": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "queue_kind": {
                "type": "string"
              },
              "estimated_wait_seconds": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offer_available": {
                "type": "boolean"
              },
              "expired": {
                "type": "boolean"
              }
            },
            "required": [
              "onboarding_id",
              "state",
              "onboarding_state",
              "position",
              "queue_kind",
              "estimated_wait_seconds",
              "offer_available",
              "expired"
            ],
            "additionalProperties": true
          }
        ]
      },
      "CustomerBundleResult": {
        "type": "object",
        "properties": {
          "id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "product": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "input_required": {
            "type": "boolean"
          },
          "complete": {
            "type": "boolean"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "product",
          "status",
          "input_required",
          "complete",
          "error_code"
        ],
        "additionalProperties": true
      },
      "CustomerRecapture": {
        "type": "object",
        "properties": {
          "attempt": {
            "type": "integer"
          },
          "required_kinds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "attempt",
          "required_kinds"
        ],
        "additionalProperties": true
      },
      "CustomerPhotoFraudFrame": {
        "type": "object",
        "properties": {
          "frame": {
            "type": "integer",
            "minimum": 0
          },
          "source_sha256": {
            "type": "string"
          },
          "branch": {
            "type": "string",
            "enum": [
              "published_whole",
              "published_native"
            ]
          },
          "threshold": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "score": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "attack_flag",
              "no_attack_flag",
              "abstain_no_face"
            ]
          },
          "crop_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "liveness_geometry_used": {
            "type": "boolean"
          }
        },
        "required": [
          "frame",
          "source_sha256",
          "branch",
          "threshold",
          "score",
          "status",
          "crop_sha256",
          "liveness_geometry_used"
        ],
        "additionalProperties": true
      },
      "CustomerPhotoFraudBranch": {
        "type": "object",
        "properties": {
          "threshold": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          },
          "acquired": {
            "type": "integer",
            "minimum": 0
          },
          "abstained": {
            "type": "integer",
            "minimum": 0
          },
          "attack_flag": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "threshold",
          "acquired",
          "abstained",
          "attack_flag"
        ],
        "additionalProperties": true
      },
      "CustomerPhotoFraudResult": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "superseded": {
                "type": "boolean",
                "const": true
              }
            },
            "required": [
              "superseded"
            ],
            "additionalProperties": true
          },
          {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "attack_flag",
                  "no_attack_flag",
                  "abstention"
                ]
              },
              "packet_sha256": {
                "type": "string"
              },
              "frame_count": {
                "type": "integer",
                "minimum": 1,
                "maximum": 32
              },
              "rows": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CustomerPhotoFraudFrame"
                }
              },
              "branches": {
                "type": "object",
                "properties": {
                  "published_whole": {
                    "$ref": "#/components/schemas/CustomerPhotoFraudBranch"
                  },
                  "published_native": {
                    "$ref": "#/components/schemas/CustomerPhotoFraudBranch"
                  }
                },
                "required": [
                  "published_whole",
                  "published_native"
                ],
                "additionalProperties": true
              },
              "model": {
                "type": "object",
                "properties": {
                  "profile_id": {
                    "type": "string"
                  },
                  "profile_sha256": {
                    "type": "string"
                  },
                  "model_sha256": {
                    "type": "string"
                  },
                  "model_revision": {
                    "type": "string"
                  },
                  "space_revision": {
                    "type": "string"
                  },
                  "precision": {
                    "type": "string"
                  },
                  "output": {
                    "type": "string"
                  }
                },
                "required": [
                  "profile_id",
                  "profile_sha256",
                  "model_sha256",
                  "model_revision",
                  "space_revision",
                  "precision",
                  "output"
                ],
                "additionalProperties": true
              }
            },
            "required": [
              "status",
              "packet_sha256",
              "frame_count",
              "rows",
              "branches",
              "model"
            ],
            "additionalProperties": true
          }
        ]
      },
      "CustomerPhotoFraudSummary": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "status"
        ],
        "additionalProperties": true
      },
      "CustomerPhotoFraud": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "counts": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "minimum": 0
            }
          },
          "job_id": {
            "type": "string"
          },
          "source_evidence_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "attempts": {
            "type": "integer"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerPhotoFraudResult"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "status"
        ],
        "additionalProperties": true,
        "description": "Retained photo analysis contributing to the combined KYC decision. Only the latest source-bound job is detailed; counts cover the session jobs. No result is not a clean result. Expired responses contain only status. Requires pii:read; SDK session tokens cannot read detailed scores."
      },
      "CustomerSession": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "persona_id": {
            "type": "string"
          },
          "workspace_id": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "kyc_status": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "interview_mode": {
            "type": "string"
          },
          "current_step": {
            "type": "integer"
          },
          "interview_locale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "bundled_products": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "capture_status": {
            "type": "string"
          },
          "quote": {
            "$ref": "#/components/schemas/CustomerQuote"
          },
          "retention_years": {
            "type": "number"
          },
          "billed": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "revision": {
            "type": "integer"
          },
          "closed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "purge_due_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "purged_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "bundled_results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerBundleResult"
            }
          },
          "bundle_ready": {
            "type": "boolean"
          },
          "recapture": {
            "$ref": "#/components/schemas/CustomerRecapture"
          },
          "fields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerIdentityField"
            }
          },
          "result": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          },
          "policy": {
            "$ref": "#/components/schemas/CustomerPolicySnapshot"
          },
          "fraud": {
            "$ref": "#/components/schemas/CustomerPhotoFraudSummary"
          },
          "flow": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerFlowDefinition"
              },
              {
                "type": "object",
                "maxProperties": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "persona_id",
          "workspace_id",
          "state",
          "kyc_status",
          "product",
          "interview_mode",
          "current_step",
          "interview_locale",
          "bundled_products",
          "services",
          "capture_status",
          "quote",
          "retention_years",
          "billed",
          "created_at",
          "revision",
          "closed_at",
          "purge_due_at",
          "purged_at"
        ],
        "additionalProperties": true,
        "description": "A regional session. fields/result/policy/flow require pii:read and retained evidence; their absence does not imply a successful verification. quote is frozen for this session."
      },
      "CustomerComputeAssignment": {
        "type": "object",
        "properties": {
          "onboarding_id": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "compute_url": {
            "type": "string"
          },
          "compute_token": {
            "type": "string"
          },
          "expires_in": {
            "type": "integer"
          },
          "recapture": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": {
                  "$ref": "#/components/schemas/CustomerJsonValue"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "assignment_revision": {
            "type": "integer"
          },
          "reupload_required": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "evidence_id": {
                  "type": "string"
                },
                "logical_key": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "content_type": {
                  "type": "string"
                },
                "sha256": {
                  "type": "string"
                },
                "bytes": {
                  "type": "integer"
                },
                "chunk_sequence": {
                  "type": "integer"
                },
                "start_ms": {
                  "type": "integer"
                },
                "end_ms": {
                  "type": "integer"
                }
              },
              "required": [
                "evidence_id",
                "logical_key",
                "kind",
                "content_type",
                "sha256",
                "bytes"
              ],
              "additionalProperties": true
            }
          }
        },
        "required": [
          "onboarding_id",
          "state",
          "compute_url",
          "compute_token",
          "expires_in",
          "recapture",
          "assignment_revision",
          "reupload_required"
        ],
        "additionalProperties": true
      },
      "CustomerLatestCheck": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "onboarding_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "data_available": {
            "type": "boolean"
          },
          "route": {
            "type": "string"
          },
          "session_state": {
            "type": "string"
          },
          "outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "subject_name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "onboarding_id",
          "status",
          "created_at",
          "data_available",
          "route"
        ],
        "additionalProperties": true
      },
      "CustomerLatestChecks": {
        "type": "object",
        "properties": {
          "kyc": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerLatestCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerLatestCheck"
              },
              {
                "type": "null"
              }
            ]
          },
          "aml": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerLatestCheck"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "kyc",
          "address",
          "aml"
        ],
        "additionalProperties": true
      },
      "CustomerProduct": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "onboarding_id": {
            "type": "string"
          },
          "persona_id": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "corpus_generation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "data": {
            "$ref": "#/components/schemas/CustomerProductData"
          },
          "subject_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "subject_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "onboarding_id",
          "persona_id",
          "product",
          "status",
          "corpus_generation",
          "created_at"
        ],
        "additionalProperties": true
      },
      "CustomerWalletTrace": {
        "type": "object",
        "properties": {
          "nodes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "address": {
                  "type": "string"
                },
                "depth": {
                  "type": "integer"
                }
              },
              "required": [
                "address",
                "depth"
              ],
              "additionalProperties": true
            }
          },
          "edges": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string"
                },
                "target": {
                  "type": "string"
                },
                "transaction_id": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                }
              },
              "required": [
                "source",
                "target",
                "transaction_id",
                "kind"
              ],
              "additionalProperties": true
            }
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "complete": {
            "type": "boolean"
          },
          "pages": {
            "type": "integer"
          },
          "expanded_addresses": {
            "type": "integer"
          },
          "requested_depth": {
            "type": "integer"
          },
          "provider": {
            "type": "string"
          },
          "chain": {
            "type": "string"
          },
          "coverage": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limitations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "snapshot": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          }
        },
        "required": [
          "nodes",
          "edges",
          "reasons",
          "complete",
          "pages",
          "expanded_addresses",
          "requested_depth",
          "provider",
          "chain",
          "coverage",
          "limitations",
          "snapshot"
        ],
        "additionalProperties": true
      },
      "CustomerProductData": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "matched": {
            "type": "boolean"
          },
          "chain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "address": {
            "type": "string"
          },
          "hits": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/components/schemas/CustomerJsonValue"
              }
            }
          },
          "corpus_generation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_manifest": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          },
          "coverage": {
            "type": "string"
          },
          "trace": {
            "$ref": "#/components/schemas/CustomerWalletTrace"
          },
          "interpretation": {
            "type": "string"
          },
          "error_code": {
            "type": "string"
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "matching_version": {
            "type": "string"
          },
          "search_time_ms": {
            "type": "number"
          },
          "retrying": {
            "type": "boolean"
          }
        },
        "required": [],
        "additionalProperties": true,
        "description": "Product-specific retained result: AML hits, address/identity diagnostics or wallet trace. Wallet incomplete history has outcome=inconclusive, not no_match. Additional analysis fields are versioned."
      },
      "CustomerAuditEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "persona_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "onboarding_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "actor_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "sequence": {
            "type": "integer"
          },
          "hash": {
            "type": "string"
          },
          "previous_hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "payload": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          }
        },
        "required": [
          "id",
          "type",
          "persona_id",
          "onboarding_id",
          "actor_id",
          "created_at",
          "sequence",
          "hash",
          "previous_hash",
          "payload"
        ],
        "additionalProperties": true
      },
      "CustomerRetentionQuote": {
        "type": "object",
        "properties": {
          "actual_years": {
            "type": "number"
          },
          "additional_credits": {
            "type": "integer"
          },
          "refund_credits": {
            "type": "integer"
          },
          "anchor": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "purge_due_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "actual_years",
          "additional_credits",
          "refund_credits",
          "anchor",
          "purge_due_at"
        ],
        "additionalProperties": true
      },
      "CustomerRegionAccess": {
        "type": "object",
        "properties": {
          "available_regions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "region": {
                  "type": "string"
                },
                "api_url": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "required": [
                "region",
                "api_url",
                "scope"
              ],
              "additionalProperties": true
            }
          },
          "region_access": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "region": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                }
              },
              "required": [
                "region",
                "status"
              ],
              "additionalProperties": true
            }
          }
        },
        "required": [
          "available_regions",
          "region_access"
        ],
        "additionalProperties": true
      },
      "CustomerLogin": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "expires_in": {
            "type": "integer"
          },
          "account_region": {
            "type": "string"
          },
          "user": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "platform_admin": {
                "type": "boolean"
              }
            },
            "required": [
              "id",
              "name",
              "platform_admin"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "access_token",
          "token_type",
          "expires_in",
          "account_region",
          "user"
        ],
        "additionalProperties": true
      },
      "CustomerInvitation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "invitation_token": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "invitation_token",
          "region",
          "expires_at",
          "status"
        ],
        "additionalProperties": true
      },
      "CustomerCapacityLimits": {
        "type": "object",
        "properties": {
          "normal_rps": {
            "type": "integer"
          },
          "concurrency_limit": {
            "type": "integer"
          },
          "named_seats": {
            "type": "integer"
          }
        },
        "required": [
          "normal_rps",
          "concurrency_limit",
          "named_seats"
        ],
        "additionalProperties": true
      },
      "CustomerCapacity": {
        "type": "object",
        "properties": {
          "organization_id": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "budget": {
            "$ref": "#/components/schemas/CustomerCapacityLimits"
          },
          "allocations": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerCapacityLimits"
            }
          },
          "requested": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerCapacityLimits"
            }
          },
          "phase": {
            "type": "string"
          },
          "acknowledged_regions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "completions_per_minute_is_target": {
            "type": "boolean"
          }
        },
        "required": [
          "organization_id",
          "revision",
          "budget",
          "allocations",
          "requested",
          "phase",
          "acknowledged_regions",
          "completions_per_minute_is_target"
        ],
        "additionalProperties": true
      },
      "CustomerWallet": {
        "additionalProperties": false,
        "properties": {
          "wallet_id": {
            "title": "Wallet Id",
            "type": "string"
          },
          "owner_region": {
            "enum": [
              "tr",
              "eu"
            ],
            "title": "Owner Region",
            "type": "string"
          },
          "owner_epoch": {
            "title": "Owner Epoch",
            "type": "integer"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "posted_balance": {
            "title": "Posted Balance",
            "type": "integer"
          },
          "known_holds": {
            "title": "Known Holds",
            "type": "integer"
          },
          "known_pending_usage": {
            "title": "Known Pending Usage",
            "type": "integer"
          },
          "balance_after_known_activity": {
            "title": "Balance After Known Activity",
            "type": "integer"
          },
          "outstanding_authority": {
            "title": "Outstanding Authority",
            "type": "integer"
          },
          "regional_reports_fresh": {
            "title": "Regional Reports Fresh",
            "type": "boolean"
          },
          "global_spendable_exact": {
            "title": "Global Spendable Exact",
            "type": "boolean"
          },
          "as_of": {
            "format": "date-time",
            "title": "As Of",
            "type": "string"
          },
          "overdraft_limit": {
            "title": "Overdraft Limit",
            "type": "integer"
          },
          "lots": {
            "items": {
              "$ref": "#/components/schemas/CustomerWalletBaseLotView"
            },
            "title": "Lots",
            "type": "array"
          },
          "freshness": {
            "type": "string"
          }
        },
        "required": [
          "wallet_id",
          "owner_region",
          "owner_epoch",
          "status",
          "posted_balance",
          "known_holds",
          "known_pending_usage",
          "balance_after_known_activity",
          "outstanding_authority",
          "regional_reports_fresh",
          "global_spendable_exact",
          "as_of",
          "overdraft_limit",
          "lots",
          "freshness"
        ],
        "title": "WalletView",
        "type": "object"
      },
      "CustomerLedger": {
        "additionalProperties": false,
        "properties": {
          "wallet_id": {
            "title": "Wallet Id",
            "type": "string"
          },
          "owner_region": {
            "enum": [
              "tr",
              "eu"
            ],
            "title": "Owner Region",
            "type": "string"
          },
          "as_of": {
            "format": "date-time",
            "title": "As Of",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CustomerLedgerBaseLedgerItem"
            },
            "maxItems": 1000,
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Next Cursor"
          },
          "freshness": {
            "type": "string"
          }
        },
        "required": [
          "wallet_id",
          "owner_region",
          "as_of",
          "items",
          "freshness"
        ],
        "title": "LedgerView",
        "type": "object"
      },
      "CustomerCheckout": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "checkout_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "amount_cents": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "sku",
          "state",
          "checkout_url",
          "amount_cents",
          "currency",
          "error_code"
        ],
        "additionalProperties": true
      },
      "CustomerMonitoringPrice": {
        "type": "object",
        "properties": {
          "catalog_version": {
            "type": "string"
          },
          "credits_per_check": {
            "type": "integer"
          },
          "activation_credits": {
            "type": "integer"
          },
          "retention_credits": {
            "type": "integer"
          },
          "interval_hours": {
            "type": "integer"
          },
          "estimated_30_day_credits": {
            "type": "integer"
          },
          "billing_trigger": {
            "type": "string"
          },
          "failed_check_credits": {
            "type": "integer"
          },
          "retention_policy": {
            "type": "string"
          }
        },
        "required": [
          "catalog_version",
          "credits_per_check",
          "activation_credits",
          "retention_credits",
          "interval_hours",
          "estimated_30_day_credits",
          "billing_trigger",
          "failed_check_credits",
          "retention_policy"
        ],
        "additionalProperties": true
      },
      "CustomerMonitoring": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "persona_id": {
            "type": "string"
          },
          "source_kind": {
            "type": "string"
          },
          "source_id": {
            "type": "string"
          },
          "source_onboarding_id": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "interval_hours": {
            "type": "integer"
          },
          "last_check_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "last_run_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "disabled_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "state": {
            "type": "string"
          },
          "next_check_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "credits_per_check": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "price_snapshot": {
            "$ref": "#/components/schemas/CustomerMonitoringPrice"
          },
          "data_available": {
            "type": "boolean"
          },
          "external_subject_id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "persona_id",
          "source_kind",
          "source_id",
          "source_onboarding_id",
          "revision",
          "interval_hours",
          "last_check_at",
          "last_outcome",
          "last_error",
          "last_run_id",
          "created_at",
          "disabled_at",
          "state",
          "next_check_at",
          "expires_at",
          "credits_per_check",
          "price_snapshot",
          "data_available"
        ],
        "additionalProperties": true
      },
      "CustomerMonitoringRun": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "source_onboarding_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "scheduled_for": {
            "type": "string",
            "format": "date-time"
          },
          "started_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "changed": {
            "type": "boolean"
          },
          "alert_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "matched_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "new_match_count": {
            "type": "integer"
          },
          "removed_match_count": {
            "type": "integer"
          },
          "charged_credits": {
            "type": "integer"
          },
          "corpus_generation": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "data_available": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/CustomerProductData"
          }
        },
        "required": [
          "id",
          "source_onboarding_id",
          "status",
          "scheduled_for",
          "started_at",
          "completed_at",
          "outcome",
          "changed",
          "alert_type",
          "matched_count",
          "new_match_count",
          "removed_match_count",
          "charged_credits",
          "corpus_generation",
          "error_code",
          "created_at",
          "data_available"
        ],
        "additionalProperties": true
      },
      "CustomerStorageProfile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "owner_workspace_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "driver": {
            "type": "string"
          },
          "bucket": {
            "type": "string"
          },
          "endpoint": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "prefix": {
            "type": "string"
          },
          "provider_region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "jurisdiction": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "jurisdiction_verified": {
            "type": "boolean"
          },
          "jurisdiction_reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string"
          },
          "writable": {
            "type": "boolean"
          },
          "is_default": {
            "type": "boolean"
          },
          "primary": {
            "type": "boolean"
          },
          "health": {
            "type": "string"
          },
          "last_probe_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "error_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "revision": {
            "type": "integer"
          },
          "credential_revision": {
            "type": "integer"
          },
          "has_credentials": {
            "type": "boolean"
          },
          "credential_delivery": {
            "type": "string"
          },
          "recipient_count": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "label",
          "region",
          "owner_workspace_id",
          "driver",
          "bucket",
          "endpoint",
          "prefix",
          "provider_region",
          "jurisdiction",
          "jurisdiction_verified",
          "jurisdiction_reference",
          "status",
          "writable",
          "is_default",
          "primary",
          "health",
          "last_probe_at",
          "error_code",
          "revision",
          "credential_revision",
          "has_credentials",
          "credential_delivery",
          "recipient_count"
        ],
        "additionalProperties": true
      },
      "CustomerFlowSelection": {
        "type": "object",
        "properties": {
          "template_id": {
            "type": "string"
          },
          "voice_gender": {
            "type": "string"
          },
          "flow_id": {
            "type": "string"
          }
        },
        "required": [
          "template_id",
          "voice_gender",
          "flow_id"
        ],
        "additionalProperties": true
      },
      "CustomerFlow": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "definition": {
            "$ref": "#/components/schemas/CustomerFlowDefinition"
          },
          "voice_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "voice_ids": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "generation_grant": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          },
          "supported_locales": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "prompt_audio_ready": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "audio_ready": {
            "type": "boolean"
          },
          "audio_job": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string"
                  },
                  "error_code": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "attempt": {
                    "type": "integer"
                  },
                  "available_at": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "state",
                  "error_code",
                  "attempt",
                  "available_at"
                ],
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "version",
          "status",
          "definition",
          "voice_id",
          "voice_ids",
          "generation_grant",
          "supported_locales",
          "prompt_audio_ready",
          "audio_ready",
          "audio_job"
        ],
        "additionalProperties": true
      },
      "CustomerFlowVariant": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "flow_id": {
            "type": "string"
          },
          "voice_gender": {
            "type": "string"
          },
          "ready": {
            "type": "boolean"
          },
          "audio_ready": {
            "type": "boolean"
          },
          "prompt_audio_ready": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "supported_locales": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "voices": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "preview_url": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "label",
                "preview_url"
              ],
              "additionalProperties": true
            }
          },
          "definition": {
            "$ref": "#/components/schemas/CustomerFlowDefinition"
          }
        },
        "required": [
          "id",
          "flow_id",
          "voice_gender",
          "ready",
          "audio_ready",
          "prompt_audio_ready",
          "supported_locales",
          "voices",
          "definition"
        ],
        "additionalProperties": true
      },
      "CustomerFlowTemplate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "template_id": {
            "type": "string"
          },
          "name": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "description": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "guidance": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sector": {
            "type": "string"
          },
          "definition": {
            "$ref": "#/components/schemas/CustomerFlowDefinition"
          },
          "variants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomerFlowVariant"
            }
          },
          "ready": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "template_id",
          "name",
          "description",
          "guidance",
          "regions",
          "sector",
          "definition",
          "variants",
          "ready"
        ],
        "additionalProperties": true
      },
      "CustomerVoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "locales": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "gender": {
            "type": "string"
          },
          "preview_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "label",
          "locales",
          "gender",
          "preview_url",
          "enabled",
          "revision"
        ],
        "additionalProperties": true
      },
      "CustomerApplicationSummary": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CustomerSession"
          },
          {
            "type": "object",
            "properties": {
              "customer_reference": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "applicant_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "risk_score": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "checks": {
                "type": "object",
                "additionalProperties": {
                  "type": "boolean"
                }
              },
              "data_available": {
                "type": "boolean"
              }
            },
            "required": [
              "customer_reference",
              "applicant_name",
              "risk_score",
              "checks",
              "data_available"
            ],
            "additionalProperties": true
          }
        ]
      },
      "CustomerApplication": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CustomerSession"
          },
          {
            "type": "object",
            "properties": {
              "customer_reference": {
                "type": "string"
              },
              "data_available": {
                "type": "boolean"
              },
              "review_available": {
                "type": "boolean"
              },
              "pending_evidence_jobs": {
                "type": "integer"
              },
              "review_kind": {
                "type": "string"
              },
              "ai_review": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "diagnostics": {
                        "type": "object",
                        "additionalProperties": {
                          "$ref": "#/components/schemas/CustomerJsonValue"
                        }
                      },
                      "reasons": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "history": {
                        "anyOf": [
                          {
                            "type": "object",
                            "additionalProperties": {
                              "$ref": "#/components/schemas/CustomerJsonValue"
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "answers": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string"
                            },
                            "step_id": {
                              "type": "string"
                            },
                            "attempt": {
                              "type": "integer"
                            },
                            "status": {
                              "type": "string"
                            },
                            "decision": {
                              "type": "object",
                              "additionalProperties": {
                                "$ref": "#/components/schemas/CustomerJsonValue"
                              }
                            },
                            "evidence_id": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "step_id",
                            "attempt",
                            "status",
                            "decision",
                            "evidence_id"
                          ],
                          "additionalProperties": true
                        }
                      },
                      "master_evidence_id": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "diagnostics",
                      "reasons",
                      "history",
                      "answers",
                      "master_evidence_id"
                    ],
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "manual_fallback_available": {
                "type": "boolean"
              },
              "invalidation_available": {
                "type": "boolean"
              },
              "source_fields": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "evidence_id": {
                      "type": "string"
                    },
                    "evidence_kind": {
                      "type": "string"
                    },
                    "name": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    },
                    "value": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    },
                    "source": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    },
                    "proof": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    },
                    "confidence": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    },
                    "validation_status": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    },
                    "verified": {
                      "$ref": "#/components/schemas/CustomerJsonValue"
                    }
                  },
                  "required": [
                    "evidence_id",
                    "evidence_kind"
                  ],
                  "additionalProperties": true
                }
              },
              "evidence_checks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "evidence_kind": {
                      "type": "string"
                    },
                    "processed": {
                      "type": "boolean"
                    },
                    "values": {
                      "type": "object",
                      "additionalProperties": {
                        "$ref": "#/components/schemas/CustomerJsonValue"
                      }
                    }
                  },
                  "required": [
                    "evidence_kind",
                    "processed",
                    "values"
                  ],
                  "additionalProperties": true
                }
              },
              "review_media_status": {
                "type": "string"
              },
              "review_media_error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "review_media_pending": {
                "type": "integer"
              },
              "recapture_available": {
                "type": "boolean"
              },
              "recapture_count": {
                "type": "integer"
              },
              "recapture_limit": {
                "type": "integer"
              },
              "recapture_required_kinds": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "recapture_history": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": {
                    "$ref": "#/components/schemas/CustomerJsonValue"
                  }
                }
              }
            },
            "required": [
              "customer_reference",
              "data_available",
              "review_available",
              "pending_evidence_jobs",
              "review_kind",
              "ai_review",
              "manual_fallback_available",
              "invalidation_available",
              "source_fields",
              "evidence_checks",
              "review_media_status",
              "review_media_error",
              "review_media_pending",
              "recapture_available",
              "recapture_count",
              "recapture_limit",
              "recapture_required_kinds",
              "recapture_history"
            ],
            "additionalProperties": true
          }
        ]
      },
      "OpsManualCall": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "onboarding_id": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "checklist": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "step_id": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "instruction": {
                  "type": "string"
                },
                "required_photo": {
                  "type": "boolean"
                },
                "required": {
                  "type": "boolean"
                },
                "photo_side": {
                  "type": "string"
                },
                "photo_id": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "photo_url": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "completed": {
                  "type": "boolean"
                },
                "completed_at": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "step_id",
                "kind",
                "instruction",
                "required_photo",
                "required"
              ],
              "additionalProperties": false,
              "description": "Flow-derived operator checklist; completion and captured photo fields appear after the operator completes the step."
            }
          },
          "recording_status": {
            "type": "string"
          },
          "generation": {
            "type": "integer"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "onboarding_id",
          "state",
          "checklist",
          "recording_status",
          "generation",
          "expires_at"
        ],
        "additionalProperties": false
      },
      "OpsLiveKitParticipant": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "room": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "room",
          "token"
        ],
        "additionalProperties": false
      },
      "ApiLive": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "region",
          "role"
        ],
        "additionalProperties": true
      },
      "ApiReady": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "region": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "region"
        ],
        "additionalProperties": true
      },
      "PublicContactReceipt": {
        "type": "object",
        "properties": {
          "accepted": {
            "type": "boolean"
          }
        },
        "required": [
          "accepted"
        ],
        "additionalProperties": true
      },
      "PublicSiteStatus": {
        "type": "object",
        "properties": {
          "region": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "operational",
              "degraded",
              "outage",
              "unknown",
              "major_outage"
            ]
          },
          "components": {
            "type": "object",
            "properties": {
              "api": {
                "type": "string",
                "enum": [
                  "operational",
                  "degraded",
                  "outage",
                  "unknown",
                  "major_outage"
                ]
              },
              "screening": {
                "type": "string",
                "enum": [
                  "operational",
                  "degraded",
                  "outage",
                  "unknown",
                  "major_outage"
                ]
              },
              "reports": {
                "type": "string",
                "enum": [
                  "operational",
                  "degraded",
                  "outage",
                  "unknown",
                  "major_outage"
                ]
              },
              "webhooks": {
                "type": "string",
                "enum": [
                  "operational",
                  "degraded",
                  "outage",
                  "unknown",
                  "major_outage"
                ]
              }
            },
            "required": [
              "api",
              "screening",
              "reports",
              "webhooks"
            ],
            "additionalProperties": true
          },
          "as_of": {
            "type": "string",
            "format": "date-time"
          },
          "active_incidents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSiteIncident"
            }
          },
          "recent_30d": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSiteIncident"
            }
          },
          "incidents_available": {
            "type": "boolean"
          }
        },
        "required": [
          "region",
          "status",
          "components",
          "as_of",
          "active_incidents",
          "recent_30d",
          "incidents_available"
        ],
        "additionalProperties": true
      },
      "PublicSiteIncident": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "resolved_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "title",
          "message",
          "severity",
          "status",
          "revision",
          "created_at",
          "updated_at",
          "resolved_at"
        ],
        "additionalProperties": true
      },
      "ApiValidationIssue": {
        "type": "object",
        "properties": {
          "loc": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            }
          },
          "msg": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "additionalProperties": true
      },
      "ApiError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "details": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomerJsonValue"
            }
          }
        },
        "required": [
          "code",
          "message"
        ],
        "additionalProperties": true
      },
      "ApiErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ApiError"
          },
          "detail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApiValidationIssue"
            }
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": true
      },
      "ApiWebhookEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "kyc.recapture_requested",
              "manual.completed",
              "monitoring.changed",
              "monitoring.failed",
              "onboarding.closed",
              "onboarding.invalidated",
              "product.completed",
              "retention.deleted"
            ]
          },
          "workspace_id": {
            "type": "string"
          },
          "resource_id": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "id",
          "type",
          "workspace_id",
          "resource_id",
          "state",
          "created_at"
        ],
        "additionalProperties": true
      }
    },
    "securitySchemes": {
      "ServerApiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Workspace-bound v3_ server API key. Keep it on the customer backend; never send to a device or a compute host."
      },
      "PanelSession": {
        "type": "http",
        "scheme": "bearer",
        "description": "Panel JWT; permissions are rechecked against current regional membership.",
        "bearerFormat": "JWT"
      },
      "SdkSession": {
        "type": "http",
        "scheme": "bearer",
        "description": "Onboarding-scoped sdk JWT from the creation receipt. Lifecycle only, until original expiry.",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "Error400": {
        "description": "Malformed request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error401": {
        "description": "Authentication required or expired",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        },
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      },
      "Error402": {
        "description": "Credit authority unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error403": {
        "description": "Scope or permission denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error404": {
        "description": "Not found or unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error405": {
        "description": "Method not allowed",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error409": {
        "description": "State, revision or idempotency conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error410": {
        "description": "Retention expired",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error413": {
        "description": "Request exceeds byte budget",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error415": {
        "description": "Unsupported media type",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error422": {
        "description": "Invalid fields or business input",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error429": {
        "description": "Rate or admission limit",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Optional server-specified delay in seconds; do not retry a non-idempotent mutation with a new key.",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      },
      "Error500": {
        "description": "Internal error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error502": {
        "description": "Invalid upstream response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        }
      },
      "Error503": {
        "description": "Dependency or capacity temporarily unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiErrorResponse"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Optional server-specified delay in seconds; do not retry a non-idempotent mutation with a new key.",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    }
  },
  "webhooks": {
    "legichainEvent": {
      "post": {
        "operationId": "receiveLegichainEvent",
        "summary": "Receive a signed asynchronous event",
        "description": "At-least-once, potentially out-of-order delivery. Verify raw bytes and timestamp before parsing; deduplicate payload id durably and return 2xx promptly. Do not assume event order. Fetch authorized resource details from its regional API. No identity fields or media are sent. Signature is HMAC-SHA256 of UTF-8 timestamp + '.' + exact body, with the endpoint secret; header t=timestamp,v1=hex. The sender makes at most eight attempts; operator replay can cause another delivery.",
        "security": [],
        "x-authentication": "endpoint-hmac",
        "parameters": [
          {
            "name": "Legichain-Signature",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Legichain-Event-ID",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApiWebhookEvent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Acknowledged; any 2xx response acknowledges delivery."
          }
        }
      }
    }
  },
  "x-contract-version": "2026-11-04.fraud52",
  "x-compatibility": "V3 additions are additive; unknown response properties must be tolerated. Idempotent input snapshots and billed attempts remain immutable. No V2 wire compatibility is implied."
}
