{
  "openapi": "3.1.0",
  "info": {
    "title": "NoCodeREST Control API",
    "version": "0.2.0-development",
    "description": "Invite-only Development backend: Kotlin control APIs, scoped integration keys, organization roles, versioned schemas and encrypted shared NoSQL data. Durable monthly usage and configurable bounded product entitlements are enforced. Immutable plans, organization assignments/renewals and temporary overrides are Super Admin only. Discount redemption, online billing, relationships/files, scalable indexes and production acceptance remain pending. See docs/no-code-platform/PRODUCT-CONFIGURATION.md. Current-month usage includes bounded project/table/API-version/key attribution. Older calls are explicitly unattributed; overflow groups remain exact. Key identities are owner/admin/Super Admin only. Same-project pinned relationship fields support one-level expansion with dependent freshness. Independent protected organization/project files use reserve/upload/finalize and explicit public image visibility; file fields expose only declared authorized attachments."
  },
  "servers": [
    {
      "url": "/",
      "description": "Current host. Planned public hostname: nocodbackend.eknath.dev (DNS/certificate pending)."
    }
  ],
  "paths": {
    "/control/v2/projects/{projectId}/app-auth": {
      "get": {
        "summary": "Read project app sign-in settings",
        "description": "Safe app-auth mode/origin/revision and delivery readiness. Requires project.read for a permitted project. No delivery credentials or app users returned. Returns safe provider metadata and supportedProviders. No credential/private-key material is returned.",
        "operationId": "read_app_auth",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppAuthConfiguration"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Set project app sign-in settings",
        "description": "Console owner/admin or resource-scoped auth.write key with live issuer owner/admin. Requires If-Match. Changing sign-in configuration invalidates existing app sessions/codes; agents must explain impact and obtain approval before enabling public signup. Optional provider connection: managed email OTP or Firebase, gated by global externalAppAuthEnabled (enabled by default for the Development release). Credential is write-only/encrypted. Firebase needs no mail sender. Expected mode/origin and If-Match remain required. No user roles or Firebase account management. Changing provider never links identities by email.",
        "operationId": "write_app_auth",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppAuthConfiguration"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "mode": {
                    "enum": [
                      "disabled",
                      "invite_only",
                      "open"
                    ]
                  },
                  "origin": {
                    "type": "string",
                    "maxLength": 255
                  },
                  "provider": {
                    "type": "string",
                    "enum": [
                      "managed",
                      "firebase"
                    ],
                    "description": "Omitted preserves the current provider; existing projects default to managed."
                  },
                  "firebaseProjectId": {
                    "type": "string",
                    "pattern": "^[a-z][a-z0-9-]{4,28}[a-z0-9]$"
                  },
                  "firebaseCredentials": {
                    "type": "object",
                    "description": "Write-only service-account JSON for this Firebase project, at most 4096 UTF-8 bytes. Stored encrypted and never returned. Only standard Google service-account credentials/token URI accepted. Required on first connection or Firebase project change. Omit to retain the existing credential.",
                    "additionalProperties": false,
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "project_id": {
                        "type": "string"
                      },
                      "private_key_id": {
                        "type": "string"
                      },
                      "private_key": {
                        "type": "string"
                      },
                      "client_email": {
                        "type": "string"
                      },
                      "client_id": {
                        "type": "string"
                      },
                      "auth_uri": {
                        "type": "string"
                      },
                      "token_uri": {
                        "type": "string"
                      },
                      "auth_provider_x509_cert_url": {
                        "type": "string"
                      },
                      "client_x509_cert_url": {
                        "type": "string"
                      },
                      "universe_domain": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "project_id",
                      "private_key",
                      "client_email",
                      "token_uri"
                    ],
                    "writeOnly": true,
                    "x-max-utf8-bytes": 4096
                  }
                },
                "required": [
                  "mode",
                  "origin"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/app-auth/invitations": {
      "post": {
        "summary": "Allow an email address to sign in",
        "description": "Console owner/admin, or explicitly resource-scoped auth.write key with live owner/admin issuer in this project. Saves an allowed email; sends no invitation email and grants no console role. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "invite_app_user",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppInvitation"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables/{tableId}/access": {
      "get": {
        "summary": "Read table access preset",
        "description": "Console owner/admin, or explicitly resource-scoped schema.access key with live owner/admin issuer and schema.read. Selected table and project scope is enforced. Unconfigured tables are private at revision zero. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "read_table_access",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableAccess"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Set the access preset",
        "description": "Console owner/admin, or explicitly resource-scoped schema.access key with live owner/admin issuer and schema.read. Selected table and project scope is enforced. For own_records provide version. For public_read also provide publicOperations, publicFields, visibilityField and ownerEdits. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "write_table_access",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableAccess"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "preset": {
                    "enum": [
                      "private",
                      "own_records",
                      "public_read"
                    ]
                  },
                  "version": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "publicOperations": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "get",
                        "list"
                      ]
                    },
                    "minItems": 1
                  },
                  "publicFields": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "minItems": 1
                  },
                  "visibilityField": {
                    "type": "string"
                  },
                  "ownerEdits": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "preset"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/auth/v1/projects/{projectId}/otp-challenges": {
      "post": {
        "summary": "Request an app email code",
        "description": "Uses the configured web origin. Returns a generic accepted response and delivers eligible codes asynchronously. 202 acknowledges request acceptance; it is not an email-delivery guarantee. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint. Managed NoCodeREST authentication only; Firebase clients use the Firebase SDK for sign-in, refresh and sign-out. A configured external provider returns AUTH_PROVIDER_MISMATCH. Firebase sign-out/global revocation is not implemented by this endpoint.",
        "operationId": "app_otp_challenges",
        "security": [],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptedMessage"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/auth/v1/projects/{projectId}/otp-verifications": {
      "post": {
        "summary": "Verify an app email code",
        "description": "Redeems a valid code once for a project session. Returns token, expiresIn and user with id and email. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint. Managed NoCodeREST authentication only; Firebase clients use the Firebase SDK for sign-in, refresh and sign-out. A configured external provider returns AUTH_PROVIDER_MISMATCH. Firebase sign-out/global revocation is not implemented by this endpoint.",
        "operationId": "app_otp_verifications",
        "security": [],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppLogin"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  }
                },
                "required": [
                  "email",
                  "code"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/auth/v1/projects/{projectId}/me": {
      "get": {
        "summary": "Get the current app user",
        "description": "Returns the NoCodeREST project app-user ID and profile email for the configured managed session or Firebase ID token. Identity is provider/project scoped; roles/custom claims are not imported. Firebase refresh tokens, custom tokens, tokens for another Firebase project and console/key credentials are not accepted.",
        "operationId": "app_user_me",
        "security": [
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppIdentity"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/auth/v1/projects/{projectId}/logout": {
      "post": {
        "summary": "Revoke an app session",
        "description": "Revokes the current project app token. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint. Managed NoCodeREST authentication only; Firebase clients use the Firebase SDK for sign-in, refresh and sign-out. A configured external provider returns AUTH_PROVIDER_MISMATCH. Firebase sign-out/global revocation is not implemented by this endpoint.",
        "operationId": "app_user_logout",
        "security": [
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful operation; empty response body."
          },
          "403": {
            "$ref": "#/components/responses/ApiError403"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/identity/v1/config": {
      "get": {
        "summary": "Check custom email OTP configuration",
        "operationId": "get__identity_v1_config",
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityConfig"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/identity/v1/otp-challenges": {
      "post": {
        "summary": "Request an email code",
        "operationId": "post__identity_v1_otp-challenges",
        "parameters": [],
        "security": [],
        "responses": {
          "202": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityChallenge"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  }
                }
              }
            }
          }
        },
        "description": "202 acknowledges request acceptance; it is not an email-delivery guarantee. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/identity/v1/otp-verifications": {
      "post": {
        "summary": "Verify code and establish Secure HttpOnly session",
        "operationId": "post__identity_v1_otp-verifications",
        "parameters": [],
        "security": [],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityEmail"
                }
              }
            },
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie: Secure; HttpOnly; SameSite=Strict; Path=/. Logout/reset expires it. Cookie contents are opaque.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "challengeId",
                  "code"
                ],
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "challengeId": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/identity/v1/session": {
      "get": {
        "summary": "Read console identity and CSRF token",
        "operationId": "get__identity_v1_session",
        "parameters": [],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentitySession"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/identity/v1/logout": {
      "post": {
        "summary": "Revoke this console session",
        "operationId": "post__identity_v1_logout",
        "parameters": [
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "204": {
            "description": "Successful operation; empty response body.",
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie: Secure; HttpOnly; SameSite=Strict; Path=/. Logout/reset expires it. Cookie contents are opaque.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/capabilities": {
      "get": {
        "summary": "Discover allowed scopes and POC capabilities",
        "operationId": "get__control_v1_capabilities",
        "parameters": [
          {
            "name": "project_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Select an authorized project for current key capabilities. Organization-scoped keys retain organization isolation. Omitted uses the issuing/default project."
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlCapabilities"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Returns scopes and protocol metadata, including fieldKeyRules: pattern, maxLength, reserved and preserveExistingKeys. Live editors consume these rules; new manual, REST and AI schema keys use the same validation. The sorting descriptor names sort_by/sort_order, their protocol defaults, system fields and allowed directions. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/organizations": {
      "get": {
        "summary": "List owned organizations",
        "operationId": "get__control_v1_organizations",
        "parameters": [],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrganizationResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Create an organization",
        "operationId": "post__control_v1_organizations",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/organizations/{orgId}/projects": {
      "get": {
        "summary": "List owned projects",
        "operationId": "get__control_v1_organizations_orgId_projects",
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Create a project",
        "operationId": "post__control_v1_organizations_orgId_projects",
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Console owner/admin or resource-scoped all-project key with project.write in this same organization. Normal project quotas and idempotency apply. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/projects/{projectId}": {
      "get": {
        "summary": "Read project metadata (project.read)",
        "operationId": "get__control_v1_projects_projectId",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/projects/{projectId}/keys": {
      "get": {
        "summary": "List key metadata; never returns key secrets",
        "operationId": "get__control_v1_projects_projectId_keys",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KeyMetadata"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Issue a named expiring AI key; secret returned once",
        "operationId": "post__control_v1_projects_projectId_keys",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyCreated"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "scopes",
                  "expiresInDays"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "scopes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "enum": [
                        "project.read",
                        "schema.read",
                        "schema.write",
                        "schema.publish",
                        "data.read",
                        "data.write"
                      ]
                    }
                  },
                  "expiresInDays": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 30
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/projects/{projectId}/keys/{keyId}/revoke": {
      "post": {
        "summary": "Permanently revoke a key",
        "operationId": "post__control_v1_projects_projectId_keys_keyId_revoke",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/projects/{projectId}/collections": {
      "get": {
        "summary": "List collection drafts (schema.read)",
        "operationId": "get__control_v1_projects_projectId_collections",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LegacySchemaResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Create a logical collection draft (schema.write)",
        "operationId": "post__control_v1_projects_projectId_collections",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacySchemaResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "fields"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 20,
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "type"
                      ],
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "type": "string",
                          "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
                          "description": "New keys use lowercase words separated by single underscores, start with a letter, and have at most 40 characters. System names, constructor and prototype are reserved. Existing stored keys remain valid when unchanged; label edits do not rename JSON properties.",
                          "maxLength": 40
                        },
                        "type": {
                          "enum": [
                            "text",
                            "email",
                            "integer",
                            "decimal",
                            "boolean",
                            "date"
                          ]
                        },
                        "required": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v1/projects/{projectId}/collections/{collectionId}": {
      "patch": {
        "summary": "Update a draft with expected revision (schema.write)",
        "operationId": "patch__control_v1_projects_projectId_collections_collectionId",
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "collectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current integer draft revision, optionally quoted."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacySchemaResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "fields"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 20,
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "type"
                      ],
                      "additionalProperties": false,
                      "properties": {
                        "name": {
                          "type": "string",
                          "pattern": "^[a-z][a-zA-Z0-9_]{0,39}$",
                          "description": "New keys use lowercase words separated by single underscores, start with a letter, and have at most 40 characters. System names, constructor and prototype are reserved. Existing stored keys remain valid when unchanged; label edits do not rename JSON properties."
                        },
                        "type": {
                          "enum": [
                            "text",
                            "email",
                            "integer",
                            "decimal",
                            "boolean",
                            "date"
                          ]
                        },
                        "required": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/identity/v1/testing-access": {
      "post": {
        "summary": "Redeem a private one-use Development testing link",
        "description": "Disabled by default; only enabled on the dedicated Development project/origin. Requires exact Origin. Ticket expires after 15 minutes; session expires after one hour. This does not verify email ownership. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "redeemTestingAccess",
        "security": [],
        "parameters": [
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "ticket"
                ],
                "properties": {
                  "ticket": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{43}$",
                    "writeOnly": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityEmail"
                }
              }
            },
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie: Secure; HttpOnly; SameSite=Strict; Path=/. Logout/reset expires it. Cookie contents are opaque.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_3"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_3"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections": {
      "get": {
        "summary": "List collection folders",
        "operationId": "get_control_v2_projects_projectId_collections",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CollectionResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Create a collection folder",
        "operationId": "post_control_v2_projects_projectId_collections",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollectionResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "maxLength": 80
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables": {
      "get": {
        "summary": "List tables and immutable releases",
        "operationId": "get_control_v2_projects_projectId_collections_collectionId_tables",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TableResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Create table draft",
        "operationId": "post_control_v2_projects_projectId_collections_collectionId_tables",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableDefinitionV2"
              }
            }
          }
        },
        "description": "Supports literal defaults, field labels/IDs and bounded JSON objects. Objects have no declared child schema yet: depth <=4, <=100 values, <=2000 encoded characters, arrays <=20 and scalar strings <=240 characters. Whole-object replacement on PATCH; object search/filter/sort rejected. Dynamic defaults are unsupported. Same-project relationships to published target versions and scoped file IDs are supported; consult capabilities and effective policies. Text maxLength is optional, defaults to 240, accepts integers 1..4096, and is immutable after publication. The full record must fit within 32 KiB. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables/{tableId}": {
      "get": {
        "summary": "Read table draft and releases",
        "operationId": "get_control_v2_projects_projectId_collections_collectionId_tables_tableId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "patch": {
        "summary": "Update draft without changing published versions",
        "operationId": "patch_control_v2_projects_projectId_collections_collectionId_tables_tableId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableDefinitionV2"
              }
            }
          }
        },
        "description": "Supports literal defaults, field labels/IDs and bounded JSON objects. Objects have no declared child schema yet: depth <=4, <=100 values, <=2000 encoded characters, arrays <=20 and scalar strings <=240 characters. Whole-object replacement on PATCH; object search/filter/sort rejected. Dynamic defaults are unsupported. Same-project relationships to published target versions and scoped file IDs are supported; consult capabilities and effective policies. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables/{tableId}/publish": {
      "post": {
        "summary": "Publish a reviewed draft and optionally retire the previous API version",
        "operationId": "post_control_v2_projects_projectId_collections_collectionId_tables_tableId_publish",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "retire_previous": {
                    "type": "boolean",
                    "default": false,
                    "description": "Keep the previous version available unless explicitly set to true."
                  }
                }
              }
            }
          }
        },
        "description": "Requires schema.publish. Rechecks compatibility, current limits and app-user access against the saved table revision. Publication and optional retirement commit in one table update. Retired endpoints return 410 VERSION_RETIRED. Records stay shared. Retry the same If-Match revision and retirement choice to recover its stored publishedVersion without another release. Different choices or stale edits return 412. Unchanged drafts are rejected. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables/{tableId}/effective-policy": {
      "get": {
        "summary": "Read effective draft or selected published access policy",
        "operationId": "get_control_v2_projects_projectId_collections_collectionId_tables_tableId_effective_policy",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "version",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "description": "Select a published release. Omission returns the draft policy. Retired releases return no operations and retired=true."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EffectiveTablePolicy"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Requires schema.read. With version, includes retired, operations, appUserOperations, publicOperations and publicFields. Public/app-user actions intersect table and inherited operations and apply only to the exact bound, available release. App-user actions additionally require enabled project sign-in and supported own-record schema. Public actions require the product public-read switch. This is descriptive metadata, not a credential grant; runtime authorization still applies. Without version, returns draft operations and inherited page limit only. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/policies/{kind}/{resourceId}": {
      "get": {
        "summary": "Read organization, project or collection policy",
        "operationId": "get_control_v2_projects_projectId_policies_kind_resourceId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TablePolicy"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Console session or resource-scoped project.read key; collection policy additionally needs schema.read. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "patch": {
        "summary": "Narrow inherited operation and page-size policy",
        "operationId": "patch_control_v2_projects_projectId_policies_kind_resourceId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "kind",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "resourceId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TablePolicy"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "operations",
                  "max_page_size"
                ],
                "properties": {
                  "operations": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "create",
                        "get",
                        "list",
                        "update",
                        "delete"
                      ]
                    }
                  },
                  "max_page_size": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Console owner/admin or resource-scoped schema.access key with live owner/admin issuer. Requires project.read (and schema.read for collection policies). Key must have all-table scope; organization policies also require all-project scope. Requires current If-Match. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/identity/v1/password-reset-requests": {
      "post": {
        "summary": "Request a password reset email",
        "description": "Dedicated Development only when SMTP and password access are configured. Exact Origin is required. Eligible accounts receive an asynchronous reset email. The response does not disclose account eligibility or delivery status. 202 acknowledges request acceptance; it is not an email-delivery guarantee. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "password_reset_requests",
        "security": [],
        "parameters": [
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  }
                }
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptedMessage"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_5"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_4"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_3"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/identity/v1/password-resets": {
      "post": {
        "summary": "Set a new password using a recovery link",
        "description": "Dedicated Development only. Requires exact Origin and a valid email-bound, single-use token. Success revokes existing browser sessions and does not sign in the caller. Privileged and testing accounts are excluded. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "password_resets",
        "security": [],
        "parameters": [
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "token",
                  "password"
                ],
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email",
                    "maxLength": 254
                  },
                  "token": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_-]{43}$"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 15,
                    "maxLength": 128
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Successful operation; empty response body.",
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie: Secure; HttpOnly; SameSite=Strict; Path=/. Logout/reset expires it. Cookie contents are opaque.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_6"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_4"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_3"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/identity/v1/password-signups": {
      "post": {
        "summary": "Create an invited password account (Development only)",
        "description": "Requires exact Origin. Signup cannot proceed without a valid email-bound one-use access code; this does not verify email ownership. Password sessions do not require a new invite. Disabled outside the dedicated Development gate. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "password_signups",
        "security": [],
        "parameters": [
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "email",
                  "password",
                  "accessCode"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "password": {
                    "type": "string",
                    "writeOnly": true,
                    "maxLength": 128,
                    "minLength": 15
                  },
                  "accessCode": {
                    "type": "string",
                    "writeOnly": true,
                    "pattern": "^[A-Za-z0-9_-]{43}$"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityPasswordLogin"
                }
              }
            },
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie: Secure; HttpOnly; SameSite=Strict; Path=/. Logout/reset expires it. Cookie contents are opaque.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_5"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_7"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_5"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_4"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_3"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/identity/v1/password-sessions": {
      "post": {
        "summary": "Sign in with an invited account password (Development only)",
        "description": "Requires exact Origin. Signup cannot proceed without a valid email-bound one-use access code; this does not verify email ownership. Password sessions do not require a new invite. Disabled outside the dedicated Development gate. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "password_sessions",
        "security": [],
        "parameters": [
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "password": {
                    "type": "string",
                    "writeOnly": true,
                    "maxLength": 128
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentityPasswordLogin"
                }
              }
            },
            "headers": {
              "Set-Cookie": {
                "description": "Console session cookie: Secure; HttpOnly; SameSite=Strict; Path=/. Logout/reset expires it. Cookie contents are opaque.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_5"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_7"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_5"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_4"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_3"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/overview": {
      "get": {
        "summary": "Super Admin metadata dashboard (no customer records)",
        "description": "Requires an authenticated owner session whose stored email is in the private platform-admin allowlist. API keys never qualify. Catalog reads are bounded to 2,000 metadata revision IDs and explicitly report completeness. Raw signup codes are returned only on create/reissue, never on list. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "platform_get_overview",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformOverview"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/invitations": {
      "get": {
        "summary": "Super Admin invitation metadata and status",
        "description": "Requires an authenticated owner session whose stored email is in the private platform-admin allowlist. API keys never qualify. Catalog reads are bounded to 2,000 metadata revision IDs and explicitly report completeness. Raw signup codes are returned only on create/reissue, never on list. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "platform_get_invitations",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformInvitationList"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "post": {
        "summary": "Create or reissue an email-bound signup invitation",
        "description": "Requires an authenticated owner session whose stored email is in the private platform-admin allowlist. API keys never qualify. Catalog reads are bounded to 2,000 metadata revision IDs and explicitly report completeness. Raw signup codes are returned only on create/reissue, never on list. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "platform_post_invitations",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformInvitationCreated"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "additionalProperties": false,
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/invitations/{invitationId}/revoke": {
      "post": {
        "summary": "Revoke an unused invitation without disabling an account",
        "description": "Requires an authenticated owner session whose stored email is in the private platform-admin allowlist. API keys never qualify. Catalog reads are bounded to 2,000 metadata revision IDs and explicitly report completeness. Raw signup codes are returned only on create/reissue, never on list. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "platform_post_revoke",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "invitationId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Origin",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformInvitation"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/keys": {
      "get": {
        "summary": "List owner/admin key metadata (includes legacy and scoped keys)",
        "operationId": "get__control_v2_projects_projectId_keys",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/KeyMetadata"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Owner console session required; writes require CSRF and allowed origin. API keys cannot inspect/issue/manage credentials or self-expand access. Responses never include stored secret hashes. Creation reveals the raw secret only once. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "post": {
        "summary": "Create a table/CRUD-scoped key",
        "operationId": "post__control_v2_projects_projectId_keys",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyCreated"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Owner console session required; writes require CSRF and allowed origin. API keys cannot inspect/issue/manage credentials or self-expand access. Responses never include stored secret hashes. Creation reveals the raw secret only once. This POST is not idempotent; a lost response requires revoking/replacing the unrecoverable secret rather than assuming it can be fetched again. At least one management or data permission is required. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateScopedKey"
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/keys/{keyId}": {
      "get": {
        "summary": "Read owner/admin key metadata",
        "operationId": "get__control_v2_projects_projectId_keys_keyId",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "in": "path",
            "name": "keyId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Owner console session required; writes require CSRF and allowed origin. API keys cannot inspect/issue/manage credentials or self-expand access. Responses never include stored secret hashes. Creation reveals the raw secret only once. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Replace scoped key grants with expected revision",
        "operationId": "patch__control_v2_projects_projectId_keys_keyId",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "in": "path",
            "name": "keyId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current key revision. Missing returns 428; stale returns 412."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Owner console session required; writes require CSRF and allowed origin. API keys cannot inspect/issue/manage credentials or self-expand access. Responses never include stored secret hashes. Creation reveals the raw secret only once. Omitted permission dimensions stay unchanged. Supplied dataAccess/managementScopes replace those dimensions. Cannot alter project, owner, expiry or revive revoked/expired credentials. Legacy project-wide keys require scoped reissue (409 LEGACY_KEY_REISSUE). Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateScopedKey"
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/keys/{keyId}/revoke": {
      "post": {
        "summary": "Permanently revoke this key",
        "operationId": "post__control_v2_projects_projectId_keys_keyId_revoke",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "in": "path",
            "name": "keyId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Owner console session required; writes require CSRF and allowed origin. API keys cannot inspect/issue/manage credentials or self-expand access. Responses never include stored secret hashes. Creation reveals the raw secret only once. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables/{tableId}/storage-transition": {
      "post": {
        "summary": "Select and progressively import archived POC data into the shared dataset",
        "operationId": "transition_table_storage",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorageTransition"
                }
              }
            }
          },
          "202": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StorageTransition"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "source_version"
                ],
                "properties": {
                  "source_version": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 3
                  }
                }
              }
            }
          }
        },
        "description": "Owner session and CSRF required; API keys cannot migrate. Choose one published source_version and send the current table metadata revision in If-Match. Repeat the same request while state is recovering (HTTP 202); HTTP 200/state active completes the transition. Original per-version snapshots remain archived. Different sources or an already-initialized unrelated dataset return 409; this endpoint cannot reset an active dataset. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/memberships": {
      "get": {
        "summary": "List organization membership metadata (owner/admin only)",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembershipList"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "operationId": "get__control_v2_organizations_orgId_memberships",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Invite an organization member; private token shown once; owner/admin only",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Member"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "email",
                  "role"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "role": {
                    "type": "string",
                    "enum": [
                      "admin",
                      "contributor",
                      "reader"
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "post__control_v2_organizations_orgId_memberships",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v2/organizations/{orgId}/memberships/accept": {
      "post": {
        "summary": "Accept own organization invitation using a console session",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MembershipAccepted"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "invitationToken"
                ],
                "properties": {
                  "invitationToken": {
                    "type": "string",
                    "minLength": 43,
                    "maxLength": 43
                  }
                }
              }
            }
          }
        },
        "operationId": "post__control_v2_organizations_orgId_memberships_accept",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v2/organizations/{orgId}/memberships/{memberId}": {
      "patch": {
        "summary": "Change a member role or revoke access; role/state changes invalidate member keys",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "memberId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Member"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "role",
                  "state"
                ],
                "properties": {
                  "role": {
                    "type": "string",
                    "enum": [
                      "admin",
                      "contributor",
                      "reader"
                    ]
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "active",
                      "revoked"
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "patch__control_v2_organizations_orgId_memberships_memberId",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      }
    },
    "/control/v2/organizations/{orgId}/usage": {
      "get": {
        "summary": "Read authoritative organization-month API allowance; console members only",
        "operationId": "get__control_v2_organizations_orgId_usage",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationUsage"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_9"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_7"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_5"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          },
          "422": {
            "$ref": "#/components/responses/QueryInvalidValue"
          }
        },
        "description": "Usage includes breakdowns: attributed, unattributed, trackingStartedAt and dimensions projects/tables/apis/keys. Dimensions contain items(id,label,completed), other and unattributed. A restricted keys dimension contains only restricted=true. Named groups are first-seen, not a top-N ranking. Each unrestricted dimension sums to used; pending calls are excluded. No credential secrets/session identities. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/settings": {
      "get": {
        "summary": "Read product values, typed definitions, revision and audit history",
        "operationId": "get_control_v1_platform_settings",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalSettings"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Update platform defaults without resetting usage",
        "operationId": "patch_control_v1_platform_settings",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Quoted integer revision from current settings/catalog/organization; 0 for absent settings/catalog."
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GlobalSettings"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_3"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "minProperties": 1,
                "additionalProperties": {
                  "oneOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                },
                "description": "Direct map of registry keys to typed values; do not wrap in values."
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/plans": {
      "get": {
        "summary": "Read immutable plan version catalog and revision",
        "operationId": "get_control_v1_platform_plans",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanCatalog"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "post": {
        "summary": "Create an immutable plan version",
        "operationId": "post_control_v1_platform_plans",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Quoted integer revision from current settings/catalog/organization; 0 for absent settings/catalog."
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_3"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanCatalog"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "values": {
                    "type": "object",
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    },
                    "description": "Known registry keys only; server definitions provide supported ranges and globalOnly scope. Unknown keys and out-of-range values rejected."
                  },
                  "previousId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "null for a new plan; latest version ID to supersede"
                  }
                },
                "required": [
                  "code",
                  "name",
                  "values",
                  "previousId"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/organizations/{orgId}/plan": {
      "get": {
        "summary": "Read effective plan, history, organization revision and metadata-only usage",
        "operationId": "get_control_v1_platform_organizations_orgId_plan",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationPlan"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Usage includes breakdowns: attributed, unattributed, trackingStartedAt and dimensions projects/tables/apis/keys. Dimensions contain items(id,label,completed), other and unattributed. A restricted keys dimension contains only restricted=true. Named groups are first-seen, not a top-N ranking. Each unrestricted dimension sums to used; pending calls are excluded. No credential secrets/session identities. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/organizations/{orgId}/assignments": {
      "post": {
        "summary": "Assign or renew a pinned plan version; record optional offline payment reference",
        "operationId": "post_control_v1_platform_organizations_orgId_assignments",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Quoted integer revision from current settings/catalog/organization; 0 for absent settings/catalog."
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationPlan"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_3"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "expiresAt": {
                    "type": "integer",
                    "description": "Future UTC epoch seconds within configured duration"
                  },
                  "note": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "planId": {
                    "type": "string"
                  },
                  "paymentReference": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "amountMinor": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9999999999999
                  },
                  "currency": {
                    "type": "string",
                    "pattern": "^[A-Z]{3}$"
                  }
                },
                "required": [
                  "planId",
                  "expiresAt",
                  "note"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v1/platform/organizations/{orgId}/limit-overrides": {
      "post": {
        "summary": "Merge expiring custom settings; empty values clear all overrides",
        "operationId": "post_control_v1_platform_organizations_orgId_limit-overrides",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Quoted integer revision from current settings/catalog/organization; 0 for absent settings/catalog."
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-NCR-CSRF",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationPlan"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_3"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Actual allowlisted Super Admin console session only; ordinary roles and API keys denied. No customer record payloads are returned. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "expiresAt": {
                    "type": "integer",
                    "description": "Future UTC epoch seconds within configured duration"
                  },
                  "note": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "values": {
                    "type": "object",
                    "additionalProperties": {
                      "oneOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    },
                    "description": "Known registry keys only; server definitions provide supported ranges and globalOnly scope. Unknown keys and out-of-range values rejected."
                  }
                },
                "required": [
                  "values",
                  "expiresAt",
                  "note"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/settings": {
      "get": {
        "summary": "Read effective organization settings and assigned plan",
        "operationId": "get_control_v2_organizations_orgId_settings",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EffectiveSettings"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_6"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_8"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_6"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_5"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "400": {
            "$ref": "#/components/responses/QueryBadRequest"
          }
        },
        "description": "Current organization console member; integration keys excluded. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/files": {
      "get": {
        "summary": "List scoped files, live storage reservations and effective limits",
        "operationId": "get_control_v2_organizations_orgId_files",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileList"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "post": {
        "summary": "Reserve a private upload without requiring a table",
        "operationId": "post_control_v2_organizations_orgId_files",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Stable upload reservation operation key."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "size": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5242880
                  },
                  "mime": {
                    "type": "string",
                    "enum": [
                      "image/png",
                      "image/jpeg",
                      "image/webp",
                      "application/pdf",
                      "text/plain",
                      "application/octet-stream"
                    ]
                  },
                  "sha256": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "required": [
                  "name",
                  "size",
                  "mime",
                  "sha256"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/files/{fileId}": {
      "get": {
        "summary": "Read scoped file metadata",
        "operationId": "get_control_v2_organizations_orgId_files_fileId",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Owner/admin: change explicit image visibility",
        "operationId": "patch_control_v2_organizations_orgId_files_fileId",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current metadata revision. Finalize replay on an active resource is harmless."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "visibility": {
                    "enum": [
                      "private",
                      "public"
                    ]
                  }
                },
                "required": [
                  "visibility"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "delete": {
        "summary": "Delete unreferenced file and reconcile provider cleanup",
        "operationId": "delete_control_v2_organizations_orgId_files_fileId",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current metadata revision. Finalize replay on an active resource is harmless."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/files/{fileId}/content": {
      "put": {
        "summary": "Upload immutable reserved bytes; size/hash must match",
        "operationId": "put_control_v2_organizations_orgId_files_fileId_content",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileUploaded"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "get": {
        "summary": "Download scoped file bytes with no-store/nosniff/sandbox headers",
        "operationId": "get_control_v2_organizations_orgId_files_fileId_content",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "File bytes with the reserved media type; no JSON envelope.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "Inline only for allowed images; attachment otherwise. Filename is sanitized."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "no-store"
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                },
                "description": "nosniff"
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "default-src 'none'; sandbox"
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Successful response is raw bytes, not file metadata. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/files/{fileId}/finalize": {
      "post": {
        "summary": "Verify encrypted stored content and finalize upload",
        "operationId": "post_control_v2_organizations_orgId_files_fileId_finalize",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current metadata revision. Finalize replay on an active resource is harmless."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428_2"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/files": {
      "get": {
        "summary": "List scoped files, live storage reservations and effective limits",
        "operationId": "get_control_v2_projects_projectId_files",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileList"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "post": {
        "summary": "Reserve a private upload without requiring a table",
        "operationId": "post_control_v2_projects_projectId_files",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Stable upload reservation operation key."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "size": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 5242880
                  },
                  "mime": {
                    "type": "string",
                    "enum": [
                      "image/png",
                      "image/jpeg",
                      "image/webp",
                      "application/pdf",
                      "text/plain",
                      "application/octet-stream"
                    ]
                  },
                  "sha256": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "required": [
                  "name",
                  "size",
                  "mime",
                  "sha256"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/files/{fileId}": {
      "get": {
        "summary": "Read scoped file metadata",
        "operationId": "get_control_v2_projects_projectId_files_fileId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Owner/admin: change explicit image visibility",
        "operationId": "patch_control_v2_projects_projectId_files_fileId",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current metadata revision. Finalize replay on an active resource is harmless."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "visibility": {
                    "enum": [
                      "private",
                      "public"
                    ]
                  }
                },
                "required": [
                  "visibility"
                ]
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "delete": {
        "summary": "Delete unreferenced file and reconcile provider cleanup",
        "operationId": "delete_control_v2_projects_projectId_files_fileId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current metadata revision. Finalize replay on an active resource is harmless."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/files/{fileId}/content": {
      "put": {
        "summary": "Upload immutable reserved bytes; size/hash must match",
        "operationId": "put_control_v2_projects_projectId_files_fileId_content",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileUploaded"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "get": {
        "summary": "Download scoped file bytes with no-store/nosniff/sandbox headers",
        "operationId": "get_control_v2_projects_projectId_files_fileId_content",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "File bytes with the reserved media type; no JSON envelope.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "Inline only for allowed images; attachment otherwise. Filename is sanitized."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "no-store"
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                },
                "description": "nosniff"
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "default-src 'none'; sandbox"
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Successful response is raw bytes, not file metadata. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/files/{fileId}/finalize": {
      "post": {
        "summary": "Verify encrypted stored content and finalize upload",
        "operationId": "post_control_v2_projects_projectId_files_fileId_finalize",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current metadata revision. Finalize replay on an active resource is harmless."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileMetadata"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428_2"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/files/cleanup": {
      "post": {
        "summary": "Owner/admin: reconcile bounded expired/orphan cleanup batch",
        "operationId": "post_control_v2_organizations_orgId_files_cleanup",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required with a console session. Bearer keys use their explicit scopes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileCleanup"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "afterId": {
                    "type": "string"
                  }
                },
                "required": []
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/assets/v1/organizations/{orgId}/files/{fileId}": {
      "get": {
        "summary": "Read explicitly public supported image through the app",
        "operationId": "get_assets_v1_organizations_orgId_files_fileId",
        "security": [],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "fileId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "File bytes with the reserved media type; no JSON envelope.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "Inline only for allowed images; attachment otherwise. Filename is sanitized."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "no-store"
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                },
                "description": "nosniff"
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "default-src 'none'; sandbox"
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Successful response is raw bytes, not file metadata. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/collections/{collectionId}/tables/{tableId}/publish-review": {
      "post": {
        "summary": "Review changes, effective operations and blockers before publishing",
        "operationId": "review_table_publication",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "collectionId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicationReview"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "retire_previous": {
                    "type": "boolean",
                    "default": false,
                    "description": "Keep the previous version available unless explicitly set to true."
                  }
                }
              }
            }
          }
        },
        "description": "Read-only review of the saved table revision. Returns nextVersion, previousVersion, changes, blockers, operations and the current external access binding. Supply If-Match and the intended retire_previous choice. Final publication rechecks the same rules. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/trash": {
      "get": {
        "summary": "List project record Trash",
        "operationId": "get__control_v2_projects_projectId_trash",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page_size",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "table_id",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted_after",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "deleted_before",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Trash operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrashList"
                }
              }
            }
          },
          "400": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Requires owner/admin membership and explicit trash.read/restore/purge integration scopes plus relevant table data grants. No app-user/public access. Restore counts as a data update. Purge does not reset usage or reclaim retained record identifiers. Minimal non-payload identity/receipt guards remain; no forensic erasure of provider backups is promised. Existing pre-Trash tombstones cannot be restored. Empty Trash only processes the previewed entries, with bounded resumable batches; new deletions are excluded. Job previews, batch/scan/history limits and availability follow effective ProductSettings. Native shared datasets are the supported release model."
      }
    },
    "/control/v2/projects/{projectId}/trash/{trashItemId}/restore": {
      "post": {
        "summary": "Restore a trashed record under current schema checks",
        "operationId": "post__control_v2_projects_projectId_trash_trashItemId_restore",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trashItemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required for console cookie writes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Trash operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordResult"
                }
              }
            }
          },
          "400": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Requires owner/admin membership and explicit trash.read/restore/purge integration scopes plus relevant table data grants. No app-user/public access. Restore counts as a data update. Purge does not reset usage or reclaim retained record identifiers. Minimal non-payload identity/receipt guards remain; no forensic erasure of provider backups is promised. Existing pre-Trash tombstones cannot be restored. Empty Trash only processes the previewed entries, with bounded resumable batches; new deletions are excluded. Job previews, batch/scan/history limits and availability follow effective ProductSettings. Native shared datasets are the supported release model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {},
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/trash/{trashItemId}": {
      "delete": {
        "summary": "Permanently remove a confirmed Trash recovery payload",
        "operationId": "delete__control_v2_projects_projectId_trash_trashItemId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "trashItemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "permanent",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "const": "true"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required for console cookie writes."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Trash operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrashPurged"
                }
              }
            }
          },
          "400": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Requires owner/admin membership and explicit trash.read/restore/purge integration scopes plus relevant table data grants. No app-user/public access. Restore counts as a data update. Purge does not reset usage or reclaim retained record identifiers. Minimal non-payload identity/receipt guards remain; no forensic erasure of provider backups is promised. Existing pre-Trash tombstones cannot be restored. Empty Trash only processes the previewed entries, with bounded resumable batches; new deletions are excluded. Job previews, batch/scan/history limits and availability follow effective ProductSettings. Native shared datasets are the supported release model."
      }
    },
    "/control/v2/projects/{projectId}/trash/empty-preview": {
      "post": {
        "summary": "Preview the exact bounded Empty Trash snapshot",
        "operationId": "post__control_v2_projects_projectId_trash_empty-preview",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required for console cookie writes."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Trash operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrashJob"
                }
              }
            }
          },
          "400": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Requires owner/admin membership and explicit trash.read/restore/purge integration scopes plus relevant table data grants. No app-user/public access. Restore counts as a data update. Purge does not reset usage or reclaim retained record identifiers. Minimal non-payload identity/receipt guards remain; no forensic erasure of provider backups is promised. Existing pre-Trash tombstones cannot be restored. Empty Trash only processes the previewed entries, with bounded resumable batches; new deletions are excluded. Job previews, batch/scan/history limits and availability follow effective ProductSettings. Native shared datasets are the supported release model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "table_id": {
                    "type": "string"
                  },
                  "q": {
                    "type": "string"
                  },
                  "deleted_after": {
                    "type": "string"
                  },
                  "deleted_before": {
                    "type": "string"
                  }
                },
                "required": [],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/trash/empty": {
      "post": {
        "summary": "Start or resume one bounded Empty Trash batch",
        "operationId": "post__control_v2_projects_projectId_trash_empty",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Required for console cookie writes."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Trash operation.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrashJob"
                }
              }
            }
          },
          "400": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Query/authentication/grant/revision/schema/reference/quota/configuration rejection; use error.code and refresh when stale.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Requires owner/admin membership and explicit trash.read/restore/purge integration scopes plus relevant table data grants. No app-user/public access. Restore counts as a data update. Purge does not reset usage or reclaim retained record identifiers. Minimal non-payload identity/receipt guards remain; no forensic erasure of provider backups is promised. Existing pre-Trash tombstones cannot be restored. Empty Trash only processes the previewed entries, with bounded resumable batches; new deletions are excluded. Job previews, batch/scan/history limits and availability follow effective ProductSettings. Native shared datasets are the supported release model.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "previewToken": {
                    "type": "string"
                  }
                },
                "required": [
                  "previewToken"
                ],
                "additionalProperties": false
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/key-options": {
      "get": {
        "operationId": "get_project_key_options",
        "summary": "Discover grantable published table operations and current key settings",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current owner/admin key editor options. Revalidated on issuance/update.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KeyOptions"
                }
              }
            }
          },
          "400": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Console owner/admin only. Includes only available, non-retired published operations after inherited rules. Selection freezes grants; future tables/actions are not included automatically."
      }
    },
    "/api/v1/projects/{projectId}/sync": {
      "get": {
        "operationId": "get_project_sync",
        "summary": "Check whether project data may have changed",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Stable sampled project metadata fingerprint and last known data mutation timestamp.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectSync"
                }
              }
            },
            "headers": {
              "ETag": {
                "schema": {
                  "type": "string"
                },
                "description": "Quoted opaque revision. Conditional 304 is not implemented."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "no-store"
              }
            }
          },
          "400": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Sign-in, role, query or configuration rejection.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Authorized console member or integration key with project.read only; no public/app-user activity disclosure. Bounded repeated reads of committed table metadata; no row scan. Records, table metadata, inherited policies and effective settings invalidate revision. Advisory check only, not delta sync or a project-wide transaction. No monthly data-call charge; shared dynamic per-project per-minute admission applies."
      }
    },
    "/public/api/{apiVersion}/{projectId}/{tableName}": {
      "get": {
        "summary": "List shared records",
        "description": "Opt-in published version. Returns selected scalar fields and IDs for visible records with bounded pagination. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "list_public_records",
        "security": [],
        "parameters": [
          {
            "name": "apiVersion",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tableName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "name": "page_size",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "description": "Effective max_page_size from the selected table policy; default is the configured defaultPageSize capped by that policy. Discover current limits; do not assume fixed plan values."
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicRecordListResult"
                }
              }
            }
          },
          "403": {
            "description": "Access or origin denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Resource or enabled API not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request, duplicate arguments or invalid token.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid published fields, query or public query parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Required storage/configuration temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Public cursor expired or result/access changed. Restart pagination.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/public/api/{apiVersion}/{projectId}/{tableName}/{recordId}": {
      "get": {
        "summary": "Read one shared record",
        "description": "Returns the ID and selected scalar fields when the row visibility column is true. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "operationId": "get_public_record",
        "security": [],
        "parameters": [
          {
            "name": "apiVersion",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tableName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicRecordResult"
                }
              }
            }
          },
          "403": {
            "description": "Access or origin denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Resource or enabled API not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request, duplicate arguments or invalid token.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid published fields, query or public query parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Required storage/configuration temporarily unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/api/{apiVersion}/{projectId}/{tableName}": {
      "get": {
        "summary": "List permitted records with signed stale-page protection",
        "operationId": "get_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_records",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          },
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "apiVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableName",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "in": "query",
            "name": "page_size",
            "schema": {
              "type": "integer",
              "minimum": 1
            },
            "description": "Effective max_page_size from the selected table policy; default is the configured defaultPageSize capped by that policy. Discover current limits; do not assume fixed plan values."
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "description": "System timestamp or declared sortable field in the selected published version. The old sort parameter is rejected.",
            "schema": {
              "type": "string",
              "default": "created_at"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "description": "Direction, case-insensitive. Normalized to lowercase for query-bound cursors.",
            "schema": {
              "type": "string",
              "pattern": "^[aA][sS][cC]$|^[dD][eE][sS][cC]$",
              "default": "desc"
            }
          },
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string",
              "maxLength": 80
            },
            "description": "Case-insensitive substring search across configured searchable fields. Effective max_search_length comes from the selected table policy; maximumSearchLength is centrally configurable. The schema maximum is the validated protocol ceiling, not a fixed plan allowance."
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated configured relation field names; bounded one-level target projections. Original IDs remain in data, projections in included. Related changes invalidate expanded tokens/cursors."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordListResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Invalid session or key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Permission, origin or operation denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Scoped resource/version not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict, changed result set or Development capacity limit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Bounded storage capacity or request size exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid fields, filters or sort",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Storage unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Signed cursor pagination binds principal/key, API version, policy, query and shared-table generation. All versions share records; any committed write invalidates older list cursors/validation tokens. Current Development sorting/filter/search inspects a bounded NoSQL partition (bounded retained identifiers under effective configuration), not a scalable secondary-index query. Empty legacy tables activate automatically; populated legacy versions require owner storage-transition. Completed published-data operations count against the effective organization UTC-month API allowance; console data tests count too. A successful same-key create replay is not charged again and remains available at quota. Writes with interrupted responses may still complete/count. Reads and conditional PATCH/DELETE retries are separate attempts; failed non-committed operations do not consume successful-call allowance. Pending work reserves calls until safe settlement. Project app sessions require an enabled access preset and apply server-assigned record ownership. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint. Filterable integer/decimal/date fields support inclusive filter.FIELD.gte and filter.FIELD.lte bounds, combined with AND. Reject mixed equality/range, reversed bounds, unsupported operators/types and null bounds. Null record values do not match ranges. Retain bounds with cursors. Anonymous reads do not gain these controls.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "post": {
        "summary": "Create a record; return full entity and validation token",
        "operationId": "post_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_records",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          },
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "apiVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableName",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordResult"
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Current record revision, for example \"r1\". Supply it in If-Match for PATCH/DELETE.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Invalid session or key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Permission, origin or operation denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Scoped resource/version not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict, changed result set or Development capacity limit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Bounded storage capacity or request size exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid fields, filters or sort",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Storage unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "Only configured fields; required/type checks apply. System fields are read-only."
              }
            }
          }
        },
        "description": "Idempotency-Key is scoped to credential and logical table. Reuse with different input or API version returns 409. Replay returns the current live entity without a new dataset generation; deletion retains its receipt and cannot recreate it. A durable encrypted intent coordinates record/receipt writes and shared-table generation; interrupted writes are recovered before later reads. Retained identifier limit is 200 per table, including deletions. Completed published-data operations count against the effective organization UTC-month API allowance; console data tests count too. A successful same-key create replay is not charged again and remains available at quota. Writes with interrupted responses may still complete/count. Reads and conditional PATCH/DELETE retries are separate attempts; failed non-committed operations do not consume successful-call allowance. Pending work reserves calls until safe settlement. Project app sessions require an enabled access preset and apply server-assigned record ownership. Unrelated query extras are ignored. Unsupported action switches are rejected before execution. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/api/{apiVersion}/{projectId}/{tableName}/{recordId}": {
      "get": {
        "summary": "Read full record, ETag and entity validation token",
        "operationId": "get_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_records_recordId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          },
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "apiVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableName",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "in": "path",
            "name": "recordId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "expand",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated configured relation field names; bounded one-level target projections. Original IDs remain in data, projections in included. Related changes invalidate expanded tokens/cursors."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordResult"
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Current record revision, for example \"r1\". Supply it in If-Match for PATCH/DELETE.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Invalid session or key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Permission, origin or operation denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Scoped resource/version not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict, changed result set or Development capacity limit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Bounded storage capacity or request size exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid fields, filters or sort",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Storage unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Completed published-data operations count against the effective organization UTC-month API allowance; console data tests count too. A successful same-key create replay is not charged again and remains available at quota. Writes with interrupted responses may still complete/count. Reads and conditional PATCH/DELETE retries are separate attempts; failed non-committed operations do not consume successful-call allowance. Pending work reserves calls until safe settlement. Project app sessions require an enabled access preset and apply server-assigned record ownership. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "patch": {
        "summary": "Partially update with If-Match; return full entity",
        "operationId": "patch_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_records_recordId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          },
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "apiVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableName",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "in": "path",
            "name": "recordId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current record revision from ETag, for example \"r1\". Missing/invalid revision returns 428; stale revision returns 412."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordResult"
                }
              }
            },
            "headers": {
              "ETag": {
                "description": "Current record revision, for example \"r1\". Supply it in If-Match for PATCH/DELETE.",
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Invalid session or key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Permission, origin or operation denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Scoped resource/version not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict, changed result set or Development capacity limit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Stale entity or draft revision",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Bounded storage capacity or request size exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid fields, filters or sort",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Expected revision required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Storage unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "description": "Completed published-data operations count against the effective organization UTC-month API allowance; console data tests count too. A successful same-key create replay is not charged again and remains available at quota. Writes with interrupted responses may still complete/count. Reads and conditional PATCH/DELETE retries are separate attempts; failed non-committed operations do not consume successful-call allowance. Pending work reserves calls until safe settlement. Project app sessions require an enabled access preset and apply server-assigned record ownership. Unrelated query extras are ignored. Unsupported action switches are rejected before execution. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      },
      "delete": {
        "summary": "Delete with If-Match; return id and deleted status",
        "operationId": "delete_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_records_recordId",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          },
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "apiVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableName",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "in": "path",
            "name": "recordId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current record revision from ETag, for example \"r1\". Missing/invalid revision returns 428; stale revision returns 412."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecordDeleteResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Invalid session or key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Permission, origin or operation denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Scoped resource/version not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict, changed result set or Development capacity limit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Stale entity or draft revision",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Bounded storage capacity or request size exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid fields, filters or sort",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Expected revision required",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Storage unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "description": "Completed published-data operations count against the effective organization UTC-month API allowance; console data tests count too. A successful same-key create replay is not charged again and remains available at quota. Writes with interrupted responses may still complete/count. Reads and conditional PATCH/DELETE retries are separate attempts; failed non-committed operations do not consume successful-call allowance. Pending work reserves calls until safe settlement. Project app sessions require an enabled access preset and apply server-assigned record ownership. Unrelated query extras are ignored. Unsupported action switches are rejected before execution. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/api/{apiVersion}/{projectId}/{tableName}/validate": {
      "post": {
        "summary": "Check whether a signed single/list result is current",
        "operationId": "post_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_validate",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          },
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "apiVersion",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableName",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultValidation"
                }
              }
            }
          },
          "400": {
            "description": "Malformed request or invalid token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Invalid session or key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Permission, origin or operation denied",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Scoped resource/version not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Conflict, changed result set or Development capacity limit",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Bounded storage capacity or request size exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid fields, filters or sort",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Storage unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective API allowance, in-flight reservation or admitted-attempt bound exhausted. Authorized organization usage reports current allowance and reset; limits are centrally configurable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "VERSION_RETIRED. New requests to this API version are denied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server failure; no internal details are exposed.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token"
                ],
                "additionalProperties": false,
                "properties": {
                  "token": {
                    "type": "string",
                    "maxLength": 6000
                  }
                }
              }
            }
          }
        },
        "description": "Completed published-data operations count against the effective organization UTC-month API allowance; console data tests count too. A successful same-key create replay is not charged again and remains available at quota. Writes with interrupted responses may still complete/count. Reads and conditional PATCH/DELETE retries are separate attempts; failed non-committed operations do not consume successful-call allowance. Pending work reserves calls until safe settlement. Project app sessions require an enabled access preset and apply server-assigned record ownership. Unrelated query extras are ignored. Unsupported action switches are rejected before execution. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/api/{apiVersion}/{projectId}/{tableName}/{recordId}/attachments/{field}": {
      "get": {
        "summary": "Read only the declared attachment under the source GET grant",
        "operationId": "get_api_apiVersion_projects_projectId_collections_collectionId_tables_tableId_records_recordId_attachments_field",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "apiVersion",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "tableName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]{0,79}$"
            },
            "description": "Canonical lowercase API name returned as apiName by resource creation or registration."
          },
          {
            "name": "recordId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          },
          {
            "name": "field",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": ""
          }
        ],
        "responses": {
          "200": {
            "description": "File bytes with the reserved media type; no JSON envelope.",
            "content": {
              "*/*": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "Content-Disposition": {
                "schema": {
                  "type": "string"
                },
                "description": "Inline only for allowed images; attachment otherwise. Filename is sanitized."
              },
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "no-store"
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                },
                "description": "nosniff"
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "default-src 'none'; sandbox"
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_3"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_7"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_10"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_8"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_4"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413_3"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_6"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429_4"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_6"
          },
          "410": {
            "$ref": "#/components/responses/ApiError410"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "description": "Metadata/bytes remain scoped. Uploaded object IDs are immutable and private by default. Public sharing requires owner/admin; direct file scopes are separate from data scopes. See RELATIONSHIPS-AND-FILES.md. Successful response is raw bytes, not file metadata. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/api-names": {
      "post": {
        "summary": "Register readable API names for existing project resources",
        "operationId": "register_api_names",
        "description": "Requires schema.write. Explicit, resumable metadata registration; collisions must be resolved before registration. Runtime requests use keyed routing metadata, never a catalog scan.",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Names registered",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "registered"
                  ],
                  "properties": {
                    "registered": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        }
      }
    },
    "/control/v2/lifecycle/{resourceId}": {
      "get": {
        "summary": "Inspect resource status and deletion progress",
        "operationId": "lifecycle_get_resource",
        "tags": [
          "Resource lifecycle"
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Console session only; owner/admin may inspect and disable/reactivate; permanent deletion, preview, advance and cancellation require the organization owner. Exact origin and CSRF required for mutations. Disable before deleting. Cleanup is resumable; call advance until completed. Cancellation is allowed only before cleanup starts. API keys and customer-app sessions are not accepted. Unknown unrelated query parameters are ignored; recognized unsupported or duplicate controls are rejected.",
        "responses": {
          "200": {
            "description": "Current lifecycle or deletion progress. Cleanup completion is explicit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceLifecycle"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "403": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "404": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "409": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "410": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "412": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "413": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "422": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "428": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "503": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        }
      },
      "patch": {
        "summary": "Disable or reactivate a resource",
        "operationId": "lifecycle_patch_resource",
        "tags": [
          "Resource lifecycle"
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "description": "Console session only; owner/admin may inspect and disable/reactivate; permanent deletion, preview, advance and cancellation require the organization owner. Exact origin and CSRF required for mutations. Disable before deleting. Cleanup is resumable; call advance until completed. Cancellation is allowed only before cleanup starts. API keys and customer-app sessions are not accepted. Unknown unrelated query parameters are ignored; recognized unsupported or duplicate controls are rejected.",
        "responses": {
          "200": {
            "description": "Current lifecycle or deletion progress. Cleanup completion is explicit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceLifecycle"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "403": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "404": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "409": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "410": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "412": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "413": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "422": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "428": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "503": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "state": {
                    "enum": [
                      "active",
                      "disabled"
                    ]
                  }
                },
                "required": [
                  "state"
                ]
              }
            }
          }
        }
      },
      "delete": {
        "summary": "Request permanent deletion of owned resources",
        "operationId": "lifecycle_delete_resource",
        "tags": [
          "Resource lifecycle"
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "description": "Console session only; owner/admin may inspect and disable/reactivate; permanent deletion, preview, advance and cancellation require the organization owner. Exact origin and CSRF required for mutations. Disable before deleting. Cleanup is resumable; call advance until completed. Cancellation is allowed only before cleanup starts. API keys and customer-app sessions are not accepted. Unknown unrelated query parameters are ignored; recognized unsupported or duplicate controls are rejected.",
        "responses": {
          "202": {
            "description": "Current lifecycle or deletion progress. Cleanup completion is explicit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceLifecycle"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "403": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "404": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "409": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "410": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "412": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "413": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "422": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "428": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "503": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "confirmResourceId": {
                    "type": "string",
                    "format": "uuid"
                  }
                },
                "required": [
                  "confirmResourceId"
                ]
              }
            }
          }
        }
      }
    },
    "/control/v2/lifecycle/{resourceId}/deletion-preview": {
      "get": {
        "summary": "Preview permanent deletion and dependencies",
        "operationId": "lifecycle_get_deletion_preview",
        "tags": [
          "Resource lifecycle"
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "description": "Console session only; owner/admin may inspect and disable/reactivate; permanent deletion, preview, advance and cancellation require the organization owner. Exact origin and CSRF required for mutations. Disable before deleting. Cleanup is resumable; call advance until completed. Cancellation is allowed only before cleanup starts. API keys and customer-app sessions are not accepted. Unknown unrelated query parameters are ignored; recognized unsupported or duplicate controls are rejected.",
        "responses": {
          "200": {
            "description": "Current lifecycle or deletion progress. Cleanup completion is explicit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceDeletionPreview"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "403": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "404": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "409": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "410": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "412": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "413": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "422": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "428": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "503": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        }
      }
    },
    "/control/v2/lifecycle/{resourceId}/deletion/advance": {
      "post": {
        "summary": "Advance or retry durable permanent cleanup",
        "operationId": "lifecycle_post_advance",
        "tags": [
          "Resource lifecycle"
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "description": "Console session only; owner/admin may inspect and disable/reactivate; permanent deletion, preview, advance and cancellation require the organization owner. Exact origin and CSRF required for mutations. Disable before deleting. Cleanup is resumable; call advance until completed. Cancellation is allowed only before cleanup starts. API keys and customer-app sessions are not accepted. Unknown unrelated query parameters are ignored; recognized unsupported or duplicate controls are rejected.",
        "responses": {
          "200": {
            "description": "Current lifecycle or deletion progress. Cleanup completion is explicit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceLifecycle"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "403": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "404": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "409": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "410": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "412": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "413": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "422": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "428": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "503": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        }
      }
    },
    "/control/v2/lifecycle/{resourceId}/deletion/cancel": {
      "post": {
        "summary": "Cancel deletion before irreversible cleanup begins",
        "operationId": "lifecycle_post_cancel",
        "tags": [
          "Resource lifecycle"
        ],
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "resourceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "description": "Console session only; owner/admin may inspect and disable/reactivate; permanent deletion, preview, advance and cancellation require the organization owner. Exact origin and CSRF required for mutations. Disable before deleting. Cleanup is resumable; call advance until completed. Cancellation is allowed only before cleanup starts. API keys and customer-app sessions are not accepted. Unknown unrelated query parameters are ignored; recognized unsupported or duplicate controls are rejected.",
        "responses": {
          "200": {
            "description": "Current lifecycle or deletion progress. Cleanup completion is explicit.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResourceLifecycle"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "401": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "403": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "404": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "409": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "410": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "412": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "413": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "422": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "428": {
            "$ref": "#/components/responses/DefaultApiError"
          },
          "503": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {},
                "required": []
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/tables": {
      "get": {
        "summary": "List all project tables",
        "operationId": "project_get_control_v2_projects_projectId_collections_collectionId_tables",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TableResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "post": {
        "summary": "Create a table with an optional folder",
        "operationId": "project_post_control_v2_projects_projectId_collections_collectionId_tables",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "fields": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TableFieldV2"
                    }
                  },
                  "operations": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "create",
                        "get",
                        "list",
                        "update",
                        "delete"
                      ]
                    }
                  },
                  "collectionId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Optional folder ID; omitted/null uses the internal ungrouped container."
                  }
                },
                "required": [
                  "name",
                  "fields",
                  "operations"
                ]
              }
            }
          }
        },
        "description": "Supports literal defaults, field labels/IDs and bounded JSON objects. Objects have no declared child schema yet: depth <=4, <=100 values, <=2000 encoded characters, arrays <=20 and scalar strings <=240 characters. Whole-object replacement on PATCH; object search/filter/sort rejected. Dynamic defaults are unsupported. Same-project relationships to published target versions and scoped file IDs are supported; consult capabilities and effective policies. Text maxLength is optional, defaults to 240, accepts integers 1..4096, and is immutable after publication. The full record must fit within 32 KiB. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/tables/{tableId}/folder": {
      "post": {
        "summary": "Move a table without changing its API URL",
        "operationId": "move_table_folder",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9-]{16,80}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "collectionId",
                  "acknowledgePolicyChange"
                ],
                "properties": {
                  "collectionId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "acknowledgePolicyChange": {
                    "const": true
                  }
                }
              }
            }
          }
        },
        "description": "Console owner/admin only. If-Match and a stable Idempotency-Key are required. Acknowledge the inherited-policy change. Resume pendingFolderMove with the original key/input after an uncertain response. Table names remain project-wide and record data is not copied.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/tables/{tableId}": {
      "get": {
        "summary": "Read table draft and releases",
        "operationId": "project_table_get",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint."
      },
      "patch": {
        "summary": "Update draft without changing published versions",
        "operationId": "project_table_patch",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TableDefinitionV2"
              }
            }
          }
        },
        "description": "Supports literal defaults, field labels/IDs and bounded JSON objects. Objects have no declared child schema yet: depth <=4, <=100 values, <=2000 encoded characters, arrays <=20 and scalar strings <=240 characters. Whole-object replacement on PATCH; object search/filter/sort rejected. Dynamic defaults are unsupported. Same-project relationships to published target versions and scoped file IDs are supported; consult capabilities and effective policies. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/tables/{tableId}/publish-review": {
      "post": {
        "summary": "Review changes, effective operations and blockers before publishing",
        "operationId": "project_table_post_publish-review",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicationReview"
                }
              }
            }
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "retire_previous": {
                    "type": "boolean",
                    "default": false,
                    "description": "Keep the previous version available unless explicitly set to true."
                  }
                }
              }
            }
          }
        },
        "description": "Read-only review of the saved table revision. Returns nextVersion, previousVersion, changes, blockers, operations and the current external access binding. Supply If-Match and the intended retire_previous choice. Final publication rechecks the same rules. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/projects/{projectId}/tables/{tableId}/publish": {
      "post": {
        "summary": "Publish a reviewed draft and optionally retire the previous API version",
        "operationId": "project_table_post_publish",
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "in": "path",
            "name": "projectId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "tableId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "If-Match",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Current management revision, or record ETag such as \"r1\". Policy creation uses revision 0."
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": false,
            "description": "Required with a console-session cookie for writes; obtain from /identity/v1/session. Integration bearer requests use their granted scopes instead.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TableResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400_2"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_4"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_4"
          },
          "404": {
            "$ref": "#/components/responses/ApiError404_3"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409_2"
          },
          "412": {
            "$ref": "#/components/responses/ApiError412_2"
          },
          "413": {
            "$ref": "#/components/responses/ApiError413"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422_2"
          },
          "428": {
            "$ref": "#/components/responses/ApiError428"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503_2"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "retire_previous": {
                    "type": "boolean",
                    "default": false,
                    "description": "Keep the previous version available unless explicitly set to true."
                  }
                }
              }
            }
          }
        },
        "description": "Requires schema.publish. Rechecks compatibility, current limits and app-user access against the saved table revision. Publication and optional retirement commit in one table update. Retired endpoints return 410 VERSION_RETIRED. Records stay shared. Retry the same If-Match revision and retirement choice to recover its stored publishedVersion without another release. Different choices or stale edits return 412. Unchanged drafts are rejected. Query policy: ignore unrelated extras; reject duplicate recognized controls, unsupported recognized controls and unsupported action switches. Use only the query options documented for this endpoint.",
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        }
      }
    },
    "/control/v2/organizations/{orgId}/projects": {
      "get": {
        "summary": "List owned projects",
        "operationId": "resource_key_org_projects_get",
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectResource"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Console owner/admin, or selected-scope AI key. GET requires project.read and lists only permitted projects. POST requires resource-scoped all-project organization access and project.write, live issuer owner/admin and an Idempotency-Key. Existing quotas apply. The key cannot create an organization or manage credentials/memberships."
      },
      "post": {
        "summary": "Create a project",
        "operationId": "resource_key_org_projects_post",
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 16,
              "maxLength": 80
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Required for cookie-authenticated console writes; not used with Bearer keys."
          }
        ],
        "security": [
          {
            "consoleSession": []
          },
          {
            "aiKey": []
          }
        ],
        "responses": {
          "201": {
            "description": "Successful operation; response shape is defined below.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResource"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ApiError400"
          },
          "401": {
            "$ref": "#/components/responses/ApiError401_2"
          },
          "403": {
            "$ref": "#/components/responses/ApiError403_2"
          },
          "409": {
            "$ref": "#/components/responses/ApiError409"
          },
          "422": {
            "$ref": "#/components/responses/ApiError422"
          },
          "429": {
            "$ref": "#/components/responses/ApiError429"
          },
          "503": {
            "$ref": "#/components/responses/ApiError503"
          },
          "default": {
            "$ref": "#/components/responses/DefaultApiError"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  }
                }
              }
            }
          }
        },
        "x-query-policy": {
          "unknown": "ignore",
          "recognizedDuplicates": "reject",
          "unsupportedRecognizedControls": "reject",
          "families": [
            "filter.",
            "action."
          ],
          "discovery": "/control/v1/capabilities queryParameterPolicy"
        },
        "description": "Console owner/admin, or selected-scope AI key. GET requires project.read and lists only permitted projects. POST requires resource-scoped all-project organization access and project.write, live issuer owner/admin and an Idempotency-Key. Existing quotas apply. The key cannot create an organization or manage credentials/memberships."
      }
    },
    "/control/v2/projects/{projectId}/tables/{tableId}/realtime-authorization": {
      "post": {
        "operationId": "authorize_realtime_subscription",
        "summary": "Authorize a shared-table subscription (gated preview)",
        "description": "Server-to-server prerequisite for the Catalyst Custom Logic Function. Requires a server-held AI/integration key with list permission for this exact published table/version, an enabled realtimeSubscriptionsEnabled setting, and an operator-configured exclusive channel binding. App-user/private feeds, anonymous feeds and console cookies are unsupported in this first slice. The decision does not itself open a WebSocket or publish events. Rechecks key revocation on each request; immediate revocation of existing provider sessions is not yet implemented. Keep keys and this call on your app server. Live event delivery remains unavailable until provider acceptance.",
        "tags": [
          "Live updates preview"
        ],
        "security": [
          {
            "aiKey": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tableId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "version"
                ],
                "properties": {
                  "version": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 999
                  }
                }
              }
            }
          }
        },
        "responses": {
          "400": {
            "description": "Malformed request or query.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Missing, invalid, revoked or expired integration key.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "The key does not allow this project/table/list action.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Project, table or version is unavailable.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Resource is disabled, deleting or busy.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Published API version retired or resource deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Request exceeds its protocol envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Send application/json.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Invalid input or unsupported query control.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Effective project authorization budget exhausted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Feature disabled, binding unavailable or storage recovering.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "An authorization decision for the configured Function. This is not a WebSocket token or an active connection.",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                },
                "description": "no-store"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RealtimeAuthorization"
                }
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion-preview": {
      "get": {
        "operationId": "get_identity_v1_account_deletion_preview",
        "summary": "Preview deletion of the NoCodeREST builder account",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionPreview"
                }
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion-challenges": {
      "post": {
        "operationId": "post_identity_v1_account_deletion_challenges",
        "summary": "Email a purpose-specific deletion confirmation code",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionChallenge"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion": {
      "post": {
        "operationId": "post_identity_v1_account_deletion",
        "summary": "Confirm account deletion and issue a recovery grant",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "challengeId",
                  "code",
                  "confirmEmail",
                  "confirmScope"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "challengeId": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  },
                  "confirmEmail": {
                    "type": "string"
                  },
                  "confirmScope": {
                    "type": "boolean",
                    "enum": [
                      true
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "operationId": "get_identity_v1_account_deletion",
        "summary": "Read scoped deletion progress or completion receipt",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "accountErasureCookie": []
          }
        ],
        "parameters": [],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion/advance": {
      "post": {
        "operationId": "post_identity_v1_account_deletion_advance",
        "summary": "Advance one durable cleanup step",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "accountErasureCookie": []
          }
        ],
        "parameters": [
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion/cancel": {
      "post": {
        "operationId": "post_identity_v1_account_deletion_cancel",
        "summary": "Cancel before irreversible cleanup starts",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "accountErasureCookie": []
          }
        ],
        "parameters": [
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion/dismiss": {
      "post": {
        "operationId": "post_identity_v1_account_deletion_dismiss",
        "summary": "Dismiss completed or cancelled recovery UI",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "accountErasureCookie": []
          }
        ],
        "parameters": [
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "204": {
            "description": "Recovery UI dismissed; no response body."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion-recovery/challenges": {
      "post": {
        "operationId": "post_identity_v1_account_deletion_recovery_challenges",
        "summary": "Request mailbox verification to recover a saved deletion job",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [],
        "parameters": [],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionRecoveryChallenge"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "email"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/identity/v1/account/deletion-recovery/verifications": {
      "post": {
        "operationId": "post_identity_v1_account_deletion_recovery_verifications",
        "summary": "Recover access only to the confirmed deletion job",
        "tags": [
          "Builder account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [],
        "parameters": [],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "email",
                  "challengeId",
                  "code"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "challengeId": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion-preview": {
      "get": {
        "operationId": "get_auth_v1_projects_projectId_account_deletion_preview",
        "summary": "Preview deletion of the app user account",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionPreview"
                }
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion-challenges": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion_challenges",
        "summary": "Email a purpose-specific deletion confirmation code",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionChallenge"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion",
        "summary": "Confirm account deletion and issue a recovery grant",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appUserSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "challengeId",
                  "code",
                  "confirmEmail",
                  "confirmScope"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "challengeId": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  },
                  "confirmEmail": {
                    "type": "string"
                  },
                  "confirmScope": {
                    "type": "boolean",
                    "enum": [
                      true
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "operationId": "get_auth_v1_projects_projectId_account_deletion",
        "summary": "Read scoped deletion progress or completion receipt",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appErasureRecovery": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion/advance": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion_advance",
        "summary": "Advance one durable cleanup step",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appErasureRecovery": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion/cancel": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion_cancel",
        "summary": "Cancel before irreversible cleanup starts",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appErasureRecovery": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion/dismiss": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion_dismiss",
        "summary": "Dismiss completed or cancelled recovery UI",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "appErasureRecovery": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "204": {
            "description": "Recovery UI dismissed; no response body."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion-recovery/challenges": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion_recovery_challenges",
        "summary": "Request mailbox verification to recover a saved deletion job",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionRecoveryChallenge"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "email"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/auth/v1/projects/{projectId}/account/deletion-recovery/verifications": {
      "post": {
        "operationId": "post_auth_v1_projects_projectId_account_deletion_recovery_verifications",
        "summary": "Recover access only to the confirmed deletion job",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "email",
                  "challengeId",
                  "code"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "challengeId": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users": {
      "get": {
        "operationId": "get_control_v2_projects_projectId_app_users",
        "summary": "List project app identities for owner/admin administration",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Console owner/admin administration only. This is not an app-user directory, workspace membership API or generic role API. Deleted identities expose no email. The current retained-identity capacity is still bounded; do not claim large-project readiness.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppAccountList"
                }
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users/{userId}": {
      "patch": {
        "operationId": "patch_control_v2_projects_projectId_app_users_userId",
        "summary": "Disable or reactivate a project app identity",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "If-Match",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppAccountState"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "state"
                ],
                "properties": {
                  "state": {
                    "type": "string",
                    "enum": [
                      "active",
                      "disabled"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users/{userId}/deletion-preview": {
      "get": {
        "operationId": "get_control_v2_projects_projectId_app_users_userId_deletion_preview",
        "summary": "Preview erasure of one project app identity",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionPreview"
                }
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users/{userId}/deletion-challenges": {
      "post": {
        "operationId": "post_control_v2_projects_projectId_app_users_userId_deletion_challenges",
        "summary": "Re-verify the administrator before app-account erasure",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionChallenge"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users/{userId}/deletion": {
      "post": {
        "operationId": "post_control_v2_projects_projectId_app_users_userId_deletion",
        "summary": "Confirm erasure of the selected app identity",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "202": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "jobId",
                  "challengeId",
                  "code",
                  "confirmEmail",
                  "confirmScope"
                ],
                "properties": {
                  "jobId": {
                    "type": "string"
                  },
                  "challengeId": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string",
                    "pattern": "^[0-9]{8}$"
                  },
                  "confirmEmail": {
                    "type": "string"
                  },
                  "confirmScope": {
                    "type": "boolean",
                    "enum": [
                      true
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "get": {
        "operationId": "get_control_v2_projects_projectId_app_users_userId_deletion",
        "summary": "Read the selected app identity cleanup state",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users/{userId}/deletion/advance": {
      "post": {
        "operationId": "post_control_v2_projects_projectId_app_users_userId_deletion_advance",
        "summary": "Resume selected app identity cleanup as owner/admin",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/control/v2/organizations/{organizationId}/account-cleanup": {
      "get": {
        "operationId": "get_control_v2_organizations_organizationId_account_cleanup",
        "summary": "Inspect app-account cleanup currently pausing this organization",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        }
      }
    },
    "/control/v2/organizations/{organizationId}/account-cleanup/advance": {
      "post": {
        "operationId": "post_control_v2_organizations_organizationId_account_cleanup_advance",
        "summary": "Resume the app-account cleanup pausing this organization",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Deletion is explicit and scope-bound. Email codes are purpose-specific. Normal access is fenced before cleanup; recovery can finish or cancel only the approved job. Shared project data and external IAM accounts are preserved where outside the deletion scope. Minimal markers and provider-backup retention remain; see the account-erasure contract.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    },
    "/control/v2/projects/{projectId}/app-users/{userId}/deletion/cancel": {
      "post": {
        "operationId": "cancelProjectAppAccountDeletion",
        "summary": "Cancel queued app account deletion",
        "tags": [
          "App users & account deletion"
        ],
        "description": "Project administrator only. Cancellation is allowed before permanent cleanup begins.",
        "security": [
          {
            "consoleSession": []
          }
        ],
        "parameters": [
          {
            "name": "projectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-NCR-CSRF",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "401": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "403": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "404": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "409": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "410": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "412": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "413": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "415": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "428": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "429": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "503": {
            "description": "Authentication, scope, confirmation, revision, rate, dependency or storage rejection. No successful erasure is implied.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "200": {
            "description": "Deletion state/receipt or scope preview; a queued/running response is not completed erasure.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountDeletionStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [],
                "properties": {}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "appUserSession": {
        "type": "http",
        "scheme": "bearer",
        "description": "Customer-app authentication only: a managed project ncr_user session, or a current Firebase ID token when Firebase is configured and enabled. Firebase credentials are verified with revocation/disabled-user checks; refresh/sign-in remain with Firebase. Same NoCodeREST app ownership/permission rules apply. No console/key-management access. First Firebase slice requires verified email; tenant tokens are unsupported."
      },
      "consoleSession": {
        "type": "apiKey",
        "in": "cookie",
        "name": "__Host-ncr_session"
      },
      "aiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Project-scoped expiring key; table operation grants and explicit opt-in file.read/file.write. Organization asset management and public sharing require console roles."
      },
      "accountErasureCookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "__Host-ncr_erasure",
        "description": "HttpOnly Secure SameSite=Strict recovery cookie, scoped only to the approved builder deletion job."
      },
      "appErasureRecovery": {
        "type": "http",
        "scheme": "bearer",
        "description": "The scoped ncr_erase_ credential returned after app-account deletion confirmation or mailbox-verified recovery; not a normal app session."
      }
    },
    "schemas": {
      "ScopedKeyDataAccessInput": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "preset",
              "tables"
            ],
            "properties": {
              "preset": {
                "enum": [
                  "read_only",
                  "read_write"
                ]
              },
              "tables": {
                "type": "array",
                "maxItems": 50,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "tableId"
                  ],
                  "properties": {
                    "tableId": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "preset",
              "tables"
            ],
            "properties": {
              "preset": {
                "const": "custom"
              },
              "tables": {
                "type": "array",
                "maxItems": 50,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "tableId",
                    "operations"
                  ],
                  "properties": {
                    "tableId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "operations": {
                      "type": "array",
                      "minItems": 1,
                      "uniqueItems": true,
                      "items": {
                        "enum": [
                          "create",
                          "get",
                          "list",
                          "update",
                          "delete"
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        ],
        "description": "Selected table grants within this project. Presets resolve to a frozen operation list currently exposed by published versions and inherited policy. Custom requested actions must be exposed. New tables and newly exposed actions are never added implicitly. Empty tables supports management-only keys. IDs must be unique. This field is a creation/update command; returned metadata includes normalized operations for every preset."
      },
      "CreateScopedKey": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "expiresInDays"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "expiresInDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30
          },
          "managementScopes": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "enum": [
                "project.read",
                "schema.read",
                "schema.write",
                "schema.publish",
                "file.read",
                "file.write",
                "trash.read",
                "trash.restore",
                "trash.purge",
                "schema.access",
                "auth.write",
                "project.write"
              ]
            },
            "description": "Explicit management permissions, separate from dataAccess. Omit for a data-only key."
          },
          "dataAccess": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ScopedKeyDataAccessInput"
              },
              {
                "$ref": "#/components/schemas/ResourceKeyDataInput"
              }
            ]
          },
          "resourceScope": {
            "$ref": "#/components/schemas/ResourceKeyScope"
          },
          "permissionPreset": {
            "enum": [
              "full",
              "read_only",
              "custom"
            ]
          }
        },
        "description": "Resource scope requires the default-off global resourceScopedKeysEnabled feature. Full/read_only profiles resolve management scopes on the server; custom uses managementScopes. Existing selected-table commands remain unchanged. Scope conversion is explicit, revision-checked and supplies resourceScope/dataAccess together. No credential self-management."
      },
      "UpdateScopedKey": {
        "type": "object",
        "additionalProperties": false,
        "minProperties": 1,
        "properties": {
          "managementScopes": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "enum": [
                "project.read",
                "schema.read",
                "schema.write",
                "schema.publish",
                "file.read",
                "file.write",
                "trash.read",
                "trash.restore",
                "trash.purge",
                "schema.access",
                "auth.write",
                "project.write"
              ]
            },
            "description": "Explicit management permissions, separate from dataAccess. Omit for a data-only key."
          },
          "dataAccess": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ScopedKeyDataAccessInput"
              },
              {
                "$ref": "#/components/schemas/ResourceKeyDataInput"
              }
            ]
          },
          "resourceScope": {
            "$ref": "#/components/schemas/ResourceKeyScope"
          },
          "permissionPreset": {
            "enum": [
              "full",
              "read_only",
              "custom"
            ]
          }
        },
        "description": "Resource scope requires the default-off global resourceScopedKeysEnabled feature. Full/read_only profiles resolve management scopes on the server; custom uses managementScopes. Existing selected-table commands remain unchanged. Scope conversion is explicit, revision-checked and supplies resourceScope/dataAccess together. No credential self-management."
      },
      "TableFieldV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "label": {
            "type": "string"
          },
          "name": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]{0,39}$",
            "description": "New keys use lowercase words separated by single underscores, start with a letter, and have at most 40 characters. System names, constructor and prototype are reserved. Existing stored keys remain valid when unchanged; label edits do not rename JSON properties. Preserve the field id when editing an existing column."
          },
          "type": {
            "enum": [
              "text",
              "email",
              "integer",
              "decimal",
              "boolean",
              "date",
              "object",
              "relation",
              "file"
            ]
          },
          "required": {
            "type": "boolean"
          },
          "searchable": {
            "type": "boolean"
          },
          "filterable": {
            "type": "boolean"
          },
          "sortable": {
            "type": "boolean"
          },
          "unique": {
            "type": "boolean"
          },
          "default": {},
          "maxLength": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4096
          },
          "relation": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "collectionId": {
                "type": "string",
                "format": "uuid"
              },
              "tableId": {
                "type": "string",
                "format": "uuid"
              },
              "version": {
                "type": "integer",
                "minimum": 1
              }
            },
            "required": [
              "collectionId",
              "tableId",
              "version"
            ]
          }
        },
        "required": [
          "name",
          "type"
        ]
      },
      "TableDefinitionV2": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TableFieldV2"
            }
          },
          "operations": {
            "type": "array",
            "items": {
              "enum": [
                "create",
                "get",
                "list",
                "update",
                "delete"
              ]
            }
          }
        },
        "required": [
          "name",
          "fields",
          "operations"
        ]
      },
      "ApiError": {
        "type": "object",
        "required": [
          "error"
        ],
        "additionalProperties": false,
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      },
      "PublishedRecord": {
        "type": "object",
        "required": [
          "id",
          "created_at",
          "updated_at",
          "revision"
        ],
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          }
        },
        "description": "System fields plus all fields of the selected published definition; unset declared fields are null. Internal ownership/deletion fields are not returned. Resolve table metadata for field names/types and relation/file shapes."
      },
      "PublicRecord": {
        "type": "object",
        "required": [
          "id"
        ],
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "description": "ID plus only explicitly shared scalar fields. No revision, freshness token or internal ownership fields are added automatically. Published schema and effective access define the permitted projection."
      },
      "RecordPage": {
        "type": "object",
        "required": [
          "next_cursor",
          "has_more",
          "page_size"
        ],
        "additionalProperties": false,
        "properties": {
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "has_more": {
            "type": "boolean"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1
          }
        }
      },
      "RelatedFields": {
        "type": "object",
        "additionalProperties": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/PublishedRecord"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": "Keys are requested relationship field names; values are a permitted target record or null. Original relationship IDs remain in data. One level only."
      },
      "RecordResult": {
        "type": "object",
        "required": [
          "data",
          "validation_token"
        ],
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PublishedRecord"
          },
          "validation_token": {
            "type": "string",
            "minLength": 1
          },
          "included": {
            "$ref": "#/components/schemas/RelatedFields"
          }
        }
      },
      "RecordListResult": {
        "type": "object",
        "required": [
          "data",
          "page",
          "validation_token"
        ],
        "additionalProperties": false,
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublishedRecord"
            }
          },
          "page": {
            "$ref": "#/components/schemas/RecordPage"
          },
          "validation_token": {
            "type": "string",
            "minLength": 1
          },
          "included": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/RelatedFields"
            }
          }
        }
      },
      "PublicRecordResult": {
        "type": "object",
        "required": [
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/PublicRecord"
          }
        }
      },
      "PublicRecordListResult": {
        "type": "object",
        "required": [
          "data",
          "page"
        ],
        "additionalProperties": false,
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicRecord"
            }
          },
          "page": {
            "$ref": "#/components/schemas/RecordPage"
          }
        }
      },
      "RecordDeleteResult": {
        "type": "object",
        "required": [
          "data"
        ],
        "additionalProperties": false,
        "properties": {
          "data": {
            "type": "object",
            "required": [
              "id",
              "deleted"
            ],
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string"
              },
              "deleted": {
                "type": "boolean",
                "enum": [
                  true
                ]
              }
            }
          }
        }
      },
      "ResultValidation": {
        "type": "object",
        "required": [
          "valid",
          "reason"
        ],
        "additionalProperties": false,
        "properties": {
          "valid": {
            "type": "boolean"
          },
          "reason": {
            "type": "string",
            "enum": [
              "current",
              "changed_or_expired"
            ]
          }
        }
      },
      "IdentityConfig": {
        "type": "object",
        "properties": {
          "emailOtpReady": {
            "type": "boolean"
          },
          "passwordReady": {
            "type": "boolean"
          },
          "signupRequiresAccessCode": {
            "const": true
          },
          "passwordResetReady": {
            "type": "boolean"
          },
          "mode": {
            "const": "custom_email_otp"
          }
        },
        "required": [
          "emailOtpReady",
          "passwordReady",
          "signupRequiresAccessCode",
          "passwordResetReady",
          "mode"
        ],
        "additionalProperties": false
      },
      "IdentityEmail": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "IdentityPasswordLogin": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          }
        },
        "required": [
          "email",
          "emailVerified"
        ],
        "additionalProperties": false
      },
      "IdentitySession": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "testingAccount": {
            "type": "boolean"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "platformAdmin": {
            "type": "boolean"
          },
          "csrf": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "testingAccount",
          "emailVerified",
          "platformAdmin",
          "csrf"
        ],
        "additionalProperties": false
      },
      "IdentityChallenge": {
        "type": "object",
        "properties": {
          "challengeId": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "challengeId",
          "message",
          "expiresIn"
        ],
        "additionalProperties": false
      },
      "AcceptedMessage": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "additionalProperties": false
      },
      "AppIdentity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "email"
        ],
        "additionalProperties": false
      },
      "AppLogin": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "minimum": 1
          },
          "user": {
            "$ref": "#/components/schemas/AppIdentity"
          }
        },
        "required": [
          "token",
          "expiresIn",
          "user"
        ],
        "additionalProperties": false
      },
      "AppAuthConfiguration": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "disabled",
              "invite_only",
              "open"
            ]
          },
          "origin": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "deliveryReady": {
            "type": "boolean"
          },
          "provider": {
            "type": "string",
            "enum": [
              "managed",
              "firebase"
            ]
          },
          "firebaseProjectId": {
            "type": "string"
          },
          "credentialsConfigured": {
            "type": "boolean"
          },
          "externalProvidersEnabled": {
            "type": "boolean"
          },
          "supportedProviders": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "managed",
                "firebase"
              ]
            }
          }
        },
        "required": [
          "mode",
          "origin",
          "revision",
          "deliveryReady",
          "provider",
          "firebaseProjectId",
          "credentialsConfigured",
          "externalProvidersEnabled",
          "supportedProviders"
        ],
        "additionalProperties": false
      },
      "AppInvitation": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "message"
        ],
        "additionalProperties": false
      },
      "OrganizationResource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "contributor",
              "reader"
            ]
          }
        },
        "required": [
          "id",
          "revision",
          "name",
          "role"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        }
      },
      "ProjectResource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "organizationId": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "contributor",
              "reader"
            ]
          },
          "permissions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "canManageAccess": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "revision",
          "name",
          "organizationId"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        }
      },
      "CollectionResource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "isDefault": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "revision",
          "name",
          "projectId"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        }
      },
      "LegacySchemaResource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "state": {
            "const": "draft"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "type",
                "required"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "id",
          "revision",
          "name",
          "projectId",
          "state",
          "fields"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        }
      },
      "KeyMetadata": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "expiresAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "revoked": {
            "type": "boolean"
          },
          "accessModel": {
            "type": "string",
            "enum": [
              "table_operations_v1",
              "resource_scope_v2"
            ]
          },
          "dataAccess": {
            "$ref": "#/components/schemas/ResolvedKeyDataAccess"
          },
          "updatedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "revokedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "resourceScope": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ResourceKeyScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "permissionPreset": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "full",
              "read_only",
              "custom",
              null
            ]
          }
        },
        "required": [
          "id",
          "revision",
          "name",
          "projectId",
          "scopes",
          "expiresAt",
          "revoked"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash",
              "secret"
            ]
          }
        }
      },
      "SettingsValues": {
        "type": "object",
        "additionalProperties": {
          "type": [
            "integer",
            "boolean"
          ]
        }
      },
      "PlanVersion": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "minimum": 1
          },
          "values": {
            "$ref": "#/components/schemas/SettingsValues"
          },
          "state": {
            "type": "string",
            "enum": [
              "active",
              "expired"
            ]
          },
          "expiresAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          }
        },
        "required": [
          "id",
          "code",
          "name",
          "version",
          "values"
        ],
        "additionalProperties": false
      },
      "EffectiveSettings": {
        "type": "object",
        "properties": {
          "values": {
            "$ref": "#/components/schemas/SettingsValues"
          },
          "settingsRevision": {
            "type": "integer",
            "minimum": 0
          },
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlanVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "overrideExpiresAt": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "assignmentState": {
            "type": "string",
            "enum": [
              "default",
              "active",
              "expired"
            ]
          }
        },
        "required": [
          "values",
          "settingsRevision",
          "plan",
          "overrideExpiresAt",
          "assignmentState"
        ],
        "additionalProperties": false
      },
      "PlanCatalog": {
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanVersion"
            }
          }
        },
        "required": [
          "revision",
          "items"
        ],
        "additionalProperties": false
      },
      "ConfigurationEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "values": {
            "$ref": "#/components/schemas/SettingsValues"
          },
          "actorEmail": {
            "type": "string"
          },
          "expectedRevision": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "id",
          "revision",
          "kind",
          "createdAt",
          "actorEmail"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        }
      },
      "GlobalSettings": {
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "values": {
            "$ref": "#/components/schemas/SettingsValues"
          },
          "definitions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "integer",
                    "boolean"
                  ]
                },
                "default": {
                  "type": [
                    "integer",
                    "boolean"
                  ]
                },
                "minimum": {
                  "type": "integer",
                  "minimum": 0
                },
                "maximum": {
                  "type": "integer",
                  "minimum": 0
                },
                "globalOnly": {
                  "type": "boolean"
                }
              },
              "required": [
                "key",
                "label",
                "type",
                "default",
                "minimum",
                "maximum",
                "globalOnly"
              ],
              "additionalProperties": false
            }
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigurationEvent"
            }
          }
        },
        "required": [
          "revision",
          "values",
          "definitions",
          "history"
        ],
        "additionalProperties": false
      },
      "OrganizationPlan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "effective": {
            "$ref": "#/components/schemas/EffectiveSettings"
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfigurationEvent"
            }
          },
          "usage": {
            "$ref": "#/components/schemas/OrganizationUsage"
          }
        },
        "required": [
          "id",
          "name",
          "revision",
          "effective",
          "history",
          "usage"
        ],
        "additionalProperties": false
      },
      "OrganizationUsage": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string"
          },
          "allowanceLabel": {
            "type": "string"
          },
          "plan": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PlanVersion"
              },
              {
                "type": "null"
              }
            ]
          },
          "profile": {
            "$ref": "#/components/schemas/EffectiveSettings"
          },
          "organizationId": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "timezone": {
            "const": "UTC"
          },
          "limit": {
            "type": "integer",
            "minimum": 0
          },
          "used": {
            "type": "integer",
            "minimum": 0
          },
          "reserved": {
            "type": "integer",
            "minimum": 0
          },
          "remaining": {
            "type": "integer",
            "minimum": 0
          },
          "overLimit": {
            "type": "boolean"
          },
          "resetsAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "breakdowns": {
            "$ref": "#/components/schemas/UsageBreakdowns"
          },
          "trackingStartedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "measuredAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "operations": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "minimum": 0
            }
          },
          "admissions": {
            "type": "integer",
            "minimum": 0
          },
          "admissionLimit": {
            "type": "integer",
            "minimum": 0
          },
          "maxConcurrentRequests": {
            "type": "integer",
            "minimum": 0
          },
          "historicalCallsIncluded": {
            "type": "boolean"
          }
        },
        "required": [
          "model",
          "allowanceLabel",
          "plan",
          "profile",
          "organizationId",
          "period",
          "timezone",
          "limit",
          "used",
          "reserved",
          "remaining",
          "overLimit",
          "resetsAt",
          "breakdowns",
          "trackingStartedAt",
          "measuredAt",
          "operations",
          "admissions",
          "admissionLimit",
          "maxConcurrentRequests",
          "historicalCallsIncluded"
        ],
        "additionalProperties": false
      },
      "UsageBreakdowns": {
        "type": "object",
        "properties": {
          "attributed": {
            "type": "integer",
            "minimum": 0
          },
          "unattributed": {
            "type": "integer",
            "minimum": 0
          },
          "trackingStartedAt": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "dimensions": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "restricted": {
                  "type": "boolean"
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "completed": {
                        "type": "integer",
                        "minimum": 0
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "completed"
                    ],
                    "additionalProperties": true
                  }
                },
                "other": {
                  "type": "integer",
                  "minimum": 0
                },
                "unattributed": {
                  "type": "integer",
                  "minimum": 0
                }
              },
              "required": [],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "attributed",
          "unattributed",
          "trackingStartedAt",
          "dimensions"
        ],
        "additionalProperties": false
      },
      "Member": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "contributor",
              "reader"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "invited",
              "active",
              "revoked"
            ]
          },
          "epoch": {
            "type": "integer",
            "minimum": 1
          },
          "expiresAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "updatedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "actorSubject": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "invitationToken": {
            "type": "string"
          },
          "organizationId": {
            "type": "string"
          },
          "acceptedAt": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "email",
          "role",
          "state",
          "epoch",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "MembershipList": {
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "contributor",
              "reader"
            ]
          },
          "owner": {
            "type": "object",
            "properties": {
              "role": {
                "const": "owner"
              }
            },
            "required": [
              "role"
            ],
            "additionalProperties": false
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Member"
            }
          },
          "maxMembers": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "revision",
          "role",
          "owner",
          "members",
          "maxMembers"
        ],
        "additionalProperties": false
      },
      "MembershipAccepted": {
        "type": "object",
        "properties": {
          "organizationId": {
            "type": "string"
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "contributor",
              "reader"
            ]
          },
          "state": {
            "const": "active"
          }
        },
        "required": [
          "organizationId",
          "role",
          "state"
        ],
        "additionalProperties": false
      },
      "PlatformCatalogInfo": {
        "type": "object",
        "properties": {
          "complete": {
            "type": "boolean"
          },
          "scanned_rows": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "complete",
          "scanned_rows",
          "limit"
        ],
        "additionalProperties": false
      },
      "PlatformInvitation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "issued_at": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "expires_at": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "issued_by": {
            "type": "string"
          },
          "joined_at": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          }
        },
        "required": [
          "id",
          "email",
          "status",
          "issued_at",
          "expires_at",
          "issued_by",
          "joined_at"
        ],
        "additionalProperties": false
      },
      "PlatformInvitationList": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformInvitation"
            }
          },
          "catalog": {
            "$ref": "#/components/schemas/PlatformCatalogInfo"
          }
        },
        "required": [
          "items",
          "catalog"
        ],
        "additionalProperties": false
      },
      "PlatformInvitationCreated": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "accessCode": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "minimum": 1
          },
          "invitation": {
            "$ref": "#/components/schemas/PlatformInvitation"
          }
        },
        "required": [
          "email",
          "accessCode",
          "expiresIn",
          "invitation"
        ],
        "additionalProperties": false
      },
      "PlatformOverview": {
        "type": "object",
        "properties": {
          "counts": {
            "type": "object",
            "additionalProperties": {
              "type": "integer",
              "minimum": 0
            }
          },
          "organizations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogResource"
            }
          },
          "projects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogResource"
            }
          },
          "collections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CatalogResource"
            }
          },
          "tables": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "project_id": {
                  "type": "string"
                },
                "collection_id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "field_count": {
                  "type": "integer",
                  "minimum": 0
                },
                "draft_revision": {
                  "type": "integer",
                  "minimum": 1
                },
                "releases": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "integer",
                        "minimum": 1
                      },
                      "published_at": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "operations": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "required": [
                      "version",
                      "published_at",
                      "operations"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "id",
                "project_id",
                "collection_id",
                "name",
                "field_count",
                "draft_revision",
                "releases"
              ],
              "additionalProperties": false
            }
          },
          "invitations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlatformInvitation"
            }
          },
          "catalog": {
            "$ref": "#/components/schemas/PlatformCatalogInfo"
          },
          "generated_at": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "invitation_hours": {
            "type": "integer",
            "minimum": 1
          }
        },
        "required": [
          "counts",
          "organizations",
          "projects",
          "collections",
          "tables",
          "invitations",
          "catalog",
          "generated_at",
          "invitation_hours"
        ],
        "additionalProperties": false
      },
      "CatalogResource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "organization_id": {
            "type": "string"
          },
          "project_id": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "created_at"
        ],
        "additionalProperties": false
      },
      "TableResource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "collectionId": {
            "type": "string"
          },
          "draft": {
            "$ref": "#/components/schemas/ControlTableDefinition"
          },
          "releases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublishedTableDefinition"
            }
          },
          "publishedVersion": {
            "type": "integer",
            "minimum": 1
          },
          "replayed": {
            "type": "boolean"
          },
          "retiredVersions": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1
            }
          },
          "apiName": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9_]{0,79}$"
          },
          "pendingFolderMove": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "key",
              "requested",
              "from",
              "to",
              "revision"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "requested": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "from": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "revision": {
                "type": "integer",
                "minimum": 1
              }
            }
          }
        },
        "required": [
          "id",
          "revision",
          "projectId",
          "collectionId",
          "draft",
          "releases"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        },
        "description": "Control projection; draft/release fields resolve the actual published contract. Extension metadata is allowed; secrets and internal ownership are forbidden."
      },
      "PublishedTableDefinition": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "type"
              ],
              "additionalProperties": true
            }
          },
          "operations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "version": {
            "type": "integer",
            "minimum": 1
          },
          "published_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "fields",
          "operations",
          "version",
          "published_at"
        ],
        "additionalProperties": false
      },
      "TableAccess": {
        "type": "object",
        "properties": {
          "preset": {
            "type": "string",
            "enum": [
              "private",
              "own_records",
              "public_read"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "version": {
            "type": "integer",
            "minimum": 1
          },
          "publicOperations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "publicFields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "visibilityField": {
            "type": "string"
          },
          "ownerEdits": {
            "type": "boolean"
          },
          "actorSubject": {
            "type": "string"
          }
        },
        "required": [
          "preset",
          "revision"
        ],
        "additionalProperties": false
      },
      "EffectiveTablePolicy": {
        "type": "object",
        "properties": {
          "operations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "max_page_size": {
            "type": "integer",
            "minimum": 1
          },
          "policy_revisions": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0
            }
          },
          "version": {
            "type": "integer",
            "minimum": 1
          },
          "retired": {
            "type": "boolean"
          },
          "appUserOperations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "publicOperations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "publicFields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "max_search_length": {
            "type": "integer",
            "minimum": 1,
            "description": "Effective maximumSearchLength from the organization settings/plan/override. Applies to q; unavailable configuration fails closed.",
            "maximum": 80
          }
        },
        "required": [
          "operations",
          "max_page_size",
          "policy_revisions",
          "max_search_length"
        ],
        "additionalProperties": false
      },
      "TablePolicy": {
        "type": "object",
        "properties": {
          "operations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "max_page_size": {
            "type": "integer",
            "minimum": 1
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "credentialId": {
            "type": "string"
          },
          "actorSubject": {
            "type": "string"
          }
        },
        "required": [
          "operations",
          "max_page_size",
          "revision"
        ],
        "additionalProperties": false
      },
      "PublicationReview": {
        "type": "object",
        "properties": {
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "nextVersion": {
            "type": "integer",
            "minimum": 1
          },
          "previousVersion": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "retirePrevious": {
            "type": "boolean"
          },
          "changes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string"
                },
                "field": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "required": {
                  "type": "boolean"
                }
              },
              "required": [
                "kind"
              ],
              "additionalProperties": false
            }
          },
          "blockers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "required": [
                "code",
                "message"
              ],
              "additionalProperties": false
            }
          },
          "operations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "access": {
            "type": "object",
            "properties": {
              "preset": {
                "type": "string"
              }
            },
            "required": [
              "preset"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "revision",
          "nextVersion",
          "previousVersion",
          "retirePrevious",
          "changes",
          "blockers",
          "operations",
          "access"
        ],
        "additionalProperties": false
      },
      "StorageTransition": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "enum": [
              "uninitialized",
              "active",
              "recovering"
            ]
          },
          "generation": {
            "type": "integer",
            "minimum": 0
          },
          "completed": {
            "type": "integer",
            "minimum": 0
          },
          "total": {
            "type": "integer",
            "minimum": 0
          },
          "source": {
            "type": "object",
            "properties": {
              "version": {
                "type": "integer",
                "minimum": 1
              },
              "legacyRevision": {
                "type": "integer",
                "minimum": 0
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "state"
        ],
        "additionalProperties": false
      },
      "ControlCapabilities": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "string",
            "enum": [
              "console_member",
              "ai_key"
            ]
          },
          "projectId": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "schemaTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "fieldKeyRules": {
            "type": "object",
            "properties": {
              "pattern": {
                "type": "string"
              },
              "maxLength": {
                "type": "integer",
                "minimum": 1
              },
              "reserved": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "preserveExistingKeys": {
                "type": "boolean"
              }
            },
            "required": [
              "pattern",
              "maxLength",
              "reserved",
              "preserveExistingKeys"
            ],
            "additionalProperties": false
          },
          "sorting": {
            "type": "object",
            "properties": {
              "fieldParameter": {
                "const": "sort_by"
              },
              "orderParameter": {
                "const": "sort_order"
              },
              "defaultField": {
                "type": "string"
              },
              "defaultOrder": {
                "type": "string"
              },
              "systemFields": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "orders": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "fieldParameter",
              "orderParameter",
              "defaultField",
              "defaultOrder",
              "systemFields",
              "orders"
            ],
            "additionalProperties": false
          },
          "dataAccess": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ResolvedKeyDataAccess"
              },
              {
                "type": "null"
              }
            ]
          },
          "dataAccessModel": {
            "type": "string",
            "enum": [
              "console_member",
              "table_operations_v1",
              "resource_scope_v2",
              "legacy_project_scopes"
            ]
          },
          "organizationRoles": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "owner",
                "admin",
                "contributor",
                "reader"
              ]
            }
          },
          "membershipAuthorization": {
            "type": "string"
          },
          "keyManagementAvailable": {
            "type": "boolean"
          },
          "relationsAvailable": {
            "type": "boolean"
          },
          "filesAvailable": {
            "type": "boolean"
          },
          "fileKeyScopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "usageMeteringAvailable": {
            "type": "boolean"
          },
          "monthlyApiAllowance": {
            "type": "integer",
            "minimum": 0
          },
          "productSettings": {
            "$ref": "#/components/schemas/SettingsValues"
          },
          "storageMode": {
            "type": "string"
          },
          "developmentLimits": {
            "type": "object",
            "additionalProperties": {
              "type": [
                "integer",
                "boolean",
                "string"
              ]
            }
          },
          "dataAccessPresets": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "publishingAvailable": {
            "type": "boolean"
          },
          "customerDataAvailable": {
            "type": "boolean"
          },
          "controlApiVersions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "maxFields": {
            "type": "integer",
            "minimum": 1
          },
          "legacyMaxFields": {
            "type": "integer",
            "minimum": 1
          },
          "queryParameterPolicy": {
            "$ref": "#/components/schemas/QueryParameterPolicy"
          },
          "filtering": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "equality",
              "rangeOperators",
              "rangeTypes",
              "combination",
              "inclusive"
            ],
            "properties": {
              "equality": {
                "type": "string"
              },
              "rangeOperators": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "rangeTypes": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "combination": {
                "const": "AND"
              },
              "inclusive": {
                "const": true
              }
            }
          },
          "trashKeyScopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "projectSync": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "path",
              "requiredScope",
              "comparisonField"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "requiredScope": {
                "type": "string"
              },
              "comparisonField": {
                "type": "string"
              }
            }
          },
          "apiNameRules": {
            "type": "object",
            "additionalProperties": true
          },
          "resourceLifecycle": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "consoleOnly",
              "ownerDeletionOnly",
              "path"
            ],
            "properties": {
              "consoleOnly": {
                "const": true
              },
              "ownerDeletionOnly": {
                "const": true
              },
              "path": {
                "const": "/control/v2/lifecycle/{resourceId}"
              }
            }
          },
          "organizationId": {
            "type": [
              "string",
              "null"
            ]
          },
          "resourceScope": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ResourceKeyScope"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "principal",
          "projectId",
          "scopes",
          "schemaTypes",
          "fieldKeyRules",
          "sorting",
          "dataAccess",
          "dataAccessModel",
          "organizationRoles",
          "membershipAuthorization",
          "keyManagementAvailable",
          "relationsAvailable",
          "filesAvailable",
          "fileKeyScopes",
          "usageMeteringAvailable",
          "monthlyApiAllowance",
          "productSettings",
          "storageMode",
          "developmentLimits",
          "dataAccessPresets",
          "publishingAvailable",
          "customerDataAvailable",
          "controlApiVersions",
          "maxFields",
          "legacyMaxFields",
          "queryParameterPolicy",
          "filtering",
          "trashKeyScopes",
          "projectSync"
        ],
        "additionalProperties": false
      },
      "FileMetadata": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "organizationId": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mime": {
            "type": "string"
          },
          "size": {
            "type": "integer",
            "minimum": 1
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "state": {
            "type": "string",
            "enum": [
              "pending",
              "active",
              "deleting",
              "deleted"
            ]
          },
          "visibility": {
            "type": "string",
            "enum": [
              "private",
              "public"
            ]
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "expiresAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "publicUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "finalizedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "updatedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "deletedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "activatedAt": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "organizationId",
          "projectId",
          "name",
          "mime",
          "size",
          "sha256",
          "state",
          "visibility",
          "createdAt",
          "expiresAt",
          "revision",
          "publicUrl"
        ],
        "additionalProperties": false
      },
      "FileList": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileMetadata"
            }
          },
          "reservedAndActiveBytes": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "retainedFileIds": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "organizationUsageRestricted": {
            "type": "boolean"
          },
          "supportedMediaTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limits": {
            "$ref": "#/components/schemas/SettingsValues"
          }
        },
        "required": [
          "items",
          "reservedAndActiveBytes",
          "retainedFileIds",
          "organizationUsageRestricted",
          "supportedMediaTypes",
          "limits"
        ],
        "additionalProperties": false
      },
      "FileUploaded": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "uploaded": {
            "const": true
          }
        },
        "required": [
          "id",
          "uploaded"
        ],
        "additionalProperties": false
      },
      "FileCleanup": {
        "type": "object",
        "properties": {
          "reconciled": {
            "type": "integer",
            "minimum": 0
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "reconciled",
          "nextCursor"
        ],
        "additionalProperties": false
      },
      "KeyCreated": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "kind": {
            "type": "string"
          },
          "createdAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "credentialId": {
            "type": "string"
          },
          "projectId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "expiresAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "revoked": {
            "type": "boolean"
          },
          "accessModel": {
            "type": "string",
            "enum": [
              "table_operations_v1",
              "resource_scope_v2"
            ]
          },
          "dataAccess": {
            "$ref": "#/components/schemas/ResolvedKeyDataAccess"
          },
          "updatedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "revokedAt": {
            "type": "integer",
            "description": "Unix epoch seconds, UTC."
          },
          "secret": {
            "type": "string"
          },
          "resourceScope": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ResourceKeyScope"
              },
              {
                "type": "null"
              }
            ]
          },
          "permissionPreset": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "full",
              "read_only",
              "custom",
              null
            ]
          }
        },
        "required": [
          "id",
          "revision",
          "name",
          "projectId",
          "scopes",
          "expiresAt",
          "revoked",
          "secret"
        ],
        "additionalProperties": true,
        "propertyNames": {
          "not": {
            "enum": [
              "secretHash",
              "passwordHash",
              "requestHash",
              "actorSubject",
              "owner",
              "sessions",
              "inviteHash",
              "resetHash"
            ]
          }
        }
      },
      "ControlTableDefinition": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "type"
              ],
              "additionalProperties": true
            }
          },
          "operations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "name",
          "fields",
          "operations"
        ],
        "additionalProperties": false
      },
      "ResolvedKeyDataAccess": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "preset",
          "tables"
        ],
        "properties": {
          "preset": {
            "type": "string",
            "enum": [
              "read_only",
              "read_write",
              "custom"
            ]
          },
          "tables": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "tableId",
                "operations"
              ],
              "properties": {
                "tableId": {
                  "type": "string"
                },
                "operations": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "enum": [
                      "get",
                      "list",
                      "create",
                      "update",
                      "delete"
                    ]
                  }
                }
              }
            },
            "maxItems": 500
          },
          "mode": {
            "enum": [
              "all",
              "selected"
            ]
          },
          "operations": {
            "type": "array",
            "items": {
              "enum": [
                "create",
                "get",
                "list",
                "update",
                "delete"
              ]
            }
          }
        }
      },
      "QueryParameterPolicy": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "unknownParameters",
          "duplicateRecognizedParameters",
          "unsupportedRecognizedParameters",
          "caseSensitive",
          "recognizedControls",
          "recognizedFamilies",
          "actionSwitches"
        ],
        "properties": {
          "unknownParameters": {
            "const": "ignored"
          },
          "duplicateRecognizedParameters": {
            "const": "rejected"
          },
          "unsupportedRecognizedParameters": {
            "const": "rejected"
          },
          "caseSensitive": {
            "const": true
          },
          "recognizedControls": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "recognizedFamilies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "actionSwitches": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "TrashItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "recordId": {
            "type": "string"
          },
          "collectionId": {
            "type": "string"
          },
          "tableId": {
            "type": "string"
          },
          "tableName": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "deletedAt": {
            "type": "integer",
            "minimum": 0
          },
          "deletedBy": {
            "type": "string"
          },
          "preview": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "id",
          "recordId",
          "collectionId",
          "tableId",
          "tableName",
          "revision",
          "deletedAt",
          "deletedBy",
          "preview"
        ],
        "additionalProperties": false
      },
      "TrashList": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrashItem"
            }
          },
          "page": {
            "$ref": "#/components/schemas/RecordPage"
          },
          "count": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "data",
          "page",
          "count"
        ],
        "additionalProperties": false
      },
      "TrashPurged": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "purged": {
            "const": true
          }
        },
        "required": [
          "id",
          "purged"
        ],
        "additionalProperties": false
      },
      "TrashJobEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "purged",
              "conflicted"
            ]
          },
          "code": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "revision",
          "status"
        ],
        "additionalProperties": false
      },
      "TrashJob": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "preview",
              "pending",
              "complete"
            ]
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrashJobEntry"
            }
          },
          "expiresAt": {
            "type": "integer",
            "minimum": 0
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          },
          "previewToken": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "state",
          "entries",
          "expiresAt",
          "revision"
        ],
        "additionalProperties": false
      },
      "KeyOptions": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "tables",
          "managementScopes",
          "filesAvailable",
          "settings"
        ],
        "properties": {
          "tables": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "collectionId",
                "name",
                "operations"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "collectionId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "operations": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "managementScopes": {
            "type": "array",
            "items": {
              "enum": [
                "project.read",
                "schema.read",
                "schema.write",
                "schema.publish",
                "file.read",
                "file.write",
                "trash.read",
                "trash.restore",
                "trash.purge",
                "schema.access",
                "auth.write",
                "project.write"
              ]
            }
          },
          "filesAvailable": {
            "type": "boolean"
          },
          "settings": {
            "$ref": "#/components/schemas/SettingsValues"
          },
          "resourceScopedKeysEnabled": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "permissionPresets": {
            "type": "array",
            "items": {
              "enum": [
                "full",
                "read_only",
                "custom"
              ]
            }
          },
          "fullScopes": {
            "type": "array",
            "items": {
              "enum": [
                "project.read",
                "schema.read",
                "schema.write",
                "schema.publish",
                "file.read",
                "file.write",
                "trash.read",
                "trash.restore",
                "trash.purge",
                "schema.access",
                "auth.write",
                "project.write"
              ]
            }
          },
          "readOnlyScopes": {
            "type": "array",
            "items": {
              "enum": [
                "project.read",
                "schema.read",
                "schema.write",
                "schema.publish",
                "file.read",
                "file.write",
                "trash.read",
                "trash.restore",
                "trash.purge",
                "schema.access",
                "auth.write",
                "project.write"
              ]
            }
          },
          "tableOperations": {
            "type": "array",
            "items": {
              "enum": [
                "create",
                "get",
                "list",
                "update",
                "delete"
              ]
            }
          },
          "projects": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "name",
                "tables"
              ],
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "name": {
                  "type": "string"
                },
                "tables": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "id",
                      "name",
                      "projectId",
                      "operations"
                    ],
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "name": {
                        "type": "string"
                      },
                      "projectId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "operations": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "create",
                            "get",
                            "list",
                            "update",
                            "delete"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "ProjectSync": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "last_updated_at",
          "revision"
        ],
        "properties": {
          "last_updated_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Latest known committed record-write intent timestamp (UTC); null if none recorded or any existing data head lacks a timestamp. Configuration changes can invalidate revision without changing this timestamp."
          },
          "revision": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$",
            "description": "Opaque project fingerprint. Compare equality only; not an API version, record ID, count or delta cursor."
          }
        }
      },
      "ResourceDeletionJob": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "state": {
            "enum": [
              "queued",
              "running",
              "failed",
              "completed",
              "cancelled"
            ]
          },
          "phase": {
            "enum": [
              "drain",
              "cleanup",
              "done"
            ]
          },
          "completedTasks": {
            "type": "integer",
            "minimum": 0
          },
          "totalTasks": {
            "type": "integer",
            "minimum": 0
          },
          "startedAt": {
            "type": "integer",
            "minimum": 0
          },
          "canCancel": {
            "type": "boolean"
          },
          "completedAt": {
            "type": "integer",
            "minimum": 0
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          },
          "waitingForProvider": {
            "type": "boolean"
          },
          "retryAfterSeconds": {
            "type": "integer",
            "minimum": 0,
            "maximum": 2
          }
        },
        "required": [
          "state",
          "phase",
          "completedTasks",
          "totalTasks",
          "startedAt",
          "canCancel"
        ]
      },
      "ResourceLifecycle": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "organization",
              "project",
              "collection",
              "table"
            ]
          },
          "name": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "state": {
            "enum": [
              "active",
              "disabled",
              "deleted"
            ]
          },
          "effectiveState": {
            "enum": [
              "active",
              "disabled",
              "deleted"
            ]
          },
          "blockedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "activeOperations": {
            "type": "integer",
            "minimum": 0
          },
          "deletion": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ResourceDeletionJob"
              },
              {
                "type": "null"
              }
            ]
          },
          "maintenanceResourceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "accountErasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Opaque app-account cleanup ID while organization maintenance is held. Use the session-only account-cleanup endpoint."
          }
        },
        "required": [
          "id",
          "kind",
          "name",
          "revision",
          "state",
          "effectiveState",
          "blockedBy",
          "activeOperations",
          "deletion",
          "maintenanceResourceId"
        ]
      },
      "ResourceDeletionPreview": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "resource": {
            "$ref": "#/components/schemas/ResourceLifecycle"
          },
          "resources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string"
                },
                "kind": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "kind",
                "name"
              ]
            }
          },
          "tableCount": {
            "type": "integer",
            "minimum": 0
          },
          "projectCount": {
            "type": "integer",
            "minimum": 0
          },
          "metadataCount": {
            "type": "integer",
            "minimum": 0
          },
          "dependentTableIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "canDelete": {
            "type": "boolean"
          },
          "permanent": {
            "const": true
          },
          "backupNotice": {
            "type": "string"
          }
        },
        "required": [
          "resource",
          "resources",
          "tableCount",
          "projectCount",
          "metadataCount",
          "dependentTableIds",
          "canDelete",
          "permanent",
          "backupNotice"
        ]
      },
      "ResourceKeyScope": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "organizationId",
          "projects",
          "projectIds"
        ],
        "properties": {
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "projects": {
            "enum": [
              "all",
              "selected"
            ]
          },
          "projectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "uniqueItems": true
          }
        },
        "description": "One issuing organization. All includes future projects; selected must include the issuing project. Every project must belong to this organization. Existing keys never broaden implicitly."
      },
      "ResourceKeyDataInput": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "preset",
          "mode",
          "tables"
        ],
        "properties": {
          "preset": {
            "enum": [
              "read_only",
              "read_write",
              "custom"
            ]
          },
          "mode": {
            "enum": [
              "all",
              "selected"
            ]
          },
          "operations": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "enum": [
                "create",
                "get",
                "list",
                "update",
                "delete"
              ]
            }
          },
          "tables": {
            "type": "array",
            "maxItems": 500,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "tableId"
              ],
              "properties": {
                "tableId": {
                  "type": "string",
                  "format": "uuid"
                },
                "operations": {
                  "type": "array",
                  "uniqueItems": true,
                  "items": {
                    "enum": [
                      "create",
                      "get",
                      "list",
                      "update",
                      "delete"
                    ]
                  }
                }
              }
            }
          }
        },
        "description": "All-table mode uses no individual grants and includes future tables. Custom all-table mode supplies operations. Selected mode needs unique tables inside the selected projects; custom entries each supply operations. Non-custom operations derive from the preset. Runtime schema/policies and roles still constrain access. Full/read_only permissionPreset must match data preset."
      },
      "RealtimeAuthorization": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "projectId",
          "tableId",
          "version",
          "connectionName",
          "authorizationRevision",
          "channelId"
        ],
        "properties": {
          "projectId": {
            "type": "string"
          },
          "tableId": {
            "type": "string"
          },
          "version": {
            "type": "integer",
            "minimum": 1,
            "maximum": 999
          },
          "connectionName": {
            "type": "string",
            "pattern": "^ncr_[a-f0-9]{32}$"
          },
          "authorizationRevision": {
            "type": "string"
          },
          "channelId": {
            "type": "string",
            "pattern": "^[0-9]{1,32}$"
          }
        }
      },
      "AccountDeletionPreview": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "domain",
          "subject",
          "projectId",
          "ownedOrganizations",
          "confirmationEmail",
          "requiresEmailCode",
          "notice",
          "retentionNotice"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "enum": [
              "builder",
              "app"
            ]
          },
          "subject": {
            "type": "string"
          },
          "projectId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "ownedOrganizations": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          },
          "confirmationEmail": {
            "type": "string"
          },
          "requiresEmailCode": {
            "type": "boolean"
          },
          "notice": {
            "type": "string"
          },
          "retentionNotice": {
            "type": "string"
          }
        }
      },
      "AccountDeletionChallenge": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "domain",
          "subject",
          "projectId",
          "ownedOrganizations",
          "confirmationEmail",
          "requiresEmailCode",
          "notice",
          "retentionNotice",
          "jobId",
          "challengeId",
          "expiresIn"
        ],
        "properties": {
          "domain": {
            "type": "string",
            "enum": [
              "builder",
              "app"
            ]
          },
          "subject": {
            "type": "string"
          },
          "projectId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "ownedOrganizations": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "name"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          },
          "confirmationEmail": {
            "type": "string"
          },
          "requiresEmailCode": {
            "type": "boolean"
          },
          "notice": {
            "type": "string"
          },
          "retentionNotice": {
            "type": "string"
          },
          "jobId": {
            "type": "string"
          },
          "challengeId": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "minimum": 60,
            "maximum": 900
          }
        }
      },
      "AccountDeletionStatus": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "jobId",
          "domain",
          "state",
          "phase",
          "canCancel",
          "startedAt",
          "completedTasks",
          "revision"
        ],
        "properties": {
          "jobId": {
            "type": "string"
          },
          "domain": {
            "type": "string",
            "enum": [
              "builder",
              "app"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "failed",
              "cancelled",
              "completed"
            ]
          },
          "phase": {
            "type": "string"
          },
          "canCancel": {
            "type": "boolean"
          },
          "startedAt": {
            "type": "integer",
            "minimum": 0
          },
          "completedAt": {
            "type": "integer",
            "minimum": 0
          },
          "completedTasks": {
            "type": "integer",
            "minimum": 0
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "retryAfterSeconds": {
            "type": "integer",
            "minimum": 0
          },
          "csrf": {
            "type": "string"
          },
          "recoveryToken": {
            "type": "string",
            "description": "Private app deletion recovery credential. Keep out of URLs, logs and source."
          },
          "recoveryExpiresIn": {
            "type": "integer",
            "minimum": 86400,
            "maximum": 2592000
          }
        }
      },
      "AccountDeletionRecoveryChallenge": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "jobId",
          "challengeId",
          "expiresIn",
          "message"
        ],
        "properties": {
          "jobId": {
            "type": "string"
          },
          "challengeId": {
            "type": "string"
          },
          "expiresIn": {
            "type": "integer",
            "minimum": 60,
            "maximum": 900
          },
          "message": {
            "type": "string"
          }
        }
      },
      "AppAccountList": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "users"
        ],
        "properties": {
          "users": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "id",
                "email",
                "state",
                "provider",
                "revision"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "email": {
                  "type": "string"
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "active",
                    "disabled",
                    "deleting",
                    "deleted"
                  ]
                },
                "provider": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          }
        }
      },
      "AppAccountState": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "id",
          "state",
          "revision"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "active",
              "disabled"
            ]
          },
          "revision": {
            "type": "integer",
            "minimum": 1
          }
        }
      }
    },
    "responses": {
      "ApiError403": {
        "description": "Access or origin denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404": {
        "description": "Resource or enabled API not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError429": {
        "description": "Rate limited",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "DefaultApiError": {
        "description": "Other server/provider failure or conditional rejection. Standard JSON error envelope; no raw provider details. Explicit status reconciliation is tracked in REST completeness.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401": {
        "description": "Missing, invalid, expired or revoked credential.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError412": {
        "description": "Access configuration revision changed",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError400": {
        "description": "Malformed input",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401_2": {
        "description": "Sign-in/key invalid",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_2": {
        "description": "Scope, CSRF or origin denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError409": {
        "description": "Conflict or POC limit",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError422": {
        "description": "Validation failed",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError503": {
        "description": "Service/mail/storage not configured or available",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401_3": {
        "description": "Invalid, expired or consumed link",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_3": {
        "description": "Origin denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_2": {
        "description": "Testing access disabled",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError503_2": {
        "description": "Storage unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError400_2": {
        "description": "Malformed request or invalid token",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401_4": {
        "description": "Invalid session or key",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_4": {
        "description": "Permission, origin or operation denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_3": {
        "description": "Scoped resource/version not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError409_2": {
        "description": "Conflict, changed result set or Development capacity limit",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError412_2": {
        "description": "Stale entity or draft revision",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError413": {
        "description": "Bounded storage capacity or request size exceeded",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError422_2": {
        "description": "Invalid fields, filters or sort",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError428": {
        "description": "Expected revision required",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_5": {
        "description": "Origin rejected.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_4": {
        "description": "Recovery unavailable.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError429_2": {
        "description": "Rate limited.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError503_3": {
        "description": "Email delivery is busy or storage is unavailable.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_6": {
        "description": "Origin rejected or token invalid.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError422_3": {
        "description": "Password policy rejected.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401_5": {
        "description": "Invalid credentials",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_7": {
        "description": "Invitation or origin denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_5": {
        "description": "Password access disabled",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError422_4": {
        "description": "Invalid password/input",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError429_3": {
        "description": "Attempt/concurrency limit",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401_6": {
        "description": "Sign-in required",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_8": {
        "description": "Platform admin, CSRF or origin denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_6": {
        "description": "Invitation not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError409_3": {
        "description": "Already registered or concurrent change",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError422_5": {
        "description": "Invalid email/input",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError503_4": {
        "description": "Catalog/storage unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_9": {
        "description": "Console sign-in required",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_7": {
        "description": "Organization access not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError503_5": {
        "description": "Usage/storage unavailable; never interpreted as zero",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError412_3": {
        "description": "Revision changed; reload before editing",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError413_2": {
        "description": "Retained configuration history/metadata capacity reached",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError400_3": {
        "description": "Malformed request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError401_7": {
        "description": "Sign-in/key required",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError403_10": {
        "description": "Scope, role, CSRF or origin denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError404_8": {
        "description": "Resource not found or unavailable",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError409_4": {
        "description": "Reference, quota, upload state or concurrent conflict",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError412_4": {
        "description": "Stale revision",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError413_3": {
        "description": "Byte/expansion limit",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError422_6": {
        "description": "Invalid metadata, media or digest",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError428_2": {
        "description": "If-Match required",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError429_4": {
        "description": "Transfer capacity busy",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError503_6": {
        "description": "Storage, quota integrity or cleanup unavailable; retry safely",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "ApiError410": {
        "description": "VERSION_RETIRED. New requests to this API version are denied.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "QueryBadRequest": {
        "description": "DUPLICATE_QUERY for repeated recognized names, or INVALID_QUERY for unsupported action switches. Unrelated extras, including their repeats, are ignored.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "QueryInvalidValue": {
        "description": "Invalid supported query/body value or QUERY_NOT_SUPPORTED for a recognized control unavailable here. Unknown filter fields and the removed sort parameter are rejected.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      }
    }
  }
}
