Current documentation. Version and compatibility notes.

Ops Console browser API reference

Staff operations through the separately authenticated Ops Console BFF.

Workflow guide · Download OpenAPI JSON

API origin
https://admin.appportal.io
API version
1.0.0
Reference source
8bda8e8302d4ea5bd005ef1132f7267e82e6337c
Download SHA-256
7fd88ff5cd029b42121c3b3cf093866f224f277942bf1d61790d2a22db816b08

Relative server URLs in this contract refer to the API origin above. Use that origin when importing the document into an API client.

Authentication

browserSession
Opaque, Secure, HttpOnly, SameSite browser session. Development uses the same name without the __Host- prefix.

__Host-AppPortal.Ops.Session (cookie)

csrfToken
Required together with the matching non-HttpOnly CSRF cookie for authenticated mutation requests.

X-AppPortal-CSRF (header)

Credentials stay with their intended audience. A browser session, SDK key, upload key and Automation credential grant different access.

Operations

GET/api/admin/admin/audit

Read a complete bounded legacy audit array

Actual immutable PortalAuditEvent projection, including nullable beforeState/afterState/correlationId and original actor/scope/time. These are stored strings, not invented structured deltas or proof that the described external action completed. Exact optional appId/action filters apply within tenantId (default platform), not the operator's org claim. SQL orders occurredAt descending then auditEventId using PostgreSQL C ascending. Reads do not mutate audit entries or grant customer access. Closed query with only listed selectors plus limit; default 100/max 100. No cursor is accepted on this legacy route. A limit+1 source read proves the complete original array fits or returns 409 operations_pagination_required; this response bound is not a business quota or resource-count cap. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
tenantId (query, optional)
Exact account audit scope; absent selects platform. The selector grants no staff authority.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}
appId (query, optional)
Optional exact app filter within the selected audit scope.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}
action (query, optional)
Optional exact stored action filter; case is not normalized.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceAuditArray"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Complete legacy projection does not fit; operations_pagination_required. Use the same-authority /page and nested claimant resource as applicable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/audit/page

Read protected staff audit pages

Actual immutable PortalAuditEvent projection, including nullable beforeState/afterState/correlationId and original actor/scope/time. These are stored strings, not invented structured deltas or proof that the described external action completed. Exact optional appId/action filters apply within tenantId (default platform), not the operator's org claim. SQL orders occurredAt descending then auditEventId using PostgreSQL C ascending. Reads do not mutate audit entries or grant customer access. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque exact unchanged protected continuation; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
tenantId (query, optional)
Exact account audit scope; absent selects platform. The selector grants no staff authority.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}
appId (query, optional)
Optional exact app filter within the selected audit scope.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}
action (query, optional)
Optional exact stored action filter; case is not normalized.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceAuditPage"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/capacity

Read current capacity and recorded billing evidence

Read-only staff evidence. Nullable used/limit/observed values, units, observation windows, coverage and reasons remain distinct from a factual zero. Recorded credit, grace and telemetryEnforcement fields report their actual sources; they do not authorize a charge or establish live enforcement. The ranking is the actual bounded queue, not an invented total population. A dependency failure returns 503 capacity_unavailable without successful zero-usage rows. Legacy numbered pages are sliced only after the same priority reader proves the complete filtered collection fits100; overflow409 operations_pagination_required directs /capacity/page. This bounded capture does not promise an immutable cross-request population.

Access: browserSession

Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.

Parameters

search (query, optional)
Optional search, at most 200 UTF-16 code units.
{
  "type": "string",
  "maxLength": 200,
  "x-appportal-max-utf16-code-units": 200
}
plan (query, optional)
Optional selected plan filter, at most 100 UTF-16 code units.
{
  "type": "string",
  "maxLength": 100,
  "x-appportal-max-utf16-code-units": 100
}
risk (query, optional)
Exact current risk selector; unknown/case-changed values are rejected.
{
  "type": "string",
  "default": "all",
  "enum": [
    "all",
    "payment-attention",
    "over-limit",
    "at-limit",
    "approaching",
    "within-limit",
    "unavailable"
  ]
}
page (query, optional)
One-based page; this endpoint rejects rather than clamps an invalid page.
{
  "type": "integer",
  "default": 1,
  "minimum": 1,
  "maximum": 100000
}
pageSize (query, optional)
Requested page size; invalid values are rejected.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}

Responses

200
Actual authorized read response.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CapacityQueuePage"
    }
  }
}
400
Invalid filters/page; capacity_query_invalid. Native code: capacity_query_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independent current PlatformOperator authority is required; a customer role is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Complete legacy collection exceeds100 records; use the same /page cursor resource. Native code: operations_pagination_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Capacity evidence unavailable; no zero usage is inferred. Native code: capacity_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/capacity/page

Read protected current capacity priority pages

Closed search/plan/risk/limit/cursor query. Current priority severity descending then C-collated account-ID ascending ordering; the continuation positions this current ranked source, not an immutable snapshot. asOf, rankingBasis and usageCoverage report the actual observation basis. Nullable metric values/reasons and explicit unavailable observations never become zero, unlimited quota or proof of collection enforcement. Current read and audit failures503 remain unavailable. limit defaults25/range1..100; opaque cursor<=8192 is forwarded unchanged. Duplicate/unknown/blank/padded/control selectors reject400. Protection binds immutable operator, current claims, exact route/collection/filters and limit. totalCount:null is unknown, never zero; tampered or changed selection is rejected rather than retargeted; refresh starts a new traversal.

Access: browserSession

Independent current Ops staff session and PlatformOperator, owning current authorization/read audit; internal/customer credentials alone do not grant authority.

Parameters

limit (query, optional)
One literal decimal bound; invalid selectors are rejected rather than clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Optional literal existing account name/slug search; exact trimmed/control-free selector.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
plan (query, optional)
Optional selected current plan filter; no plan or grant is created.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 100
}
risk (query, optional)
Exact known native risk selector; omission selects all.
{
  "type": "string",
  "default": "all",
  "enum": [
    "all",
    "payment-attention",
    "over-limit",
    "at-limit",
    "approaching",
    "within-limit",
    "unavailable"
  ]
}

Responses

200
Actual current bounded projection; explicit nullable continuation and unknown total.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CapacityCursorPage"
    }
  }
}
400
Closed selection/continuation invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Ops session/service boundary required; middleware/native response semantics retained.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator/actor unavailable; access_denied. Page selectors do not grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Current source/read/audit unavailable; operations_page_unavailable. No successful empty/zero substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/disputed-orgs

Read complete bounded legacy disputed organizations and claimants

The same candidate scan proves the full organization scan fits the selected legacy limit before returning its original DisputedOrganization array. It also proves every candidate's embedded blockedClaimants fits 100. More examined organizations or more claimants returns 409 operations_pagination_required, even if a scan prefix contains no matches; it never returns a silently truncated success. Paged candidate rows instead expose blockedClaimantCount plus a separate claimant resource. Closed query with only listed selectors plus limit; default 100/max 100. No cursor is accepted on this legacy route. A limit+1 source read proves the complete original array fits or returns 409 operations_pagination_required; this response bound is not a business quota or resource-count cap. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceDisputedArray"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Complete legacy projection does not fit; operations_pagination_required. Use the same-authority /page and nested claimant resource as applicable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

DELETE/api/admin/admin/disputed-orgs/{tenantId}

Hard-delete the exact confirmed organization

Destructive existing remediation: nonblank reason and confirmText.Trim() exactly equal to the CURRENT organization slug using Ordinal comparison. It first reads the selected organization; absent 404. Rejected confirmation is audited, successful/failed remediation outcome is separately audited with actor/target/reason, and Identity records its own data mutation/cascaded identity deletion. It does not claim all retained telemetry is purged or that unrelated payment-provider resources are canceled. No idempotency/revision key or bodyless DELETE is invented; JSON body is required and success 204 has no body. Unknown failure is not proof that deletion did not occur; reconcile the exact account before another command.

Access: browserSession + csrfToken

Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.

Parameters

tenantId (path, required)
Exact selected tenantId; this is a resource selector, not an authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/DestructiveRemediationRequest"
      }
    }
  }
}

Responses

204
Existing remediation reports applied; no response body.
400
Missing reason or mismatched current slug confirmation; operations_request_invalid, or native JSON binding error.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Existing target/remediation not found; ordinary management JSON is RFC9457 resource_not_found. HEAD or explicit HTML negotiation may remain bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the native binder; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Existing remediation source reports unavailable; ordinary management JSON is RFC9457 upstream_unavailable. HEAD or explicit HTML negotiation may remain bodyless. Reconcile current state before assuming unchanged or retrying.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/disputed-orgs/{tenantId}/claimants/page

Read only the selected candidate's current-domain claimants

Actual userId/email projection for users whose email matches the currently detected corporate domain and who are not members of the selected organization. The implementation's selection does not add an independent email-verification filter; this read must not be described as newly verified email evidence. It rereads current organization/detection/domain and orders userId using PostgreSQL C ascending. A changed detected domain invalidates the inner continuation. Existing organization with no corporate-domain detection returns an empty page; absent/non-organization 404. The outer cursor binds selected tenantId, collection/current operator/limit; it cannot be retargeted to another candidate. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

tenantId (path, required)
Exact selected tenantId; this is a resource selector, not an authority grant.
{
  "type": "string"
}
limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque exact unchanged protected continuation; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceClaimantPage"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
The selected organization is absent or not an organization; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/disputed-orgs/{tenantId}/deactivate

Deactivate an exact staff-selected organization

Ordinary JSON reason field is nullable/optional; the endpoint does not invent a mandatory reason or type-to-confirm. Existing Identity remediation sets active:false and records identity-schema mutation evidence under ops-console, plus separate Ops actor/target/reason/outcome audit. This is the existing reversible action, not a deletion, approval or new billing/provider operation. No expectedRevision or Idempotency-Key; success is 204 bodyless. Reconcile current account state after an unknown outcome.

Access: browserSession + csrfToken

Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.

Parameters

tenantId (path, required)
Exact selected tenantId; this is a resource selector, not an authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OrganizationRemediationRequest"
      }
    }
  }
}

Responses

204
Existing remediation reports applied; no response body.
401
Independent authenticated Ops/server boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Existing target/remediation not found; ordinary management JSON is RFC9457 resource_not_found. HEAD or explicit HTML negotiation may remain bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the native binder; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Existing remediation source reports unavailable; ordinary management JSON is RFC9457 upstream_unavailable. HEAD or explicit HTML negotiation may remain bodyless. Reconcile current state before assuming unchanged or retrying.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/disputed-orgs/{tenantId}/rename

Retired heuristic rename; use the verification case workflow

Valid legacy requests return409 verification_case_required without name, slug or state mutation. Existing trimmed name1..100 validation remains400. Use the existing RequireRename case remedy with exact name/slug impact preview, reason, typed confirmation, recent Operations authentication and configured independent approval. No ticket/case or grant is created automatically. This is a staff remediation path, not an organization self-service name contract.

Access: browserSession + csrfToken

Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.

Parameters

tenantId (path, required)
Exact selected tenantId; this is a resource selector, not an authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RenameOrganizationRequest"
      }
    }
  }
}

Responses

400
Blank/overlong trimmed name; operations_request_invalid, or native JSON binding error.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
verification_case_required: use the current previewed verification case remedy; no mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the native binder; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/disputed-orgs/page

Scan bounded organization candidates for staff review

This is an examined-organization candidate scan, not a page of guaranteed matches. Each page examines up to limit organizations in tenantId PostgreSQL C ascending order; unmatched organizations still advance the protected continuation. An empty items array WITH nextCursor is valid and does not mean scan completion. Two existing heuristics identify corporate-domain collision or well-known-brand/free-email candidates; this is not verified wrongdoing or an automatic remediation decision. blockedClaimantCount is the actual count for the detected domain, while totalCount remains unknown/null. No claimant list is embedded; use the separate current-domain claimant page. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque exact unchanged protected continuation; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceDisputedPage"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/disputed-orgs/users/{userId}/ban

Ban the exact confirmed global user account

Destructive existing remediation: nonblank reason and confirmText.Trim() exactly equal to the CURRENT stored user's email using Ordinal comparison. The action sets the global user active:false; it is not a delete or a grant. Missing user 404; rejected confirmation and actual remediation outcome are audited with the Ops actor/target/reason, while Identity also records its own mutation. No organization selector retargets this global action. No Idempotency-Key or expectedRevision contract exists. Success204 has no body; after an unknown outcome reconcile the exact user's state rather than infer failure means unchanged.

Access: browserSession + csrfToken

Independently authenticated Ops principal/current PlatformOperator and protected server boundary. Unsafe browser requests require existing same-origin/CSRF session checks; no caller-controlled actor/grant or customer token substitutes.

Parameters

userId (path, required)
Exact selected userId; this is a resource selector, not an authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/DestructiveRemediationRequest"
      }
    }
  }
}

Responses

204
Existing remediation reports applied; no response body.
400
Missing reason or mismatched current email confirmation; operations_request_invalid, or native JSON binding error.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator or existing unsafe browser origin/CSRF rejected; native/BFF body may differ.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Existing target/remediation not found; ordinary management JSON is RFC9457 resource_not_found. HEAD or explicit HTML negotiation may remain bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the native binder; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or audit failure; existing bounded internal_error, not proof of rollback or completed remediation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Existing remediation source reports unavailable; ordinary management JSON is RFC9457 upstream_unavailable. HEAD or explicit HTML negotiation may remain bodyless. Reconcile current state before assuming unchanged or retrying.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/enterprise-customers/{customerId}

Read an Enterprise customer

Reads the customer by its exact identifier under current operator authority.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

customerId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseCustomerSummary"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/enterprise-customers/{customerId}

Register an Enterprise customer

Retry the same identifier with the same name. Registration records an audit reason automatically when none is supplied.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

customerId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RegisterEnterpriseCustomerRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseCustomerSummary"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/enterprise-customers/{customerId}/administrators/{userId}

Grant or revoke Enterprise customer administration

Requires an explicit enabled decision and reason. Grants apply to the commercial relationship.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

customerId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}
userId (path, required)
The existing AppPortal account ID.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SetEnterpriseCustomerAdministratorRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/enterprise-customers/{customerId}/administrators/page

List Enterprise customer administrators

Returns customer administration grants and the current state of the associated AppPortal accounts.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

customerId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEnterpriseAdministratorPage"
    }
  }
}
400
enterprise_customer_invalid: use a bounded query and the original protected continuation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/enterprise-customers/{customerId}/organizations/{tenantId}

Link an existing organization

Links an active organization to the selected customer and records the reason. Organization admission, billing and access are governed separately.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
customerId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/LinkEnterpriseOrganizationRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/enterprise-customers/{customerId}/organizations/page

List organizations for an Enterprise customer

Returns linked organizations, the offer limit and the number of slots reserved by requests awaiting review. A pending offer has a null limit.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

customerId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEnterpriseOrganizationPage"
    }
  }
}
400
enterprise_customer_invalid: use a bounded query and the original protected continuation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/enterprise-customers/page

List Enterprise customers

Search customer names and continue the selected page with the protected cursor.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Optional customer name search.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 100
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEnterpriseCustomerPage"
    }
  }
}
400
enterprise_customer_invalid: use a bounded query and the original protected continuation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/feature-flags

Read bounded legacy global and selected-scope flag rows

Actual stored global plus selected-scope entries, including duplicate flag keys in different scopes. These are not flattened effective flags, a plan/role grant or proof of runtime rollout. Closed tenantId/limit query; selected scope defaultsplatform. Selector is exact trimmed/control-free<=256 here. Key-ascending/scope-ascending C ordering; continuation binds current operator claims, route/selection and limit. Default100/max100; cursor is rejected and another row409operations_pagination_required rather than silent truncation.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

limit (query, optional)
One decimal value; unknown/repeated selectors reject.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
tenantId (query, optional)
Exact scope selector here; absence selects platform. Current operator claims remain separate.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized owning-source projection/recorded outcome.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsConfigurationFlagArray"
    }
  }
}
400
Closed selector/cursor invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy collection overflow; operations_pagination_required. Use /page.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Stored collection unavailable; operations_page_unavailable, no successful zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

DELETE/api/admin/admin/feature-flags/{flagKey}

Delete the exact global or selected-scope feature flag

Only registered runtime flagKey values can be removed. Explicit global:true without tenantId selects global; otherwise an exact verified Organization tenantId is required. Closed single tenantId/global query rejects ambiguous, repeated, blank, padded and platform/global literal selectors. Body is not bound; no command key. Missing flag404; success204bodyless with actual preimage audit. Deleting configuration is not proof of downstream rollout completion.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

flagKey (path, required)
Exact server-authorized selected flagKey; no membership or authority grant.
{
  "type": "string"
}
tenantId (query, optional)
Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.
{
  "type": "string"
}
global (query, optional)
Optional native bool binding; true selects global, absent/false follows selected scope.
{
  "type": "boolean"
}

Responses

204
Exact stored flag removed; no body.
400
Unsupported key or invalid explicit scope; feature_flag_unsupported, feature_flag_scope_invalid or native bool binder error.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Organization unverified (feature_flag_organization_unverified), or exact flag missing on DELETE.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Feature control data unavailable; feature_flag_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/feature-flags/{flagKey}

Upsert one explicitly selected stored feature flag

Only registered runtime flagKey values are writable; legacy arbitrary rows remain read-only. Current independent staff role is required. Explicit body.global:true without tenantId selects global; otherwise an exact trimmed/control-free organization tenantId<=256 is required. Unknown/repeated query keys and platform/global literals reject. The selected account must be an Organization; the operator org claim cannot select it. Description is bounded to1000 characters. enabled:false is a known false and remains in JSON. Null description preserves an existing description (or empty when absent); explicit empty clears it. Current stored before/after audit is retained. No command key, automatic rollout, entitlement or new runtime capability is invented. Mutation scope parsing retains native rules rather than borrowing the stricter page-query grammar.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

flagKey (path, required)
Exact server-authorized selected flagKey; no membership or authority grant.
{
  "type": "string"
}
tenantId (query, optional)
Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UpsertFeatureFlagRequest"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/FeatureFlag"
    }
  }
}
400
Unsupported key, invalid explicit scope or note; feature_flag_unsupported, feature_flag_scope_invalid or feature_flag_description_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Organization unverified (feature_flag_organization_unverified), or exact flag missing on DELETE.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported native JSON media type; may be bodyless for ordinary binder requests.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Feature control data unavailable; feature_flag_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/feature-flags/controls

Read supported runtime feature controls

Only registered controls are returned with global/organization rows, effective switch source and nullable contractAuthorized. A true switch does not grant a contract entitlement or prove provider configuration. Closed, single tenantId query: absent selects global; an exact trimmed/control-free organization identifier<=256 must identify an Organization. Personal workspaces, platform/global literals and repeated/unknown selectors are rejected. The read is audited and private/no-store.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (query, optional)
Exact scope selector here; absence selects platform. Current operator claims remain separate.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsConfigurationFlagControlArray"
    }
  }
}
400
Invalid explicit selector; feature_flag_scope_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Organization cannot be verified; feature_flag_organization_unverified.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Control data unavailable; feature_flag_unavailable. Unknown is not a successful disabled result.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/feature-flags/page

Read protected global and selected-scope flag rows

Actual stored global plus selected-scope entries, including duplicate flag keys in different scopes. These are not flattened effective flags, a plan/role grant or proof of runtime rollout. Closed tenantId/limit/cursor query; selected scope defaultsplatform. Selector is exact trimmed/control-free<=256 here. Key-ascending/scope-ascending C ordering; continuation binds current operator claims, route/selection and limit. Default25/max100; totalCount null remains unknown.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

limit (query, optional)
One decimal value; unknown/repeated selectors reject.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
tenantId (query, optional)
Exact scope selector here; absence selects platform. Current operator claims remain separate.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}
cursor (query, optional)
Opaque unchanged collection/actor/selection/limit continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized owning-source projection/recorded outcome.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsConfigurationFlagPage"
    }
  }
}
400
Closed selector/cursor invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Stored collection unavailable; operations_page_unavailable, no successful zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/leads

Read a complete bounded legacy lead array

Stored sales lead projection includes workEmail, name, company/teamSize and submitted message/source; this is staff-confidential contact data, not a public lead feed. SQL orders submittedAt descending then leadId using PostgreSQL C ascending, and fetches only limit+1. No search/filter selector is bound here. Closed query with only listed selectors plus limit; default 100/max 100. No cursor is accepted on this legacy route. A limit+1 source read proves the complete original array fits or returns 409 operations_pagination_required; this response bound is not a business quota or resource-count cap. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceLeadArray"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Complete legacy projection does not fit; operations_pagination_required. Use the same-authority /page and nested claimant resource as applicable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/leads/page

Read protected staff lead pages

Stored sales lead projection includes workEmail, name, company/teamSize and submitted message/source; this is staff-confidential contact data, not a public lead feed. SQL orders submittedAt descending then leadId using PostgreSQL C ascending, and fetches only limit+1. No search/filter selector is bound here. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque exact unchanged protected continuation; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceLeadPage"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/legal/accounts/{subjectUserId}/history

Read retained account acceptance history

Returns recorded policy acceptances newest first by actedAt, then evidenceId. Reuse the cursor with the same account, scope and page size. Invalid, repeated or unknown parameters return 400. The total is unknown and an empty page establishes no acceptance. History or integrity failures return 503. Select the account or organization in the path. History may include deleted accounts or organizations. Requires the Operations session and PlatformOperator permission.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

subjectUserId (path, required)
Exact server-authorized selected subjectUserId; no membership or authority grant.
{
  "type": "string"
}
limit (query, optional)
One invariant unsigned decimal page size; not clamped.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 50,
  "default": 25
}
cursor (query, optional)
One unchanged protected cursor, already trimmed and control-free; no cursor grants authority.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 4096
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PolicyAcceptanceHistoryPage"
    }
  }
}
400
legal_history_selection_invalid or legal_history_cursor_invalid: closed selection/account-subject/continuation invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
legal_history_unavailable or legal_history_integrity_unavailable; unavailable is not empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/legal/organizations/{tenantId}/history

Read retained organization acceptance history

Returns recorded policy acceptances newest first by actedAt, then evidenceId. Reuse the cursor with the same account, scope and page size. Invalid, repeated or unknown parameters return 400. The total is unknown and an empty page establishes no acceptance. History or integrity failures return 503. Select the account or organization in the path. History may include deleted accounts or organizations. Requires the Operations session and PlatformOperator permission.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}
limit (query, optional)
One invariant unsigned decimal page size; not clamped.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 50,
  "default": 25
}
cursor (query, optional)
One unchanged protected cursor, already trimmed and control-free; no cursor grants authority.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 4096
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PolicyAcceptanceHistoryPage"
    }
  }
}
400
legal_history_selection_invalid or legal_history_cursor_invalid: closed selection/account-subject/continuation invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
legal_history_unavailable or legal_history_integrity_unavailable; unavailable is not empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/offering-catalog

Read the current versioned offering catalog

Actual published immutable configuration snapshot: plans/templates/packages/carrier reference rates and Enterprise qualification defaults. Future publication never rewrites a pinned account agreement. Definitions, selected packages, service commitments and explicit quantities do not enable billing or prove verified meter coverage, spending consent, beta approval, identity authorization, SLA or deployment.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OfferingCatalogSnapshot"
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Catalog unconfigured; offering_catalog_unconfigured. No invented default price/template is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/offering-catalog/revisions/{revision}

Read the selected retained offering revision

Reads one exact immutable retained catalog revision for proposal editing. A later catalog publication does not replace saved terms. Missing or overlong revision returns404; no entitlement or billing activation.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

revision (path, required)
Exact retained catalog revision; at most256 characters.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OfferingCatalogSnapshot"
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
The selected catalog revision is unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/offering-entitlements

Read canonical selectable agreement entitlement labels

Actual fixed code-defined keys/labels from OfferingEntitlements.Options. They are reference choices, not newly granted permissions, plan inclusions, unlimited quotas or provider capabilities. The custom converter uses case-insensitive canonical key lookup and rejects unknown/numeric entitlement values.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsOfferingEntitlements"
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/plan-catalog

Read finite reference plan and entitlement catalog

Actual BillingPlanCatalogEntry array pairs each plan with its capability catalog; optional offeringDefinition preserves its actual null-omitted serializer behavior. This finite reference catalog has no continuation or account selector and contains no customer credentials. Catalog values do not grant a selected account an offering, beta permission, negotiated agreement, charge or access. Independently staff-gated even though the underlying catalog is public reference information.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsPlanCatalogArray"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/delivery-records

Read retained managed delivery-record counts

Current and previous UTC calendar-month and all-retained engagement counts only. This source does not depend on telemetry volume; unavailable persistence is503, not a confirmed zero or whole-platform activity estimate. Counts do not prove provider acceptance or recipient delivery.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformDeliveryRecordCounts"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/metrics

Read complete legacy platform volume windows

Current UTC calendar month to server now, preceding complete calendar month and null-start to now windows. Existing telemetry and engagement sources must both succeed; a PlatformVolumeUnavailableException returns503, never a successful invented zero report. Numeric events/exceptions/sessions/messages are the actual source aggregates, not financial usage or proof all historical data remains retained. No caller-selected window or account selector.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformVolumeReport"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Required aggregate source unavailable; bounded native problem, not a successful zero report.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/observed-activity

Read retained observed activity and source coverage

Current, previous and retained windows are selected by the owning calculator. Organizations/apps describe retained observed telemetry; portalAccounts uses successful authentication evidence. Complete/Partial/Unavailable, nullable counts/extrema, independent source discovery/coverage and nullable current-minus-prior comparisons remain explicit. Partial values are observed lower bounds, never lifetime first use, continuous activity or missing-as-zero. Aggregate read is audited under platform with complete/partial/unavailable outcome; failures log only error type and return503. No per-account payload or caller-selected scope.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformObservedActivityReport"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Observed activity calculation/audit unavailable; no successful empty or zero substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/sdk-adoption

Read protected sdk-adoption evidence

Session-unit SDK/framework/runtime/platform/form-factor/provider aggregate coverage. High-volume logs cannot inflate a family. No account/app/user/session/device/property/payload identifiers are returned. Partial reports preserve healthy-source totals and incomplete coverage; missing evidence is not a known zero. Optional native days integer defaults30; no new closed-query grammar is imposed.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Parameters

days (query, optional)
Owning native integer range; invalid values return400.
{
  "type": "integer",
  "default": 30,
  "minimum": 1,
  "maximum": 365
}

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformSdkAdoptionReport"
    }
  }
}
400
Invalid days; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual typed report with Unavailable completeness, never an empty successful report.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformSdkAdoptionReport"
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/summary

Read current platform directory and catalog summary

Aggregate account counts use the current directory active flag, not observed activity or active subscriptions. monthlyRecurringRevenue and each plan slice monthlyRevenue are catalog-price estimates: active account count multiplied by catalog monthly price. Missing catalog keys retain the handler's zero-price/key-name fallback; these are not known zero invoices, negotiated or annual revenue, collected payments, lifetime usage or a live billing statement. Plan distribution includes referenced legacy keys, omits zero-population slices and orders by account count. No query-bound selectors.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformSummary"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/telemetry-provenance

Read protected telemetry-provenance evidence

Read-only policy-versioned inventory for governed legacy telemetry remediation. Authorized scope identifiers can be present to plan work; record/session/device/payload/connection identifiers are excluded. This GET does not perform a backfill or grant remediation authority. Unavailable evidence cannot authorize mutation. Optional native days integer defaults30; no new closed-query grammar is imposed.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Parameters

days (query, optional)
Owning native integer range; invalid values return400.
{
  "type": "integer",
  "default": 30,
  "minimum": 1,
  "maximum": 30
}

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryProvenanceAuditReport"
    }
  }
}
400
Invalid days; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual typed report with Unavailable completeness, never an empty successful report.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryProvenanceAuditReport"
    }
  }
}

Link to this operation

GET/api/admin/admin/platform/volume-health

Read retained platform volume with provider coverage

thisMonth/lastMonth/allTime are retained logical-record windows, not globally distinct lifetime records or commercial accounting. SourceDiscoveryComplete and available/unavailable source counts are independent; Complete/Partial/Unavailable is an actual string enum. availableTotals remains null when unavailable, whereas a verified zero stays numeric zero. Providers expose only aggregate engine/coverage counts, no account, connection, secret or database identity. Read outcome is audited; calculator/audit failures return503 without raw exception diagnostics. No query-bound selectors.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PlatformVolumeHealthReport"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retained volume calculation/audit unavailable; no successful zero fallback.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/protected-brands

Read the current managed brand registry

Returns exactly {current: revision-or-null}. No managed publication is current:null, not an empty approved registry. Reads are audited; retained entries are reference evidence, not legal ownership or account authority.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsProtectedBrandCurrent"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/protected-brands

Publish an explicitly reviewed registry revision

Requires a nonempty actionId, expected current revision (null only for no current head), nonblank/control-free reason<=1000 and at most1000 entries. Entry source/reason<=1000, marketNotes<=2000, nondefault reviewAt and up to50 aliases/official domains apply; domains are bounded253 characters. actionId binds exact actor/content/reason/parent; same command replays its revision, changed reuse or head conflicts409. This managed revision changes future matching input, not existing account holds or ownership. The initial bundled reference is never automatically published. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Owning registry actor requires authentication within its actual fixed15-minute window (at most1minute future skew).

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ProtectedBrandPublishRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsProtectedBrandPublished"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Exact action/content/parent or preview fingerprint conflict; protected_brand_registry_command_conflict, protected_brand_registry_revision_changed, protected_brand_rescan_command_conflict or protected_brand_rescan_preview_changed where applicable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
protected_brand_request_too_large: actual declared/streamed byte bound exceeded.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/protected-brands/dry-run

Evaluate a proposed name against one retained revision

Returns actual matches and the derived blocking flag. The selected matcher/normalization version and retained revision must be usable. This dry run audits input hashes/counts and changes no account access, hold or ownership; private proposed names are not general audit messages. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ProtectedBrandDryRunRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandMatchDecision"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
protected_brand_request_too_large: actual declared/streamed byte bound exceeded.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/protected-brands/history

Read retained registry revision history

Legacy ProtectedBrandRevisionPage retains items/nextBefore only after a complete bounded read: default100/max100, suppliedlimit1..100. Any raw before or another selected row409operations_pagination_required; success has nextBefore:null. Unknown/repeated selectors400protected_brand_request_invalid. Existing independent operator, RepeatableRead current-head observation and read audit remain. Retained reference evidence is not legal ownership or account authority. Use /history/page for the protected publication-time/revision-ID keyset.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

limit (query, optional)
Legacy completeness bound; no new registry-size or retention policy.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandRevisionPage"
    }
  }
}
400
Closed legacy selection invalid; protected_brand_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/protected-brands/history/page

Read protected immutable registry revision history

PublishedAt descending then C-collated revision-ID ascending SQL keyset. The reader captures the current global head and selected retained summaries under RepeatableRead, records its content-free read audit and commits; current is the relationship observed by that request, not a cross-page snapshot or legal ownership proof. A deleted boundary does not require an anchor-row lookup. Current independent operator authority is rechecked after the source read. Returned revisions are retained matching input, not a new registry publication or account authority change. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.

Access: browserSession

Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.

Parameters

limit (query, optional)
Single native bounded decimal value; invalid input is not silently clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/route/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual bounded source evidence, not an approval, new grant or provider outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsRegistryHistoryCursorPage"
    }
  }
}
400
Protected selection/anchor invalid; protected_brand_request_invalid or existing registry validation code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations session/service boundary required; authentication_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independent current operator unavailable; operations_operator_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Explicit unavailable dependency remains dependency_unavailable under the existing shared handler; no successful empty substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/protected-brands/reference-draft

Read the unpublished reference draft

Returns referenceOnly:true, automaticPublication:false and the actual bundled entries. Reference data, official-domain context and notes establish neither legal ownership nor automatic publication. Missing bundled input503 is not an empty draft.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsProtectedBrandReferenceDraft"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/protected-brands/rescans

Queue the exact reviewed rescan batch

Uses nonempty actionId, exact selection/fingerprint (64 hexadecimal characters) and nonblank/control-free reason<=1000. Source candidates are re-read; changed fingerprint or conflicting action reuse409. Same actor/selection/fingerprint/reason replays the retained job. Queued job counts/completedAt/failureCode may be null and caseIds empty; that is not completed zero-work evidence. Processing records review evidence and may create verification cases, but does not itself alter account authority or holds. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Owning registry actor requires authentication within its actual fixed15-minute window (at most1minute future skew).

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ProtectedBrandRescanCommand"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandRescanJob"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Exact action/content/parent or preview fingerprint conflict; protected_brand_registry_command_conflict, protected_brand_registry_revision_changed, protected_brand_rescan_command_conflict or protected_brand_rescan_preview_changed where applicable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
protected_brand_request_too_large: actual declared/streamed byte bound exceeded.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/protected-brands/rescans/{jobId}

Read one retained rescan job

Reads the actual job lifecycle and nullable completion/failure/count evidence. Missing job404; it does not fabricate a completed scan or prove provider deployment.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

jobId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandRescanJob"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/protected-brands/rescans/preview

Preview one bounded retained-registry rescan batch

Selection limit defaults100 and is1..100. afterTenantId is an optional existing ordering position, bounded200/control-free. Counts are actual evaluated/matching/exact/watch evidence for this batch, not the entire account population. The returned fingerprint binds actor, selection, matcher and source candidates; preview is not a queued job or a hold change. The actual manual JSON reader accepts JSON media types, depth<=16, exact camelCase property names, no unknown members and no repeated object names even with different casing. Wrong media/depth/member errors400; byte excess413. Constructor omission/default binding remains separate from service acceptance.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ProtectedBrandRescanSelection"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandRescanPreview"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
protected_brand_request_too_large: actual declared/streamed byte bound exceeded.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/protected-brands/revisions/{revisionId}

Read one immutable retained registry revision

An existing revision remains readable after a newer head; revision.current reports its actual relationship to the current head. Invalid identifier400, missing revision404, corrupt/unavailable retained content503.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

revisionId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandRevisionView"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/quotes

Read bounded legacy cross-account quote array

Closed optional tenantId/limit query. Legacy limit defaults100/range1..100, with no cursor accepted. Another row returns409 operations_pagination_required rather than silent truncation. Prospect route selects only unlinked quotes; route/query account mismatch400. Quote totals are stored server computations, not invoices, paid entitlement, account ownership or a complete population. Account-scoped reads are audited.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

limit (query, optional)
One exact decimal value; unknown/repeated names rejected.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
tenantId (query, optional)
Optional exact account filter; must equal a route account if both supplied.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsQuoteArray"
    }
  }
}
400
Closed query invalid/mismatched; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Bounded legacy result overflow; operations_pagination_required. Use matching /page.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Quote collection temporarily unavailable; operations_page_unavailable, not successful empty/zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/quotes

Create one non-binding working quote

Choose an existing account or one prospect, provide a title and use a retained Enterprise template. An Idempotency-Key or body operationId lets the operator retry the same proposal and retrieve the stored quote, including any later edits. When supplying both identifiers, use the same GUID. A request without either identifier creates a new quote.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

Idempotency-Key (header, optional)
One opaque key per operator and creation request. A GUID can also be sent as the body operationId.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/CreateQuoteRequest"
      }
    }
  }
}

Responses

201
Draft created or existing quote returned.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native /admin/quotes/{quoteId}. Use the explicit browser detail route to read it."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Quote"
    }
  }
}
400
Invalid title, target, commercial terms or creation identifiers.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Creation identifier reused with different proposal contents.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Persistence outcome unavailable. Retry the original request with the same creation identifier.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/quotes/{quoteId}

Read one saved non-binding proposal

Returns actual stored line items, retained Enterprise template/package/allowance/support terms, pricing buckets and revision. Legacy absent structured terms remain null. No provider call or subscription activation.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

quoteId (path, required)
Exact server-authorized selected quoteId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Quote"
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
The saved proposal is unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/quotes/{quoteId}

Edit an existing draft proposal

Draft-only update using ExpectedRevision. Persistence revision and lifecycle fences reject stale/closed changes409. An exact immediately repeated saved request can replay. The retained catalog revision, selected packages and template commitments are revalidated; future catalog publication cannot rewrite the proposal. A retained Enterprise offer is required; clearing it or adding arbitrary one-time rows is rejected400 quote_catalog_selection_required; save does not activate billing or access. Invalid input400; missing404; unavailable502.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

quoteId (path, required)
Exact server-authorized selected quoteId; not a credential or role grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UpdateQuoteRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Quote"
    }
  }
}
400
Invalid request; native management/billing code remains owning-source-specific.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
The saved proposal is unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
The draft changed or is closed; reload before editing.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Quote persistence unavailable; retry the original save before editing.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/quotes/{quoteId}/link-tenant

Explicitly link a reviewed prospect quote to an existing account

Nonblank tenantId and an actual existing target account required. The current staff operator explicitly selects/reviews the quote/account relationship; email/slug do not silently establish ownership or membership. Domain lifecycle/target conflict409; missing quote404; gateway unavailable502. The returned quote clears prospect and sets the existing account selector. This is neither organization creation nor acceptance/payment of a contract. Existing Ops audit records actor/target/result.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

quoteId (path, required)
Exact server-authorized selected quoteId; not a credential or role grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/LinkQuoteToTenantRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Quote"
    }
  }
}
400
Invalid/missing account target; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Quote unavailable; native404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Quote cannot be changed in its current state; operations_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Quote gateway unavailable; native bodyless502.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/quotes/page

Read protected cross-account quote pages

Closed tenantId/limit/cursor query; default25/range1..100. Protected continuation binds current operator claims, route, collection, exact account filter and limit; created-desc/id-ascending order. Prospect route selects only unlinked quotes; route/query mismatch400. totalCount remains null, not a factual zero or a known whole population. Preserve unchanged continuation and selection.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
tenantId (query, optional)
Exact account filter; must match route selection when present.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsQuotePage"
    }
  }
}
400
Query/cursor invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Quote history unavailable; operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/quotes/preview

Calculate a non-binding proposal preview

Pure read via POST under current PlatformOperator and browser CSRF authority. Staff proposals require a retained Enterprise template and supported package references. Uncatalogued one-time rows are rejected400 quote_catalog_selection_required. Shared preview/save calculation validates explicit monthly USD prices and0..100discount. Returns separate monthly/one-time buckets and an initial-term estimate, never an annual invoice or granted entitlement. Invalid input400; unavailable source remains a failure, never zero.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/QuotePreviewRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/QuotePreview"
    }
  }
}
400
Invalid request; native management/billing code remains owning-source-specific.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/quotes/prospects

Read bounded legacy prospect quote array

Closed optional tenantId/limit query. Legacy limit defaults100/range1..100, with no cursor accepted. Another row returns409 operations_pagination_required rather than silent truncation. Prospect route selects only unlinked quotes; route/query account mismatch400. Quote totals are stored server computations, not invoices, paid entitlement, account ownership or a complete population. Account-scoped reads are audited.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

limit (query, optional)
One exact decimal value; unknown/repeated names rejected.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
tenantId (query, optional)
Optional exact account filter; must equal a route account if both supplied.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsQuoteArray"
    }
  }
}
400
Closed query invalid/mismatched; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Bounded legacy result overflow; operations_pagination_required. Use matching /page.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Quote collection temporarily unavailable; operations_page_unavailable, not successful empty/zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/quotes/prospects/page

Read protected prospect quote pages

Closed tenantId/limit/cursor query; default25/range1..100. Protected continuation binds current operator claims, route, collection, exact account filter and limit; created-desc/id-ascending order. Prospect route selects only unlinked quotes; route/query mismatch400. totalCount remains null, not a factual zero or a known whole population. Preserve unchanged continuation and selection.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
tenantId (query, optional)
Exact account filter; must match route selection when present.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsQuotePage"
    }
  }
}
400
Query/cursor invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Quote history unavailable; operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/retention

Read effective pinned-term retention policy

Explicit nonblank/non-platform query tenantId required and trimmed; operator org claim is ignored. MaximumDays/planKey derive from current pinned offering terms, not DTO constructor defaults or a mutable catalog/Free fallback. Known absent stored policy uses the resolved maximum and acknowledgedByAdmin:false. This GET can persist and audit a downgrade clamp when stored windows exceed current terms. Returned configuration does not prove completed purge or current provider enforcement. Unavailable pinned terms503retention_policy_unavailable, never a shorter guessed default.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (query, required)
Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.
{
  "type": "string"
}

Responses

200
Actual authorized owning-source projection/recorded outcome.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/RetentionPolicy"
    }
  }
}
400
Explicit account selector required; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Pinned retention unavailable; retention_policy_unavailable/offering_configuration_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/retention

Set acknowledged plan-bounded retention windows

Explicit non-platform query tenantId required; current staff actor is server-owned. acknowledgedByAdmin musttrue and every requested window1..current pinned maximum. The existing resolver can first persist/audit a plan clamp; update then persists selected windows and before/after audit. This is configuration, not proof that a purge has run or all connected providers enforce it. Missing pinned terms503; no new plan/default/retention promise.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (query, required)
Optional operator-selected scope, trimmed by the native mutation helper; org claim ignored. Retention separately requires explicit non-platform scope.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UpdateRetentionRequest"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/RetentionPolicy"
    }
  }
}
400
Missing selector/acknowledgment or invalid bounded window; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported native JSON media type; may be bodyless for ordinary binder requests.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Pinned policy unavailable; retention_policy_unavailable/offering_configuration_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/smart-link-domain-requests

Read the current Smart Link domain review queue

Legacy family-representative array is returned only after a complete bounded source read. Closed status/limit query; limit defaults100/max100 and a supplied1..100 is retained. Cursor is not accepted here. Another selected row409operations_pagination_required rather than silent truncation. Defined status names are case-insensitive; Enum.TryParse plus Enum.IsDefined preserves defined numeric compatibility, while undefined numeric values400. Exact trimmed/control-free status has the existing256-character bound. Production-family and pre-family standalone record semantics, private operator fields and sensitive read audit remain. Use /page for protected traversal; review actions do not change.

Access: browserSession

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

status (query, optional)
Optional PendingReview/Approved/Declined/Withdrawn, case-insensitive with defined numeric enum compatibility. Exact supplied spelling/whitespace/control rules are retained; no canonical-only enum restriction is invented.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}
limit (query, optional)
Legacy completeness bound; a larger selected collection409, not a resource quota.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainRequests"
    }
  }
}
400
Closed selection or undefined status invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Current source/read/audit unavailable; operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/smart-link-domain-requests/{domainId}/approve

Approve an existing Smart Link domain family

The original production-domain request owns review of its current family; legacy standalone environment requests remain individually reviewable. A source workflow lock spans native DNS provisioning and compensation. Approval reason is optional; decline requires a nonblank customer-visible reason. Reasons are trimmed and limited to1000 characters. Review/audit and current record outcomes are preserved; no HTTP Idempotency-Key protocol is invented. A failed DNS attempt can require explicit reconciliation and can leave a committed review; inspect current state instead of assuming rollback, fake exactly-once publication or automatically issuing another provider action. Actual response preserves nullable assignment/family/request fields.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

domainId (path, required)
The existing native domain request, not an arbitrary hostname or DNS credential.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SmartLinkDomainReviewRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainRecord"
    }
  }
}
400
Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
    }
  }
}
409
Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
    }
  }
}
415
Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/smart-link-domain-requests/{domainId}/decline

Decline an existing Smart Link domain family

The original production-domain request owns review of its current family; legacy standalone environment requests remain individually reviewable. A source workflow lock spans native DNS provisioning and compensation. Approval reason is optional; decline requires a nonblank customer-visible reason. Reasons are trimmed and limited to1000 characters. Review/audit and current record outcomes are preserved; no HTTP Idempotency-Key protocol is invented. A failed DNS attempt can require explicit reconciliation and can leave a committed review; inspect current state instead of assuming rollback, fake exactly-once publication or automatically issuing another provider action. Actual response preserves nullable assignment/family/request fields.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

domainId (path, required)
The existing native domain request, not an arbitrary hostname or DNS credential.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SmartLinkDomainReviewRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainRecord"
    }
  }
}
400
Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
    }
  }
}
409
Native validation/not-found/conflict; operations_request_invalid/resource_not_found/operations_conflict. smart_link_dns_reconciliation_required can use this same status with additive dnsCompensationRequired:true. Provider diagnostics and private URLs are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountDomainReviewProblem"
    }
  }
}
415
Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/smart-link-domain-requests/page

Read protected Smart Link domain-review queue pages

RequestedAt ascending then C-collated domain-ID ascending keyset of current family representatives, preserving production family/status/host metadata and pre-family standalone requests. Status uses defined names case-insensitively and retains defined numeric enum compatibility; unsupported numeric values400. The exact supplied status spelling is bound into the cursor, even when another spelling would resolve to the same state. Sensitive source reads are audited. Listing review evidence does not approve a domain, contact DNS or establish publication. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.

Access: browserSession

Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.

Parameters

limit (query, optional)
Single native bounded decimal value; invalid input is not silently clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/route/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
status (query, optional)
Optional PendingReview/Approved/Declined/Withdrawn, case-insensitive with defined numeric enum compatibility. Exact supplied spelling/whitespace/control rules are retained; no canonical-only enum restriction is invented.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual bounded source evidence, not an approval, new grant or provider outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsDomainReviewCursorPage"
    }
  }
}
400
Closed status/limit/cursor selection invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations session/service boundary required; authentication_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent operator unavailable; access_denied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Current queue/read/audit unavailable; operations_page_unavailable. No successful empty substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/status/components

Read canonical staff component status

Returns actual persisted component states and updatedAt; a recorded Operational value is not a new dependency probe, independent freshness observation, uptime sample or invented zero-failure count. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsStatusComponents"
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/status/components/{componentId}/status

Start or end scheduled component maintenance

Only Maintenance, or Operational when ending existing Maintenance, is an operator change. Automatic health monitoring owns operational/degraded/outage transitions. Defined enum, existing component and audit required; no automatic incident ownership transfer or Idempotency-Key protocol is added. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession + csrfToken

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

componentId (path, required)
Exact protected staff resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ComponentStatusUpdateRequest"
      }
    }
  }
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/StatusComponent"
    }
  }
}
400
Invalid management request; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing incident/component; native404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native normal JSON binder media rejection, may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/status/deployments/evidence

Import bounded deployment observation evidence

Manual application/json reader, MaxDepth8 and at most32768body bytes. Unknown DTO properties rejected; native Web case-insensitive property binding/numeric forms remain. Closed operational service/probe/outcome vocabulary, schemaVersion1, positive workflow identity and bounded retained observation window are validated. Same retained workflow evidence is alreadyStored:true; first stored evidence is false, never omitted. Conflicting content409. Server rechecks current operator and audits. Evidence correlation is time proximity, not proof of outage cause or live deployment success. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession + csrfToken

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsStatusManifestInput"
      }
    }
  }
}

Responses

200
Actual current staff projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/StatusEvidenceImportResult"
    }
  }
}
400
Invalid/oversized/deep/unknown-field manifest, query or media type; status_evidence_invalid (native400, not an invented413/415).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Conflicting retained evidence; status_evidence_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Observation source unavailable; status_evidence_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/status/episodes/{episodeId}/evidence

Read protected episode correlation evidence

No query. Current operator is rechecked before/after materialization and audited. Missing episode/evidence404. Actual nullable deployment, nullable runtime durations and runtimeTruncated flag remain distinct from known zeros or complete capture. Reported retentionDays belongs to this actual evidence policy; no customer retention promise is inferred. CorrelationBasis states time-proximity evidence rather than cause. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

episodeId (path, required)
Exact protected staff resource identifier.
{
  "type": "string"
}

Responses

200
Actual current staff projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/StatusEpisodeEvidence"
    }
  }
}
400
Invalid evidence query/body; status_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing operational evidence; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Observation source unavailable; status_evidence_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/status/health

Read automatic service monitoring evidence

Returns monitor availability/freshness and current component observations. Missing/stale/disabled evidence remains Unknown or Unavailable; it is not inferred Operational or manually repaired. No query selector is consumed. Private/no-store; this read does not run a new probe or publish independent Status. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Responses

200
Actual current staff projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ServiceHealthReport"
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Monitoring evidence unavailable; internal_error. No current health can be confirmed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/status/incidents

Read the bounded legacy staff incident array

Closed includeResolved/limit query. includeResolved defaultsfalse and uses native bool.TryParse; selector is nonblank/control-free/trimmed<=256. limit defaults100/range1..100. An additional row returns409 operations_pagination_required rather than a silently truncated successful array; use /page. No cursor is accepted on this legacy path. Actual staff timeline includes operator authors, metadataRevision and optional monitor/postmortem fields; this is not the independently sanitized public Worker projection. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

limit (query, optional)
One decimal value; unknown/repeated selectors rejected.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
includeResolved (query, optional)
Optional native boolean, case-insensitive and trimmed/control-free. Defaultfalse.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsStatusIncidents"
    }
  }
}
400
Closed query/protected continuation invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Collection exceeds the requested bound; operations_pagination_required. Continue using /page; no partial successful legacy array.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History unavailable; operations_page_unavailable. No successful zero/empty page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/status/incidents

Create an operator-owned incident

Title/message required, defined severity and existing affected components. The selected legacy handler does not read an Idempotency-Key; retrying can create another incident. Native Location is /admin/status/incidents/{id}; it is not rewritten into a new browser route. Success is an operator incident, not a claim of independent signed Worker publication. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession + csrfToken

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/IncidentCreateRequest"
      }
    }
  }
}

Responses

201
Incident committed; native Location accompanies the actual record.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative /admin/status/incidents/{incidentId}."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IncidentRecord"
    }
  }
}
400
Invalid management request; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native normal JSON binder media rejection, may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/status/incidents/{incidentId}

Read one staff incident timeline

IncidentId length>200 is a native management400; missing404. Returns current protected incident/updates, actual metadataRevision and optional monitor/postmortem fields. Nullable resolvedAt is not a fabricated completion time. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

incidentId (path, required)
Exact protected staff resource identifier.
{
  "type": "string"
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IncidentRecord"
    }
  }
}
400
Incident identifier too long; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing incident/component; native404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/status/incidents/{incidentId}

Edit only the allowed incident metadata

expectedRevision is mandatory; missing428. Current revision conflicts409. Title/severity/components must be valid; a postmortem reference must be public HTTPS without credentials/query/fragment. Automatic monitor ownership is preserved: only postmortem reference may change for a monitor-owned incident. Revision applies to operator metadata, not timeline ownership; no command key or worker signing authority is invented. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession + csrfToken

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

incidentId (path, required)
Exact protected staff resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/IncidentMetadataUpdateRequest"
      }
    }
  }
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IncidentRecord"
    }
  }
}
400
Invalid management request; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing incident/component; native404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Monitor-owned metadata restriction or stale revision; operations_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native normal JSON binder media rejection, may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
428
expectedRevision required; precondition_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/status/incidents/{incidentId}/annotations

Append additional incident context

Incident identifier<=200, nonempty requestId and nonblank message<=4000 required. The trimmed narrative is keyed by current server-owned actor, incident and request identity. Reusing it with different context409; matching retries do not append twice. May annotate a monitored or resolved incident without changing lifecycle, component health or monitor ownership. Public publication remains independently owned. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession + csrfToken

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

incidentId (path, required)
Exact protected staff resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/IncidentAnnotationRequest"
      }
    }
  }
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IncidentRecord"
    }
  }
}
400
Invalid management request; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing incident/component; native404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Request identity already records different incident context; operations_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native normal JSON binder media rejection, may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/status/incidents/{incidentId}/updates

Append an eligible operator incident update

Defined state/nonblank message. Monitor-owned or already-resolved incidents409; operators cannot take monitoring ownership. This selected handler has no keyed response-replay protocol; an uncertain retry can append another update. Current incident is reloaded after the update to preserve concurrently committed metadata. Resolved closes the incident and restores affected components via the existing workflow. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession + csrfToken

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

incidentId (path, required)
Exact protected staff resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/IncidentUpdateRequest"
      }
    }
  }
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IncidentRecord"
    }
  }
}
400
Invalid management request; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing incident/component; native404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Monitor-owned or already-resolved incident; operations_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native normal JSON binder media rejection, may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Actual legacy-write freeze rejects unsafe methods before a mutation; native {error:string}.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/status/incidents/page

Read protected staff incident history

Closed includeResolved/limit/cursor query. Defaultsfalse/25; limit1..100. Protected continuation binds current operator claims, route, collection, exact filters and limit; startedAt-desc/id-ascending ordering. Current persisted history, not a capped signed public overview. nextCursor/totalCount remain nullable; totalCount null is not a factual zero or claimed population. Staff authors and optional metadata remain the actual protected projection. Actual existing Status:IndependentStatusEnabled returns410 for all these routes; Status:LegacyWritesFrozen returns423 for unsafe methods. These native operating modes do not alter independent Worker signatures or authorize manual public publication.

Access: browserSession

Current independent staff Ops session and PlatformOperator, with server audit/monitor ownership and existing unsafe CSRF/origin. Signed public status publication remains separately owned.

Parameters

limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
includeResolved (query, optional)
Optional native boolean, case-insensitive and trimmed/control-free. Defaultfalse.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual current staff projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsStatusIncidentPage"
    }
  }
}
400
Closed query/protected continuation invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent Ops session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator required. Unsafe requests retain the existing Ops CSRF/origin rules; a customer token or internal key alone is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
410
Actual independent-status mode disables this entire legacy staff prefix, possibly before authentication; native {error:string}. It does not claim signed Worker mutation availability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History unavailable; operations_page_unavailable. No successful zero/empty page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets

Read the legacy staff ticket queue

Legacy numbered page defaults1/25; page is normalized to at least1 and pageSize clamped1..100. queue is trimmed; unparseable state is ignored by case-insensitive Enum.TryParse (numeric forms remain native). The current operator/queue/state reader captures at most100+1 before any in-memory numbered-page slice. More than100 matching tickets returns409 support_pagination_required directing /tickets/page; no partial total is returned. For complete small collections total is exact, including zero. Current source failure503 remains unknown rather than zero. This is not the protected cursor contract.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

queue (query, optional)
Optional queue; legacy binding does not impose this cursor bound.
{
  "type": "string"
}
state (query, optional)
Optional legacy enum parse; unknown names ignored.
{
  "type": "string"
}
page (query, optional)
One-based offset page; values below1 normalize to1.
{
  "type": "integer",
  "default": 1
}
pageSize (query, optional)
Native service clamps to1..100.
{
  "type": "integer",
  "default": 25
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportTicketPage"
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
support_pagination_required: use the same-authority /tickets/page resource.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OpsBetaProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_pagination_required"
            }
          }
        }
      ]
    }
  }
}
503
support_page_unavailable: current support list source unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OpsBetaProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_page_unavailable"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}

Read complete small staff ticket detail

Complete legacy GET only when each visible messages/participants/transitions collection fits100; otherwise409 support_thread_pagination_required directs this ticket /workspace and /messages/page, /participants/page and /transitions/page. No partial detail or resource cap. Current operator projection retains operator-only/participant-private evidence, latest revisions, tombstone redaction and private-evidence audit. Current thread authority/ticket version rechecked before success; unavailable or changed projection503 support_page_unavailable. Existing legacy query handling, full internal exports and legacy mutation representations remain unchanged.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SupportTicketDetail"
        },
        {
          "type": "object",
          "properties": {
            "messages": {
              "type": "array",
              "maxItems": 100
            },
            "participants": {
              "type": "array",
              "maxItems": 100
            },
            "transitions": {
              "type": "array",
              "maxItems": 100
            }
          }
        }
      ]
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
support_thread_pagination_required: use same-authority workspace/messages/participants/transitions pages; never a successful partial legacy detail.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OpsBetaProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_thread_pagination_required"
            }
          }
        }
      ]
    }
  }
}
503
support_page_unavailable: current source failed or ticket changed during bounded projection; retry same selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OpsBetaProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_page_unavailable"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

PUT/api/admin/admin/support/tickets/{ticketId}

Update staff ticket routing

Defined priority, nonblank queue trimmed<=80, reason trimmed<=500 and current expectedVersion. Assignment can only be empty/unassigned or the current operator; arbitrary operator delegation is rejected. Same exact actor/operation/key/body replays the existing result; changed reuse or version/lifecycle conflict409. No automatic retry changes the expected version. Only optional representation=receipt is accepted; its two-field ticketId/version result omits collections without asserting they are empty.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Absent: full detail. One exact receipt: bounded mutation receipt. Unknown/repeated/other query400 support_representation_invalid.
{
  "type": "string",
  "const": "receipt"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/UpdateSupportTicketRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/SupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/SupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
Invalid ticket request/representation; support_request_invalid or support_representation_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed ticket version/lifecycle/key body; support_request_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/attachments

Read current managed attachment evidence

messageId is required, nonblank/control-free/trimmed<=40. Closed messageId/limit/cursor query; limit defaults10/range1..100. Protected cursor binds operator/claims, current ticket authority, message, limit and created-desc/id-desc order. Flags report current storage/scanner/purge configuration; false is retained. totalCount is always null. No storage locator, scanner diagnostics, private-participant or uploader identity is returned. Clean presentation is re-attested and can become quarantined/infected when current evidence changes.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 10,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
messageId (query, required)
The exact selected message.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 40
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsSupportAttachmentPage"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/attachments

Reserve immutable support evidence

Requires strict attachment command key and an accessible message. FileName trimmed/control-free<=160 with no path separator/colon; declared length1..10485760; sha256 exactly64 lowercase hexadecimal characters. Reservation binds actor/ticket/message/key and exact request. Success is reserved evidence, not uploaded or clean evidence. Managed storage/scanner unavailable503; missing evidence authority404.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonempty/control-free key8..200, exactly trimmed; no surrounding whitespace. Reuse the identical command body.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ReserveSupportAttachmentRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportAttachmentSummary"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Immutable attachment/current revision conflicts; support_evidence_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/content

Upload the exact reserved evidence bytes

Raw byte stream, not multipart/base64 JSON. Only the reserving actor may upload; exact reserved length and original SHA256 must match. Content cap10485760 bytes; existing HTTP wire allowance11534336 includes chunk overhead. Filename/content inspection accepts only bounded UTF-8 .txt, PNG or JPEG; image metadata is stripped. Accepted bytes remain quarantined until an exact scanner attestation. Reusing an immutable upload reconciles its stored hash/ETag, never silently overwrites it.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

attachmentId (path, required)
Exact selected attachmentId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportAttachmentSummary"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Immutable attachment/current revision conflicts; support_evidence_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
The existing wire request-body limit rejected the upload; content length remains independently bounded by the reservation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/download

Download currently authorized evidence bytes

Proof is in the JSON POST body, never a query string. Invalid/expired/wrong-actor/version proof, missing clean attestation or revoked current evidence authority returns404. Storage integrity, scanner attestation and authority are rechecked before delivery; reads are audited. No byte ranges; Content-Disposition is attachment. A signed proof does not bypass the current operator/session or CSRF checks.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

attachmentId (path, required)
Exact selected attachmentId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SupportDownloadProofRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  },
  "Content-Disposition": {
    "schema": {
      "type": "string"
    },
    "description": "attachment with the retained sanitized file name; range processing disabled."
  }
}
{
  "text/plain": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/png": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/jpeg": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/download-proof

Issue an actor-bound evidence download proof

No request body or Idempotency-Key. Only currently clean, exactly attested and accessible evidence is eligible. The protected proof expires after the owning 5 minutes and binds actor/type/ticket/attachment/hash/ETag/version. It is not a Blob URL, anonymous grant or provider token; store it only for this explicit POST download.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

attachmentId (path, required)
Exact selected attachmentId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportEvidenceDownload"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/purge

Purge only explicitly eligible retained evidence

Strict attachment command key, current expectedTicketVersion and reason trimmed<=500/control-free. Requires enabled purge configuration, storage, explicit closed-before/retention-class selection, closed ticket and no hold. Verification/protected evidence is excluded. Current row locks serialize hold/reopen with deletion; purge-pending/unknown work is reconciled under the same command, never inferred complete from configuration. Disabled/unavailable503, changed selection/revision/hold409.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

attachmentId (path, required)
Exact selected attachmentId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonempty/control-free key8..200, exactly trimmed; no surrounding whitespace. Reuse the identical command body.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SupportAttachmentPurgeRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportAttachmentSummary"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Immutable attachment/current revision conflicts; support_evidence_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/attachments/{attachmentId}/scan

Reconcile current scanner evidence

No request body or Idempotency-Key. A client cannot assert a clean verdict. An unavailable/pending verdict may leave the actual attachment quarantined; exact object ETag/hash and bounded scanner evidence are checked before finalization. Current evidence authority is rechecked.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

attachmentId (path, required)
Exact selected attachmentId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportAttachmentSummary"
    }
  }
}
400
Invalid attachment command/query/body; support_evidence_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Immutable attachment/current revision conflicts; support_evidence_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Managed evidence unavailable; support_evidence_unavailable. The ticket remains separately available.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/legal-hold

Read the actual ticket legal hold

Audited hold read returns actual legalHold and version. false is a known false, not unavailable; missing ticket404.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportLegalHoldStatus"
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/legal-hold

Change a ticket legal hold

One nonblank/control-free Idempotency-Key8..200 is retained without trimming; unlike attachment keys, outer whitespace is not separately rejected by this service. Nonblank reason trimmed<=500, expectedVersion>=1; current version checked and command replay bound to exact body. Returns only {legalHold:boolean}, not a new version. No retention policy or purge permission is enabled.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SetSupportLegalHoldRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsSupportHoldChanged"
    }
  }
}
400
Invalid hold command; support_command_invalid or support_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed hold revision/body; support_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/messages/page

Read staff message history

Closed limit/cursor query. The protected continuation binds operator claims, ticket authority, collection, limit and created-desc/id-desc. Current authority is rechecked around materialization; selected count is not a total. totalCount remains null; grantsTicketAccess and canViewTicket are separate actual booleans. Message bodies use current revisions and preserve tombstone redaction.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsSupportMessagePage"
    }
  }
}
400
Closed query/cursor invalid; support_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/participants/{userId}/directory-detail

Read one selected staff participant

No query accepted; ticketId<=512 and userId<=256, trimmed and control-free. Resolves current thread authority and actual selected participant rather than a client-generated directory projection. Missing/inaccessible participant404.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

userId (path, required)
Exact selected userId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportTicketParticipant"
    }
  }
}
400
Closed query/cursor invalid; support_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/participants/page

Read staff participant evidence

Closed limit/cursor query. The protected continuation binds operator claims, ticket authority, collection, limit and added-asc/id-asc. Current authority is rechecked around materialization; selected count is not a total. totalCount remains null; grantsTicketAccess and canViewTicket are separate actual booleans. Message bodies use current revisions and preserve tombstone redaction.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsSupportParticipantPage"
    }
  }
}
400
Closed query/cursor invalid; support_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/replies

Reply to a support ticket as the current operator

Nonblank message, trimmed length<=20000; defined visibility and current expectedVersion. Participant-private replies require an eligible selected participant. Same exact actor/operation/key/body replays the existing result; changed reuse or version/lifecycle conflict409. No automatic retry changes the expected version. Only optional representation=receipt is accepted; its two-field ticketId/version result omits collections without asserting they are empty.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Absent: full detail. One exact receipt: bounded mutation receipt. Unknown/repeated/other query400 support_representation_invalid.
{
  "type": "string",
  "const": "receipt"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ReplySupportTicketRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/SupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/SupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
Invalid ticket request/representation; support_request_invalid or support_representation_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed ticket version/lifecycle/key body; support_request_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/support/tickets/{ticketId}/transitions

Apply an eligible staff ticket transition

Reason trimmed<=500, current expectedVersion and actual allowed state transition. Competing open subject/reopen rules remain authoritative. Same exact actor/operation/key/body replays the existing result; changed reuse or version/lifecycle conflict409. No automatic retry changes the expected version. Only optional representation=receipt is accepted; its two-field ticketId/version result omits collections without asserting they are empty.

Access: browserSession + csrfToken

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free key8..200 retained without trimming; no automatic replacement on retry. Reuse the exact body.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Absent: full detail. One exact receipt: bounded mutation receipt. Unknown/repeated/other query400 support_representation_invalid.
{
  "type": "string",
  "const": "receipt"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/TransitionSupportTicketRequest"
      }
    }
  }
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/SupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/SupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
Invalid ticket request/representation; support_request_invalid or support_representation_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed ticket version/lifecycle/key body; support_request_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the normal HTTP JSON binder; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/transitions/page

Read staff transition history

Closed limit/cursor query. The protected continuation binds operator claims, ticket authority, collection, limit and occurred-asc/id-asc. Current authority is rechecked around materialization; selected count is not a total. totalCount remains null; grantsTicketAccess and canViewTicket are separate actual booleans. Message bodies use current revisions and preserve tombstone redaction.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsSupportTransitionPage"
    }
  }
}
400
Closed query/cursor invalid; support_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/{ticketId}/workspace

Read bounded staff ticket metadata

No query accepted; ticketId<=512, trimmed and control-free. Returns ticket metadata only. Omitted conversation collections do not assert an empty conversation. This audited operator projection does not grant customer access.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

ticketId (path, required)
Exact selected ticketId; this is a resource selector, not an authority credential.
{
  "type": "string"
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SupportTicketWorkspace"
    }
  }
}
400
No query is accepted; invalid bounded ticket selector/query returns support_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Support operation failed; internal_error. Failure is not proof of a successful mutation or zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/support/tickets/page

Read protected staff ticket cursor pages

Closed query accepts queue/state/limit/cursor once. Queue<=128 and state<=64 have no surrounding whitespace or controls; state must parse to a defined case-insensitive enum value (native numeric forms included). limit defaults25/range1..100. Protected cursor binds current operator claims, exact selection and updated-desc/id-desc ordering; unchanged cursor and selection are required. totalCount is null, not a known zero.

Access: browserSession

Independently authenticated Ops browser session, current PlatformOperator role and server-owned SupportActor; existing Ops internal-service boundary stays server-side.

Parameters

limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
queue (query, optional)
Exact queue; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 128
}
state (query, optional)
Defined native enum value, case-insensitive; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 64
}

Responses

200
Actual authorized Support result; no deployment/provider readiness is inferred.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsSupportTicketCursorPage"
    }
  }
}
400
Closed query/cursor invalid; support_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated independent Ops principal required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator and existing Ops unsafe-request CSRF/origin rules required. Customer tokens/internal keys alone do not grant operator access.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing or inaccessible selected resource; native response may be bodyless. Ticket readers may use resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
History temporarily unavailable; support_page_unavailable. No successful empty page/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants

Read the legacy bounded staff account directory

Identity-owned account directory plus the actual organizationAdmissionWorkflowEnabled flag. Successful store reads normalize page to at least 1 and clamp pageSize to 1–100. kind uses the existing case-insensitive Enum.TryParse, including its numeric forms; an unparseable selector is ignored. A complete SQL capture of at most100 matching accounts preserves original identifier ordering and small numbered pages; total is exact for that capture. Overflow409 operations_pagination_required directs to the protected account page route. Source failure503 operations_page_unavailable is never a fabricated empty directory.

Access: browserSession

Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.

Parameters

search (query, optional)
Optional legacy search.
{
  "type": "string"
}
page (query, optional)
One-based page, normalized to at least one on the successful store path.
{
  "type": "integer",
  "default": 1,
  "x-appportal-normalized-minimum": 1
}
pageSize (query, optional)
Legacy successful store path clamps the page size; it does not reject out-of-range integers.
{
  "type": "integer",
  "default": 25,
  "x-appportal-clamped-minimum": 1,
  "x-appportal-clamped-maximum": 100
}
kind (query, optional)
Existing case-insensitive enum parser; an unparseable value does not filter.
{
  "type": "string"
}

Responses

200
Actual authorized read response.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsLegacyAccountDirectory"
    }
  }
}
400
Invalid HTTP-bound input; the framework may return a problem or no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independent current PlatformOperator authority is required; a customer role is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Complete legacy collection exceeds100 records; use the same /page cursor resource. Native code: operations_pagination_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Directory source unavailable; no successful empty capture is fabricated. Native code: operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/access-rules

Read the bounded legacy external-access rule list

Organization-only target. Default limit100, maximum100; this compatibility array rejects cursor and returns409 operations_pagination_required if more rows exist. It is a stored policy projection, not fresh external-provider evidence.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccessPolicies"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
operations_pagination_required: more than the selected bounded limit (default100, maximum100), or a nested collection exceeds its separately documented bound. Use the separately paged resources.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/access-rules

Create a supported external-access rule

Organization-only target, trimmed8..500-character support reason and any selected app owned by that Organization. Provider/requirement/authority/resource/role compatibility is validated by the actual Identity service. A stored enabled rule is not proof that an external identity currently satisfies it.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsExternalAccessPolicyWriteRequest"
      }
    }
  }
}

Responses

201
Actual existing staff response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative resource identifier; does not create another read route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/access-rules/{policyId}

Update a supported external-access rule

Organization-only target with a support reason. A Team rule can be paused with its existing source, null role and no app scope. Resuming requires the organization’s Enterprise authority in Dashboard. Returns the saved policy.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
policyId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsExternalAccessPolicyWriteRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/access-rules/{policyId}/delete

Delete an external-access rule

Organization-only target with a trimmed8..500-character support reason. Successful204 is bodyless.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
policyId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsSupportReasonRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/access-rules/page

Read protected external-access policy pages

Organization-only target; current totalCount remains null. Policies are ordered by the stored C-collated policy ID. No remote provider lookup or access guarantee is inferred.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccessPolicyPage"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/access-settings

Read organization external-access refresh settings

Organization-only target. EnterpriseConfigurable, nullable update metadata and stored refresh hours are actual settings; a saved value is not proof of current provider access.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAccessSettings"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/access-settings

Update permitted external-access refresh settings

Organization-only target and trimmed8..500-character support reason. The actual domain policy controls whether refresh hours are configurable; no invented refresh TTL or universal entitlement is added.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsOrganizationAccessSettingsRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAccessSettings"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/admission

Read the current organization admission decision

Reads the actual nullable admission row under current operator authority. A missing row is not approval: the handler returns native200 with an absent body when Results.Ok receives null. Includes the first-owner invitation status for this organization. Existing record fields retain revision, reason, current actors and nullable initialOwnerInvitationId.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAdmissionRecord"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/admission

Record an explicit organization admission decision

Uses current ExpectedRevision, defined admission state and actual reason/initial-owner rules. A changed revision is409 organization_admission_revision_conflict. Nullable returned Invitation remains distinct from a new owner or accepted membership. The operator is not added to the organization; saved admission alone does not override operational restrictions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OrganizationAdmissionUpdateRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAdmissionUpdateResult"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_admission_revision_conflict: reload the current admission revision. Nonretryable invitation eligibility/revision failures remain403.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
429
organization_invitation_rate_limited: current invitation-producing operation throttle; actual Retry-After is clamped1..3600 seconds, not a universal invitation TTL.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/ai-classification

Read explicit AI processing classification

No query accepted. Trusted current operator authorization is rechecked by the store. Existing account with no classification row returns Unknown and revision0; missing account404. This is explicit operator attestation, not inference from IP, billing country, plan or customer location; it does not activate AI or provide credentials.

Access: browserSession

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAiClassification"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Account unavailable; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Read unavailable; ai_classification_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/ai-classification

Record an explicit AI processing classification

No query; JSON or application/*+json required. Case-insensitive duplicate property names are rejected, unknown fields are disallowed by the actual DTO, depth<=4 and body<=4096 bytes. Classification is exactly Unknown, Other or EuEnterprise and expectedRevision>=0. Omitted expectedRevision deserializes0 under the native Web options; it is not a mandatory constructor-presence check. A current matching revision commits the new classification and revision=expectedRevision+1 with metadata-only audit. Stale revision409; no HTTP idempotency header, returned policy/model/key or automatic activation is added. Unknown outcome requires current-classification reload before a new mutation.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/AiClassificationRequest"
      }
    },
    "application/*+json": {
      "schema": {
        "$ref": "#/components/schemas/AiClassificationRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAiClassification"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Account unavailable; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current source/revision or exact mutation identity changed; reconcile before a new intent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
Declared or streamed body exceeds4096 bytes; ai_classification_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Outcome cannot be confirmed; ai_classification_unavailable. Reload current state.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/app-data-bindings

Read configured application data routes

Read-only persisted configuration, not a provider probe or current routing guarantee: statusBasis is configuration. enterpriseAuthorized, registered provider capabilities, configuredStatus, effectiveRoute and revisions retain their actual independent meaning. Unknown/unregistered provider configuration is not fabricated reachable/zero evidence. No host, connection string, secret reference or raw provider diagnostic is exposed. Closed limit/cursor query; default25/max50; protected cursor binds operator, canonical account, limit and ordering (actual expiry30minutes). Missing, ambiguous or non-organization selection returns 404 before any binding read. Successful reads are audited.

Access: browserSession

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
limit (query, optional)
One decimal integer; unknown/repeated query names rejected.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 50
}
cursor (query, optional)
Opaque protected continuation from the preceding response; no authority or total count.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppDataBindingVisibilityPage"
    }
  }
}
400
Invalid visibility query/continuation; app_data_binding_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: the selection does not identify exactly one organization. No binding inventory was read.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  }
}
503
Configuration read unavailable; app_data_binding_unavailable. No successful empty page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/app-data-bindings/operations/{operationId}

Read a retained application data operation

No query accepted. operationId must parse as the current account's actual operation Guid; a malformed/missing/other-account operation404. Returns stored state/revisions/updatedAt with fresh authority checks and audit, without a credential or raw provider error. Unknown is an unconfirmed outcome, not an implicit failure, completed activation or permission to create a new command.

Access: browserSession

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
operationId (path, required)
Retained operation Guid in the same canonical account.
{
  "type": "string"
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppDataBindingOperation"
    }
  }
}
400
Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current configuration, revision, secret or command changed; app_data_binding_changed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/app-data-bindings/operations/{operationId}/cleanup

Reconcile application data candidate cleanup

No query or new credential. The actual empty strict JSON request is required. Only an existing CleanupPending operation is eligible; otherwise409. Fresh staff/account authority and revoke-operation policy remain. Reconciles that same operation and secret identity rather than provisioning another candidate. Only remaining CleanupPending returns202 here; another recorded state returns200 without implying Active.

Access: browserSession + csrfToken

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
operationId (path, required)
Retained operation Guid in the same canonical account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RetryAppDataBindingCleanupRequest"
      }
    }
  }
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppDataBindingOperation"
    }
  }
}
202
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppDataBindingOperation"
    }
  }
}
400
Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current configuration, revision, secret or command changed; app_data_binding_changed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/app-data-bindings/scope

Read one application data configuration scope

Only optional appId accepted once (<=1024, nonblank when supplied). Returned appId is canonical; requestedAppId preserves selection separately. Name/revision/provider/configuredStatus/operation are actual persisted values, not a secret or a probe. An absent binding/operation remains null; known revision0 is not omitted or a health assertion. Current authority and organization/app selection are rechecked and the read audited.

Access: browserSession

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
appId (query, optional)
Optional selected application; absence selects the organization default.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 1024
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppDataBindingScope"
    }
  }
}
400
Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current configuration, revision, secret or command changed; app_data_binding_changed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/app-data-bindings/test-connection

Probe only the current configured data connection

No query or replacement credential accepted. Optional appId selects the existing exact binding. The current secret and supported provider are resolved server-side and actual connectivity tested under an existing bounded deadline, with fresh authority/configuration/secret rechecks and audited outcome. Reachable is one checkedAt observation, not permanent health. Missing binding404, changed binding/secret409, unavailable provider/secret/dependency503. Provider diagnostics and connection details are not returned.

Access: browserSession + csrfToken

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/TestAppDataBindingConnectionRequest"
      }
    }
  }
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppDataBindingConnectionResult"
    }
  }
}
400
Invalid query/body; app_data_binding_request_invalid (probe uses app_data_binding_probe_invalid).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current configuration, revision, secret or command changed; app_data_binding_changed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Binding configuration/provider/vault/current authority unavailable; app_data_binding_unavailable. No success/zero is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/beta-features/{key}

Set or revoke a current account's product beta grant

Only catalog capabilities requiring beta approval are eligible. The transaction locks the current account and derives its personal owner or organization ownership; membership or the operator's own grants cannot substitute. expectedRevision compares the existing grant revision (0 when absent). Enabling requires an active account and eligible owner; stale revision/invalid ownership conflicts. Success increments the stored revision, records the current actor/reason and returns only updated:true. No idempotency key, returned grant revision, universal expiry, plan inclusion or public rollout is invented.

Access: browserSession + csrfToken

Authenticated staff Ops session and current PlatformOperator role; protected internal-service boundary is not a browser credential.

Parameters

tenantId (path, required)
The exact account selected by the authorized operator.
{
  "type": "string"
}
key (path, required)
An existing entitlement-catalog capability requiring beta approval.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SetProductBetaGrantRequest"
      }
    }
  }
}

Responses

200
Grant mutation committed; actual fixed acknowledgment only.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaGrantUpdated"
    }
  }
}
400
Invalid reason/revision/expiry or a capability not requiring beta approval; beta_approval_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; a middleware failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
PlatformOperator authority or matching Ops CSRF/origin required; BFF JSON remains separate.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Capability/account unavailable or an inactive account cannot be enabled; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current owner shape/eligibility or expected revision changed; beta_approval_changed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported media type rejected by the existing JSON body binder; no beta mutation is executed. The response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency or transaction failure. A bounded management problem does not establish whether a prior outcome committed; reconcile the current grant before retrying or changing expectedRevision.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/billing

Read the retired monetary billing summary

The current production TenantBillingSummaryService always rejects the historical complete monetary/credit projection after reading pinned source configuration. The adapter returns502; the existing management middleware completes the ordinary JSON response as bounded application/problem+json with upstream_unavailable. HEAD or explicit HTML negotiation can remain bodyless. No successful200/wallet, liability, plan-price or zero-usage body is advertised; actual persisted assignment/subscription rows remain separately available at /billing/subscription.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Historical complete monetary projection unavailable. The ordinary management JSON response is RFC9457 ProblemDetails: upstream_unavailable, not a zero balance or missing assignment; HEAD/explicit HTML negotiation can remain bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/billing/price-notices

Read bounded retained price-notice history

Actual operator-authorized/audited safe notice statuses exclude provider identifiers, recipient identities and mailbox hashes. The existing legacy read caps100; an additional row returns409 operations_pagination_required rather than a truncated successful array. Notice state and nullable accepted/effective times are not proof of delivery, payment or installed entitlement.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsPriceNoticeArray"
    }
  }
}
400
Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
More than100history rows; operations_pagination_required. Other changed/unavailable source conflicts retain price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/billing/price-notices

Prepare an explicitly acknowledged price-only notice

Acknowledged must be true; expectedGeneration>=1 and targetCatalogRevision required. One exact retained command key<=200/control-free binds account/source generation/target revision; replay returns the same prepared notice and changed reuse409. The workflow rechecks the existing current operator and account operation lease, freezes a published eligible target and verifies supported price-only terms. Preparation reserves neither a charge nor an entitlement and performs no automatic dispatch or subscription installation.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}
Idempotency-Key (header, required)
Required single nonblank/control-free key retained without trimming; reuse exact generation/target intent.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PrepareBillingPriceNoticeRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPriceNoticeStatus"
    }
  }
}
400
Acknowledgement missing: price_notice_acknowledgement_required. Other body/key invalidity: price_notice_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/cancel

Cancel one eligible retained notice

Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

noticeId (path, required)
Exact server-authorized selected noticeId; not a credential or role grant.
{
  "type": "string"
}
tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
    }
  }
}
400
Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/notify

Request verified delivery of one retained notice

Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

noticeId (path, required)
Exact server-authorized selected noticeId; not a credential or role grant.
{
  "type": "string"
}
tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
    }
  }
}
400
Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/reconcile

Reconcile retained provider notice evidence

Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

noticeId (path, required)
Exact server-authorized selected noticeId; not a credential or role grant.
{
  "type": "string"
}
tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
    }
  }
}
400
Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/billing/price-notices/{noticeId}/schedule

Schedule one eligible retained price notice

Existing retained notice identity and server-owned authority/intent drive this command; no browser proof, key or new JSON command body is bound. Current operator and each receiver's account lease/source are independently validated. Notification uses deliberate isolated Billing verification and Identity mail boundaries; schedule/reconcile use Billing-owned provider work. Returned outcome can be unavailable, indeterminate, source-changed, awaiting-delivery, not-confirmed or another actual workflow state even with HTTP200. It is not automatic delivery, a charge, payment or entitlement activation. Reconcile the unchanged retained identity; no automatic new command/retry is promised. Command IDs are bounded account<=200/notice<=100 and control-free.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

noticeId (path, required)
Exact server-authorized selected noticeId; not a credential or role grant.
{
  "type": "string"
}
tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPriceNoticeOutcome"
    }
  }
}
400
Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/billing/price-notices/page

Read protected price-notice history with full active-intent evidence

Closed limit/cursor query via the actual Operations page parser; default25/range1..100. Protected continuation binds current operator claims, account route and exact limit. Items use created-desc/id-ascending order. hasActiveNotice is independently computed across the full account predicate, not only the displayed page; false is retained. No total-count field is invented. Missing nullable nextCursor means no continuation in the observed page.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPriceNoticeHistoryPage"
    }
  }
}
400
Invalid bounded notice/key/query; price_notice_invalid (closed continuation uses the existing Operations parser).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed/unavailable notice source or reconciliation required; price_notice_source_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Price-notice persistence unavailable; price_notice_persistence_unavailable. No successful zero history or confirmed delivery is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/billing/subscription

Read actual persisted assignment and subscription state

Read-only staff projection of actual assignment and subscription rows for the canonical account. Missing assignment/subscription remains null, not a synthesized Free assignment, active subscription, provider SKU or unavailable source. The operational planKey and actual provider dates/generation/entitled/cancellation state stay distinct. Audited; no plan activation or provider action.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/StaffBillingSubscriptionRead"
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Account does not exist; native bodyless404.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Persistence unavailable; no successful null/zero substitute; native bodyless502.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/billing/usage

Read accepted telemetry for the current allowance period

Audited organization-wide read of accepted transport records in the selected offering's exact allowance period. Verified zero requires complete coverage; partial positive counts are lower bounds. Unavailable counts and periods are null. Configuration, including unlimited, is separate from measured usage. No provider calls, reservations, wallet grants or application identities.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/StaffBillingUsageRead"
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Account does not exist.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Account configuration could not be read.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/branding

Read organization marketing permission and bounded use history

Legacy complete-within100 branding workspace; original permission/logoAvailable/history/nextBeforeRevision JSON remains. Any supplied numeric beforeRevision409operations_pagination_required; another history row beyond100 also409. A complete successful response has nextBeforeRevision:null, not a fabricated continuation or population. Permission is reread after logo/history access, and the read is audited. Current verified default permission is not a new explicit customer grant. Use /page for protected limit/cursor history traversal; personal scope409/missing organization404 retain native branding semantics.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}
beforeRevision (query, optional)
Legacy numeric binding remains recognized, but any supplied value409; use /page.
{
  "type": "integer",
  "format": "int64"
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationBrandingWorkspace"
    }
  }
}
400
Invalid actor/reason; organization_branding_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing organization/logo; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy beforeRevision or history overflow operations_pagination_required; current native branding target/permission conflict organization_branding_conflict remains distinct.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/branding/clear-use

Clear recorded organization marketing use

Clear an existing recorded use; no active use409. This records removal completion without manufacturing consent. Body revision must equal current revision (initial0); nonblank reason trimmed8..500. No Idempotency-Key or staff opt-in route. For use/download, open/read the logo before locking, then recheck current verification/opt-out/revision under the organization row lock before audit/commit. Current permission loss/conflict409. Source errors remain sanitized; stored permission does not promise marketing publication or provider availability.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/BrandingPermissionChange"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationBrandingPermission"
    }
  }
}
400
Invalid actor/reason; organization_branding_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing organization/logo; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current permission/revision/usage/target/image conflict; organization_branding_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported native JSON media type; may be bodyless for ordinary binder requests.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/branding/logo-download

Download current authorized organization logo

Download actual logo bytes only under current verified permission; this records an audited revision, not inUse:true. Body revision must equal current revision (initial0); nonblank reason trimmed8..500. No Idempotency-Key or staff opt-in route. For use/download, open/read the logo before locking, then recheck current verification/opt-out/revision under the organization row lock before audit/commit. Current permission loss/conflict409. Source errors remain sanitized; stored permission does not promise marketing publication or provider availability. Stream output is capped at the owning 2097152 bytes; oversized409, empty/missing404. This is binary content, not a JSON permission result.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/BrandingPermissionChange"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  },
  "Content-Disposition": {
    "schema": {
      "type": "string"
    },
    "description": "attachment; organization-logo.png/.jpg/.webp. Actual stored Content-Type is retained (normal upload supports PNG/JPEG/WebP); no signed URL or range processing."
  }
}
{
  "image/png": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/jpeg": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/webp": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "*/*": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  }
}
400
Invalid actor/reason; organization_branding_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing organization/logo; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current permission/revision/usage/target/image conflict; organization_branding_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported native JSON media type; may be bodyless for ordinary binder requests.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/branding/page

Read protected current branding permission and history pages

Closed limit/cursor query. Exact current organization selector and independent operator/claims are bound into the continuation. History revision descending; permission is reread after the actual logo stream check and bounded history read, then the read is audited. items are existing retained BrandingPermissionHistory records. logoAvailable observes an opened stream, not a future download promise. Current verified permission is not a new explicit customer grant; this read creates neither consent nor recorded marketing use. limit defaults25/range1..100; opaque cursor<=8192 is forwarded unchanged. Duplicate/unknown/blank/padded/control selectors reject400. Protection binds immutable operator, current claims, exact route/collection/filters and limit. totalCount:null is unknown, never zero; tampered or changed selection is rejected rather than retargeted; refresh starts a new traversal.

Access: browserSession

Independent current Ops staff session and PlatformOperator, owning current authorization/read audit; internal/customer credentials alone do not grant authority.

Parameters

tenantId (path, required)
Exact currently authorized organization selector, not an account authority header.
{
  "type": "string"
}
limit (query, optional)
One literal decimal bound; invalid selectors are rejected rather than clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual current bounded projection; explicit nullable continuation and unknown total.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationBrandingWorkspacePage"
    }
  }
}
400
Invalid page selection operations_page_invalid or native branding actor/reason organization_branding_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Ops session/service boundary required; middleware/native response semantics retained.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator/actor unavailable; access_denied. Page selectors do not grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing organization; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current branding permission/target conflict; organization_branding_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Current source/read/audit unavailable; operations_page_unavailable. No successful empty/zero substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/branding/record-use

Record current organization marketing use

Record current marketing use only with current verified permission and available logo. Body revision must equal current revision (initial0); nonblank reason trimmed8..500. No Idempotency-Key or staff opt-in route. For use/download, open/read the logo before locking, then recheck current verification/opt-out/revision under the organization row lock before audit/commit. Current permission loss/conflict409. Source errors remain sanitized; stored permission does not promise marketing publication or provider availability.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/BrandingPermissionChange"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationBrandingPermission"
    }
  }
}
400
Invalid actor/reason; organization_branding_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing organization/logo; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current permission/revision/usage/target/image conflict; organization_branding_conflict.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported native JSON media type; may be bodyless for ordinary binder requests.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled storage/dependency failure uses the existing bounded internal_error; no provider diagnostics or success is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/detail

Read the selected account's support detail

PATH account is only an explicit support target; it cannot grant staff authority. Composes directory/apps/teams/users, resolved catalog plan and stored feature flags, never telemetry. Existing bounded legacy child-list semantics apply: overflow409 requires the dedicated component pages, not a truncated complete list. Missing directory account is200 with its native nullable account field rather than404. Native fallback planKey starter/planName Starter/monthlyPrice0 when no matching plan is found is retained and is not authoritative entitlement, recognized free billing or evidence of a zero negotiated price. organizationAdmissionRestricted/workflowEnabled describe actual server policy, not customer permission to change it.

Access: browserSession

Independent current PlatformOperator Ops principal and existing protected service boundary. A customer Admin, body/path selector or service key alone does not grant staff authority.

Parameters

tenantId (path, required)
The exact account selected by independently authorized staff.
{
  "type": "string"
}

Responses

200
Actual authorized owning-source DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantDetail"
    }
  }
}
401
Current Ops authentication required; native middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator required; caller authority headers are removed at the browser boundary.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
A bounded legacy child collection requires its page representation; operations_pagination_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Dependency failure; bounded management error, never raw exception details or fabricated source completeness.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/eligibility-reviews/controlled-group

Record a prospective controlled-group review

SourceVersion must equal offering-eligibility-declarations/v1. Actual required DTO fields include mutationId, expectedRevision, definition, effectiveFromUtc and reason; effectiveFromUtc has zero UTC offset. A valid current account-owner declaration and matching independent/controlled-group outcome are required, with private control evidence, actual canonical group when controlled and coherent optional whole-group financial window. New review is prospective, cannot precede source, and checks expectedRevision. Exact body/actor/mutationId replays the immutable receipt after current source validation; changed reuse409. Do not replace the mutation ID or expected revision after an unknown outcome. No HTTP Idempotency-Key, cross-account consent, shared-identity consent or automatic commercial eligibility is created.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsControlledGroupReviewRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OfferingDeclarationReceipt"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current source/revision or exact mutation identity changed; reconcile before a new intent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/eligibility-reviews/history

Review an exact retained historical declaration interval

SourceVersion must equal offering-eligibility-declarations/v1; expectedPayloadHash is64 hex characters matching the immutable owner declaration. reviewId must be nonempty, range has exact UTC-zero-offset fromUtc<toUtc and cannot extend beyond declaration time/current time. evidenceId uses the existing opaque1..128 character grammar and reason is nonblank/trimmed<=2048. Only current valid owner environment/exclusion declarations are reviewable. Exact reviewId/source hash/range/evidence/actor/reason replays the same reviewId; changed reuse409. This review does not backdate identity consent, activate a provider, infer control from membership or change retention. No HTTP idempotency header is invented.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OfferingDeclarationHistoryReviewRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEligibilityHistoryReviewReceipt"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Current source/revision or exact mutation identity changed; reconcile before a new intent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/eligibility-reviews/source

Read immutable eligibility review source

Legacy OfferingDeclarationReviewPage retains items/nextAfter only when the selected source is complete within the accepted bound: default50/max100, suppliedlimit1..100. Any supplied raw after or another selected row409operations_pagination_required. Successful nextAfter is null, not a public UUID continuation. Unknown/repeated selection400offering_review_invalid. Current operator authorization is rechecked around the same audited UUID-keyset source read. Owner declarations and review receipts do not create account, group or financial authority; use /source/page for protected traversal.

Access: browserSession

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact selected account under current independent Operations authority.
{
  "type": "string"
}
limit (query, optional)
Legacy completeness bound; no arbitrary resource cap.
{
  "type": "integer",
  "default": 50,
  "minimum": 1,
  "maximum": 100
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OfferingDeclarationReviewPage"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/eligibility-reviews/source/page

Read protected immutable offering-review source pages

The existing PostgreSQL UUID-ascending keyset and immutable owner-declared versus independently reviewed evidence remain distinct. Current independent operator authorization is required before and after the audited source read; the exact account route and limit bind the protected cursor. Raw UUID positions are internal only. This read creates no review, identity consent, controlled group, financial authority or automatic eligibility. Source fields and current unknown total remain actual evidence, not population or cohort completeness. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.

Access: browserSession

Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.

Parameters

tenantId (path, required)
Exact selected account under current independent Operations authority.
{
  "type": "string"
}
limit (query, optional)
Single native bounded decimal value; invalid input is not silently clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/route/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual bounded source evidence, not an approval, new grant or provider outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsOfferingReviewSourceCursorPage"
    }
  }
}
400
Malformed or retargeted protected selection; offering_review_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations session/service boundary required; authentication_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent operator unavailable; access_denied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Explicit unavailable dependency remains dependency_unavailable under the existing shared handler; no successful empty substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/enterprise

Read actual Enterprise billing workspace

Audited agreement/account/subscription boundary and at most50recent retained invoices plus hasMoreInvoices. externallyBilled indicates that this organization pays through its own or its linked customer's external agreement. providerAvailable reports configured provider implementations, not current reachability or a signed external contract. Nullable account/offering/subscriptionStatus/priorPaidThrough remain unknown/absent, not paid/Free/zero. Account state may be conflict when canonical Stripe bindings disagree. These existing endpoints use canonical Stripe customer/invoice workflows; external-contract offering terms do not establish generic contract execution or signature/payment completion.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseBillingWorkspace"
    }
  }
}
400
Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/enterprise-customer

Read the organization’s Enterprise customer

Returns 204 when there is no linked customer.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseCustomerSummary"
    }
  }
}
204
No linked customer.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/enterprise/account

Establish the exact reviewed Enterprise billing account

Current active organization, exact expectedOfferingId/monthly price, valid billing contact and nonblank/control-free reason trimmed<=500 are required. Positive USD amount has at most two decimals; customer details are bounded and checked. Single exact retained key<=200 binds the reviewed account request. Existing canonical Stripe customer/account state is rechecked; replay does not create another customer. An unavailable provider503 or unconfirmed outcome502 requires reconciliation of the retained identity. Organizations covered by an external agreement cannot establish a Stripe account (409 agreement_billed_externally).

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}
Idempotency-Key (header, required)
Required single nonblank/control-free key retained without trimming; exact same request on reconciliation/retry.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/CreateEnterpriseBillingAccountRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseBillingAccount"
    }
  }
}
400
Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/enterprise/account/reconcile

Reconcile one uncertain Enterprise account binding

Uses exact expectedAccountId, selected providerCustomerId and bounded reason. Current reserved account/active organization and provider customer metadata/ownership are verified before installing a ready binding. External agreement coverage blocks verification and installing a ready binding (409 agreement_billed_externally). Only an uncertain eligible account is reconciled; changed/non-uncertain state409. No Idempotency-Key or new customer creation is added. Provider reference is staff evidence, not a browser credential or authority bypass.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ReconcileEnterpriseBillingAccountRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseBillingAccount"
    }
  }
}
400
Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/enterprise/invoices

Create one explicit immutable Enterprise service-period invoice

Requires exact agreement ID/monthly price, explicit UTC-normalized whole-second service start/end/due dates, end>start and future due date for a new invoice; reason<=500. Uses one exact key<=255. Current active organization/agreement and canonical Stripe customer are checked. Current external coverage or an invoiced service period overlapping the external agreement blocks creation (409 agreement_billed_externally). A live standard subscription must finish its transition; canceled service requires a verified paid boundary and no overlap. Amount is the stored positive USD agreement price in minor units, not a fabricated usage/credit preview or automatic proration. The exact account/key/body/service period is reserved before provider work; changed reuse, overlapping period, unknown/pending prior provider outcome or changed binding409. Same issued receipt replays; uncertain outcomes are reconciled rather than blindly recharged. Creation/issued status and nullable hosted URL/provider payment state are not payment confirmation.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}
Idempotency-Key (header, required)
Required single nonblank/control-free key retained without trimming. Do not replace a key or service period to retry an unconfirmed charge.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 255
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/CreateEnterpriseInvoiceRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseInvoice"
    }
  }
}
400
Invalid contact/agreement/dates/reason/key; enterprise_billing_invalid or enterprise_invoice_amount_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing account/agreement/period/key/provider outcome requires reconciliation; exact source codes include tenant_unavailable, billing_account_exists/changed/reconciliation_required/not_uncertain, offering_changed/price_invalid, idempotency_conflict, invoice_reconciliation_required/period_conflict, enterprise_billing_account_required, enterprise_subscription_transition_required and enterprise_service_boundary_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Provider outcome is unconfirmed or requires reconciliation; enterprise_reconciliation_required. Do not infer failure/success or issue a replacement command.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Provider not available; billing_provider_unavailable. No provider execution or published release is claimed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/entitlements

Read effective account entitlements

Resolve the actual pinned offering, custom agreement, staff override and beta state for each catalog capability. Missing account404. Unknown or changed offering source503 retains its native custom title and framework ProblemDetails type; the management writer completes code service_unavailable, message, error, traceId and instance. Nullable override means no override, not false; planDefault/effective/contractAuthorized/betaGranted are distinct facts. No input or forced commercial entitlement is inferred.

Access: browserSession

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsAccountEntitlements"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Native account/catalog/source resource unavailable; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Offering configuration unavailable or changed; native custom title/framework type with completed service_unavailable code, message/error aliases, traceId and request instance.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

DELETE/api/admin/admin/tenants/{tenantId}/entitlements/{key}

Clear a per-account entitlement override

Existing catalog key and account required. Offering definition and source must remain coherent. PUT stores enabled (omission uses native bool defaultfalse); enabling additionally requires eligible core offering and any explicitly required bespoke Enterprise contract. DELETE removes only the override and recomputes the current effective result; it is not a disable-all or plan change. Both return the actual resolved entitlement after beta application and audit before/after under the path account. No revision/HTTP idempotency protocol is added; repeated state setting/clearing can still audit again. Staff override cannot manufacture plan, Enterprise or beta authority.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}
key (path, required)
An existing entitlement catalog key, never a caller-defined capability.
{
  "type": "string"
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantEntitlement"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Native account/catalog/source resource unavailable; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Offering configuration unavailable or changed; native custom title/framework type with completed service_unavailable code, message/error aliases, traceId and request instance.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/entitlements/{key}

Set a per-account entitlement override

Existing catalog key and account required. Offering definition and source must remain coherent. PUT stores enabled (omission uses native bool defaultfalse); enabling additionally requires eligible core offering and any explicitly required bespoke Enterprise contract. DELETE removes only the override and recomputes the current effective result; it is not a disable-all or plan change. Both return the actual resolved entitlement after beta application and audit before/after under the path account. No revision/HTTP idempotency protocol is added; repeated state setting/clearing can still audit again. Staff override cannot manufacture plan, Enterprise or beta authority.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

tenantId (path, required)
Exact existing account selected by the trusted Operations operator.
{
  "type": "string"
}
key (path, required)
An existing entitlement catalog key, never a caller-defined capability.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SetEntitlementRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantEntitlement"
    }
  }
}
400
Native input/binding validation rejected; source-specific management code or bodyless binder response remains authoritative.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Native account/catalog/source resource unavailable; body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Offering configuration unavailable or changed; native custom title/framework type with completed service_unavailable code, message/error aliases, traceId and request instance.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/groups

Read bounded legacy groups with their members

Organization-only target. Default limit100, maximum100. Embedded members are read separately up to100 per group. If either groups or members continue,409 operations_pagination_required directs the caller to the paged resources; the result is not silently truncated.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsTeams"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
operations_pagination_required: more than the selected bounded limit (default100, maximum100), or a nested collection exceeds its separately documented bound. Use the separately paged resources.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/groups

Create an organization group with a support reason

Requires an Organization target and trimmed8..500-character reason. Capabilities must be defined and explicit app IDs must belong to this Organization. AllApps=true deliberately discards the explicit app list. An optional existing single trimmed Idempotency-Key<=200 preserves the actual team-create command; no key is required on other group mutations. Keyed conflict is409 idempotency_key_conflict; uncertain result503 team_create_outcome_unavailable. No automatic retry or new privilege is added.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Existing team-create only: exactly one trimmed nonempty control-free key, at most200 normalized characters. Invalid400 idempotency_key_invalid; conflicting409 idempotency_key_conflict. Reuse the payload and key after uncertainty.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsTeamWriteRequest"
      }
    }
  }
}

Responses

201
Actual existing staff response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative resource identifier; does not create another read route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Team"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
team_create_outcome_unavailable: keyed team-create outcome cannot be confirmed. Retry the same request/key; no automatic second mutation is promised.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/groups/{teamId}

Update an organization group's access

Organization-only target; trimmed8..500-character reason, defined capabilities and current target-app membership checks. AllApps controls the app projection. No idempotency key or revision protocol is invented.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
teamId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsTeamWriteRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Team"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/groups/{teamId}/delete

Delete an organization group

Organization-only target with a trimmed8..500-character support reason; successful204 is bodyless. Uses the existing Identity workflow and audit.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
teamId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsSupportReasonRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/groups/{teamId}/members

Add an organization member to a group

Organization-only target with a trimmed8..500-character reason and nonblank target user. Returns the actual updated Team; membership eligibility remains the existing domain workflow.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
teamId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsTeamMemberRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Team"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/groups/{teamId}/members/{userId}/remove

Remove a member from an organization group

Organization-only target with trimmed8..500-character support reason. Successful204 is bodyless; the current group/member relationship is audited.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
teamId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}
userId (path, required)
Selected group member, not the operator's own account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpsSupportReasonRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/groups/{teamId}/members/page

Read independently protected group-member pages

Organization-only target. TeamMember carries nullable displayName/email and addedAt. totalCount reports the matching stored group-membership count after search and before continuation, preserving known zero independently of page length. Missing or mismatched group returns404; cursor is bound to this selected account/group and search. Concurrent changes may alter a later count.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
teamId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Optional literal bounded search; no outer whitespace/control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsTeamMemberPage"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/groups/page

Read group directory pages without embedded member lists

Organization-only target. Each TeamDirectoryEntry has memberCount and no members array. The envelope totalCount reports the matching stored group count after search and before continuation; memberCount is a separate per-group membership count. Known zero is retained. Use the independently paged group-member resource for identities; no cross-request snapshot is promised.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Optional literal bounded search; no outer whitespace/control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsTeamDirectoryPage"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/invitations

Read audited staff invitation management pages

Returns an array of OrganizationInvitationManagementRecord (summary plus recipientEmail), solely for the authorized staff management view. Includes unconsumed/unrevoked rows; expiry affects summary.canAccept rather than silently removing every expired row. Default limit100, maximum100; use the existing after cursor. More rows are exposed by X-AppPortal-Next-Cursor. This cursor is unsigned navigation bound to the selected account, not an authentication or claim credential. No email/token is exposed to the public preview.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
The existing nullable integer binder and domain range check apply.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}
after (query, optional)
Opaque base64url navigation cursor from the same account. Invalid cursor or range gives400 invitation_page_invalid.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 2048,
  "pattern": "^[A-Za-z0-9_-]+$"
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "X-AppPortal-Next-Cursor": {
    "schema": {
      "type": "string"
    },
    "description": "Present only when the actual next page exists; send unchanged as after."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsManagementInvitations"
    }
  }
}
400
invitation_page_invalid: actual invitation limit/after rejected; body/query binding failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/invitations/{invitationId}/reissue

Reissue a current invitation revision

Current stored invitation/admission/recipient eligibility and ExpectedRevision are checked before rotating the token/revision. Delivery availability and throttling remain actual domain decisions;200 returns only the summary, never the claim token. No provider-delivery proof is inferred.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
invitationId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OrganizationInvitationRevisionRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationInvitationSummary"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
429
organization_invitation_rate_limited: current invitation-producing operation throttle; actual Retry-After is clamped1..3600 seconds, not a universal invitation TTL.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/invitations/{invitationId}/revoke

Revoke a current invitation revision

Uses actual ExpectedRevision and current invitation-manager/admission authority; stale or consumed revision is native403, not409. Successful204 is bodyless. This command creates no membership and does not accept an idempotency key.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
invitationId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OrganizationInvitationRevisionRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/invitations/page

List organization invitations

Returns invitation summaries and recipient emails for the selected organization. Pass nextCursor as cursor for the next page.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsInvitationPage"
    }
  }
}
400
invitation_page_invalid: Invalid limit or cursor. Only limit and cursor are accepted.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
The invitation service is temporarily unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/object-storage-bindings

Configure a separately owned object-storage scope

Current organization/app/Enterprise BYO storage authority is rechecked before candidate preparation and conditional activation. Uses nonempty Guid requestId and protected expectedVersion from the selected scope; missing version428, malformed/mismatched version409. Body includes current provider-specific container/region/serviceUrl/credential/createContainer and nonblank/control-free reason<=512. Explicit createContainer:true creates a missing private Azure container or supported S3 bucket; false/omission confirms only. S3 requires definitive missing-bucket404 before creation;403/uncertain checks do not create. Existing bucket settings are untouched. AWS us-east-1 has a legacy ACL-reset limitation if external same-account creation races the missing check; coordinate setup to avoid concurrent creators. Optional creation requires the supplied credential to have the provider creation capability; no new grants or control-plane fallback. expectedVersion<=4096 and appId<=1024. Provider accepts only an exact case-insensitive defined name, not a numeric value. Credentials must fit the staged vault and actual provider preparation policy. Body requestId binds exact intent: same command reconciles its operation; changed reuse409. Previous active storage remains authoritative until exact candidate/container confirmation. Pending, Provisioning, Unknown or CleanupPending return202; terminal200 still requires inspection of state/containerState. This does not claim a real provider deployment.

Access: browserSession + csrfToken

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest"
      }
    }
  }
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ObjectStorageBindingOperation"
    }
  }
}
202
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ObjectStorageBindingOperation"
    }
  }
}
400
Invalid selection/body; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed current snapshot/operation/intent; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
428
expectedVersion is required; native object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/object-storage-bindings/operations/{operationId}

Read retained object-storage operation evidence

No query. Exact current account operation Guid required; malformed/missing/other-account404. State, containerState and nullable appliedGenerationId report the retained operation, not a newly successful provider call or current signed download entitlement. Fresh authority and read audit remain.

Access: browserSession

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
operationId (path, required)
Retained operation Guid in the same canonical account.
{
  "type": "string"
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ObjectStorageBindingOperation"
    }
  }
}
400
Invalid selection/body; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed current snapshot/operation/intent; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/object-storage-bindings/operations/{operationId}/cleanup

Reconcile only pending object-storage cleanup

No query/new credential; strict empty JSON body. Only current CleanupPending is eligible, else409. Rechecks current authority and reconciles the same candidate/secret under its existing operation; no automatic replacement. Pending, Provisioning, Unknown or CleanupPending report202; other recorded states200. Neither200nor an absent appliedGenerationId is fabricated activation evidence.

Access: browserSession + csrfToken

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
operationId (path, required)
Retained operation Guid in the same canonical account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RetryObjectStorageCleanupRequest"
      }
    }
  }
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ObjectStorageBindingOperation"
    }
  }
}
202
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ObjectStorageBindingOperation"
    }
  }
}
400
Invalid selection/body; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed current snapshot/operation/intent; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native HTTP JSON binder rejects unsupported media type before a binding change; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/object-storage-bindings/scope

Read the current object-storage versioned scope

Only optional appId once; absence selects organization default. Returns protected version, safe current binding metadata and latestOperation, each with their actual nullable/unknown state. Protected version binds exact account/app/current snapshot; it is not a provider token or downloadable credential. No binding remains null rather than an invented active default. Server rechecks authority and audits the read.

Access: browserSession

Independent current staff Ops browser session and PlatformOperator; server-owned canonical organization/app selection, Enterprise/offering and operation policy remain authoritative. Existing unsafe CSRF/origin applies; no customer/internal key alone grants staff authority.

Parameters

tenantId (path, required)
Exact account selector resolved to one current organization; no browser authority header.
{
  "type": "string"
}
appId (query, optional)
Optional current exact app selection; nonblank when present.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 1024
}

Responses

200
Actual safe binding projection/recorded operation. Inspect its state; HTTP200 alone does not prove activation or health.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ObjectStorageBindingScope"
    }
  }
}
400
Invalid selection/body; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/internal-service boundary required; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator, canonical account/app/offering/operational policy and unsafe-request CSRF/origin are enforced; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing/other-account resource; resource_not_found or native bodyless response. Object storage keeps its native object_storage_binding_unavailable code.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Changed current snapshot/operation/intent; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Object-storage dependency/authority evidence unavailable; object_storage_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

DELETE/api/admin/admin/tenants/{tenantId}/offering

Clear one current reviewed bespoke agreement

JSON body carries support reason trimmed8..500; no command key. Existing revoke-access admission fence/current staff/account checks remain. Missing account/agreement404; unavailable persistence502. Transactional Billing and Ops audits retain actual preimage/reason. Success204has no body; clearing stored terms does not prove cancellation/payment/refund of any separate provider contract.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ClearTenantOfferingRequest"
      }
    }
  }
}

Responses

204
Existing agreement removed under its admission/audit fence; bodyless.
400
Missing/invalid reason; operations_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing account/agreement; native404 remains distinct from unavailability.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Agreement source unavailable; native bodyless502.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/offering

Read the selected bespoke account agreement

Actual current agreement or nullable/empty successful body when no agreement exists. Absence is not a synthesized plan, unlimited allowance, zero liability or signed contract. Persisted offeringDefinition/allowancePeriod/telemetryAllowances keep their actual optional annotations; omitted transport signals remain unconfigured rather than unlimited. Database dependency failure is separately502.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/CustomOffering"
        },
        {
          "type": "null"
        }
      ]
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Agreement source unavailable; native bodyless502 rather than absent-agreement success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/tenants/{tenantId}/offering

Set the actual reviewed organization agreement

Existing staff mutation requires nonblank name and support reason trimmed8..500. Personal workspaces are rejected. If supplied, offeringDefinition must be a valid agreement requiring Enterprise terms, exactly match monthlyPrice/active-identity inclusion and retain its pinned source. New externally billed agreements can set allowancePeriod.calendarResetTimeZone to UTC or America/Denver for midnight resets on the monthly anchor day. Omission retains the service-start UTC time of day. The initial allowance starts at service activation. A new calendar reset requires the independent Enterprise reset switch. Allowance-period and explicit telemetry policy validation apply; both clearTelemetryAllowances and a supplied policy are invalid. Omitted/null telemetry policy preserves existing configuration; only explicit clear removes it. Optional flags/defaults retain actual JSON writer behavior. The transactional Billing audit and Ops before/after audit preserve actual actor/reason/preimage. This updates stored agreement authority; it is not a Stripe invoice, paid subscription transition, external signature or spending consent.

Access: browserSession + csrfToken

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/SetTenantOfferingRequest"
      }
    }
  }
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CustomOffering"
    }
  }
}
400
Invalid support reason/name/personal target, agreement definition/period/transport policy; operations_request_invalid, invalid_offering_definition, invalid_enterprise_allowance_period, invalid_telemetry_allowance_policy or invalid_enterprise_allowance_configuration.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
An allowance amendment requires its explicit workflow (enterprise_allowance_amendment_required). Applying complimentary terms requires a completed existing subscription transition (enterprise_subscription_transition_required) and an ended, confirmed paid service period when applicable (enterprise_service_boundary_required).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Normal HTTP JSON binder rejects unsupported media type before the handler; may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
502
Agreement persistence unavailable; native bodyless502, not confirmation of an update.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/quotes

Read bounded legacy account quote array

Closed optional tenantId/limit query. Legacy limit defaults100/range1..100, with no cursor accepted. Another row returns409 operations_pagination_required rather than silent truncation. Prospect route selects only unlinked quotes; route/query account mismatch400. Quote totals are stored server computations, not invoices, paid entitlement, account ownership or a complete population. Account-scoped reads are audited.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}
limit (query, optional)
One exact decimal value; unknown/repeated names rejected.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
tenantId (query, optional)
Optional exact account filter; must equal a route account if both supplied.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsQuoteArray"
    }
  }
}
400
Closed query invalid/mismatched; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Bounded legacy result overflow; operations_pagination_required. Use matching /page.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Quote collection temporarily unavailable; operations_page_unavailable, not successful empty/zero history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/quotes/page

Read protected account quote pages

Closed tenantId/limit/cursor query; default25/range1..100. Protected continuation binds current operator claims, route, collection, exact account filter and limit; created-desc/id-ascending order. Prospect route selects only unlinked quotes; route/query mismatch400. totalCount remains null, not a factual zero or a known whole population. Preserve unchanged continuation and selection.

Access: browserSession

Current independently authenticated Ops staff PlatformOperator, server-owned actor and exact account scope. Existing browser unsafe CSRF/origin and owning audit/operation leases remain; customer roles or caller headers do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; not a credential or role grant.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace or repeated names.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected continuation; unchanged selection/current authority required, no outer whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
tenantId (query, optional)
Exact account filter; must match route selection when present.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual authorized commercial projection/receipt; state remains authoritative, not HTTP success alone.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsQuotePage"
    }
  }
}
400
Query/cursor invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator and existing unsafe CSRF/origin rules required. Account/app/operation/revocation checks stay server-owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Quote history unavailable; operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/regulated-workload

Read current regulated-workload policy evidence

Optional single appId<=200, trimmed/control-free; unknown/repeated selectors400. Current staff authorization/account-operation policy and source binding snapshot are checked; read audited. Revision0/NotApproved and nullable currentBindingAcknowledgement are actual stored/current evidence. An acknowledgment does not grant approval. Approved policy is durable evidence, not certification of usable provider credentials or cloud ownership.

Access: browserSession

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}
appId (query, optional)
Optional exact application selector; absence selects the organization-wide policy.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/RegulatedWorkloadStatus"
    }
  }
}
400
Invalid selector/strict body/key; regulated_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Existing account-operation boundary can reject a missing account; the native missing-account error remains distinct from current policy evidence. Its exact code is retained in the response schema metadata.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem",
      "x-appportal-native-error-codes": [
        "tenant-not-found"
      ]
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      },
      "x-appportal-native-error-codes": [
        "tenant-not-found"
      ]
    }
  }
}
409
Current command/revision/acknowledgment/binding conflict: regulated_command_conflict, regulated_revision_conflict, regulated_acknowledgement_required or regulated_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Existing account-operation policy locks ordinary reads/approval on held/inactive scope; revoke retains its safety policy.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Policy/source/recorded receipt unavailable; regulated_workload_unavailable. Unknown is not current approval.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/regulated-workload/approve

Record exact reviewed regulated approval

ExpectedRevision>=0, trimmed/control-free agreementReference<=256 and acknowledgementId<=40. Exact current customer acknowledgment must match current binding revision/fingerprint, notice versions, ownership/responsibility/US-processing acknowledgments and selected object generation where present. Updates durable approval policy/audit; it does not contact a provider or verify cloud ownership. Single exact trimmed/control-free command key1..200 binds account/app/actor/action/intent. Current authority is rechecked on replay; changed key reuse409. Returns receiptId/replayed/recordedOutcome. A replayed old approved outcome is not fresh current approval; use GET for current state. No query accepted. Owning JSON reader permits recognized JSON media types, at most8192UTF-8 body bytes, depth8, exact case-sensitive property names and required constructor fields (nullable appId still must be present). Unknown members and recursive duplicate names even with different casing reject400; numeric-string Web behavior remains native.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}
Idempotency-Key (header, required)
One exact nonblank key retained without trimming and required already trimmed; no controls/repeated values.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ApproveRegulatedWorkloadRequest"
      }
    },
    "application/*+json": {
      "schema": {
        "$ref": "#/components/schemas/ApproveRegulatedWorkloadRequest"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsRegulatedCommandReceipt"
    }
  }
}
400
Invalid selector/strict body/key; regulated_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Existing account-operation boundary can reject a missing account; the native missing-account error remains distinct from current policy evidence. Its exact code is retained in the response schema metadata.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem",
      "x-appportal-native-error-codes": [
        "tenant-not-found"
      ]
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      },
      "x-appportal-native-error-codes": [
        "tenant-not-found"
      ]
    }
  }
}
409
Current command/revision/acknowledgment/binding conflict: regulated_command_conflict, regulated_revision_conflict, regulated_acknowledgement_required or regulated_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
Body exceeds the owning byte limit; payload_too_large.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Not a JSON media type recognized by the existing reader; unsupported_media_type.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Existing account-operation policy locks ordinary reads/approval on held/inactive scope; revoke retains its safety policy.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Policy/source/recorded receipt unavailable; regulated_workload_unavailable. Unknown is not current approval.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/regulated-workload/revoke

Revoke the current regulated approval

ExpectedRevision>0 and nonblank/trimmed/control-free reason<=1000. Current revision required; revocation retains storageRequired:true, original agreement/approval evidence and increments policy revision. Existing revoke-access policy allows safety revocation where ordinary inactive-account reads/approval are locked. Single exact trimmed/control-free command key1..200 binds account/app/actor/action/intent. Current authority is rechecked on replay; changed key reuse409. Returns receiptId/replayed/recordedOutcome. A replayed old approved outcome is not fresh current approval; use GET for current state. No query accepted. Owning JSON reader permits recognized JSON media types, at most8192UTF-8 body bytes, depth8, exact case-sensitive property names and required constructor fields (nullable appId still must be present). Unknown members and recursive duplicate names even with different casing reject400; numeric-string Web behavior remains native.

Access: browserSession + csrfToken

Current independent Ops staff PlatformOperator with owning per-operation authorization/audit and current exact account/app scope. Browser cookie/unsafe CSRF/origin remain; internal/customer credentials alone do not grant staff authority.

Parameters

tenantId (path, required)
Exact server-authorized selected tenantId; no membership or authority grant.
{
  "type": "string"
}
Idempotency-Key (header, required)
One exact nonblank key retained without trimming and required already trimmed; no controls/repeated values.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RevokeRegulatedWorkloadRequest"
      }
    },
    "application/*+json": {
      "schema": {
        "$ref": "#/components/schemas/RevokeRegulatedWorkloadRequest"
      }
    }
  }
}

Responses

200
Actual authorized owning-source projection/recorded outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Existing private/no-store owning response."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsRegulatedCommandReceipt"
    }
  }
}
400
Invalid selector/strict body/key; regulated_request_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent staff session/service boundary required; native body may be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independently authenticated PlatformOperator and existing unsafe browser CSRF/origin apply; selector/header cannot grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Existing account-operation boundary can reject a missing account; the native missing-account error remains distinct from current policy evidence. Its exact code is retained in the response schema metadata.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem",
      "x-appportal-native-error-codes": [
        "tenant-not-found"
      ]
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      },
      "x-appportal-native-error-codes": [
        "tenant-not-found"
      ]
    }
  }
}
409
Current command/revision/acknowledgment/binding conflict: regulated_command_conflict, regulated_revision_conflict, regulated_acknowledgement_required or regulated_binding_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
413
Body exceeds the owning byte limit; payload_too_large.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Not a JSON media type recognized by the existing reader; unsupported_media_type.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
423
Existing account-operation policy locks ordinary reads/approval on held/inactive scope; revoke retains its safety policy.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Policy/source/recorded receipt unavailable; regulated_workload_unavailable. Unknown is not current approval.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/telemetry-quarantine/page

Read payload-free recovery queue metadata for the selected account

Selected tenantId must be nonblank and at most 128 characters. includeResolved defaults false and uses native bool.TryParse (case-insensitive true/false); false selects only Pending disposition. Priority orders Pending first, then updatedAt descending and archiveId PostgreSQL C ascending; the continuation retains this actual priority/time/ID. Items contain only archive/scope/kind/reason/disposition/payloadState/timestamps, routePinned boolean and nullable recovery operation status/attempt/outcome metadata. No payload bytes, secret reference, pinned provider source ID or raw failure details are returned. routePinned indicates retained routing evidence, not provider availability or permission to redrive. This GET does not request redrive/terminal resolution, purge records or assert success. Current unknown totalCount remains null. Closed limit/cursor query with only the listed selectors. Default limit 25, max 100; exact decimal 1..100, at most 3 characters, leading zeros accepted, signs/whitespace/repeated/unknown selectors rejected. Protected continuation binds current operator subject/trusted claim fingerprint, collection, route values, filters, limit, ordering and expiry. Live pages are not an atomic snapshot; totalCount is null/unknown, never a fabricated zero. Dependency failure 503 is not an empty success.

Access: browserSession

Independently authenticated Ops principal/current PlatformOperator plus existing protected server-to-server internal boundary. Customer roles, selector headers or an internal key alone do not grant staff authority; browser session remains independent.

Parameters

tenantId (path, required)
Exact selected tenantId; this is a resource selector, not an authority grant.
{
  "type": "string"
}
limit (query, optional)
One to three exact decimal digits, including leading zeros; no signs, surrounding whitespace, duplicate names or clamp.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque exact unchanged protected continuation; no surrounding whitespace or controls.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
includeResolved (query, optional)
One nonblank/trimmed/control-free true or false literal; native case-insensitive bool parser. Unknown or repeated selectors 400.
{
  "type": "boolean",
  "default": false
}

Responses

200
Actual authorized stored projection; no live-provider or empty-population inference.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsEvidenceQuarantinePage"
    }
  }
}
400
Closed query/protected continuation/selector invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Independent authenticated Ops/server boundary required; native body can be absent.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current PlatformOperator required; access_denied or the native role filter response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Source/read/continuation temporarily unavailable; operations_page_unavailable. No successful empty array/page is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/users

Read the bounded legacy member list

The existing compatibility route returns an array only when the complete result fits. Default limit100; one lowercase limit1..100, optional search<=200, exact named MembershipStatus and excludeTeamId. Cursor is rejected on this legacy path. More results return409 operations_pagination_required rather than truncating or an empty success. Existing Personal membership repair views remain possible; group/access workflows below have a separate Organization-only target guard.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}
search (query, optional)
Optional literal bounded search; no outer whitespace/control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
status (query, optional)
Exact case-sensitive defined MembershipStatus name; no numeric/combined aliases.
{
  "type": "string",
  "enum": [
    "Active",
    "Invited"
  ]
}
excludeTeamId (query, optional)
Optional selected group exclusion under the same current account.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsMemberships"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
operations_pagination_required: more than the selected bounded limit (default100, maximum100), or a nested collection exceeds its separately documented bound. Use the separately paged resources.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/users

Add or invite an existing account to an organization

A real Organization, existing active account and trimmed8..500-character reason are required. Unsupported roles and PlatformOperator are rejected. Under restricted admission,200 returns only OrganizationInvitationSummary and does not create membership; it is not mailbox proof or a claim credential. Unrestricted compatibility creates active membership and selected organization roles, returning201 MembershipRecord. Existing membership conflicts. No operator membership, new global user or plan grant is created.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/AddTenantMemberRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationInvitationSummary"
    }
  }
}
201
Actual existing staff response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative resource identifier; does not create another read route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MembershipRecord"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
429
organization_invitation_rate_limited: current invitation-producing operation throttle; actual Retry-After is clamped1..3600 seconds, not a universal invitation TTL.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    }
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/{tenantId}/users/{userId}/remove

Remove a selected membership

Requires trimmed8..500-character support reason. Cannot remove the explicit canonical owner of a Personal workspace or the last active administrator of an Organization. Invalid extra Personal memberships may be repaired. Successful204 is bodyless; a missing membership is native bodyless404.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
userId (path, required)
Existing selected resource identifier.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RemoveTenantMemberRequest"
      }
    }
  }
}

Responses

204
Successful operation; no response body.
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Existing organization lifecycle, membership, policy or revision conflict; operations_conflict where emitted by the handler. Admission and optional command failures retain their own native codes.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/{tenantId}/users/page

Read protected organization member pages

Same MembershipRecord projection as the bounded legacy list. search/status/excludeTeamId are actual selectors; selected account existence is checked. totalCount reports the matching stored membership count after these filters and before continuation. Known zero is retained; the count is not inferred from this page length or guaranteed stable across concurrent writes.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Parameters

tenantId (path, required)
Explicit staff support target; does not make the operator a member of the selected account.
{
  "type": "string"
}
limit (query, optional)
One literal decimal value,1–3 characters; no whitespace/signs or repeated/unknown query names.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation bound to current operator authority, collection, target account/group, limit and selectors. No trim/control characters. A selection change requires the first page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Optional literal bounded search; no outer whitespace/control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
status (query, optional)
Exact case-sensitive defined MembershipStatus name; no numeric/combined aliases.
{
  "type": "string",
  "enum": [
    "Active",
    "Invited"
  ]
}
excludeTeamId (query, optional)
Optional selected group exclusion under the same current account.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 256
}

Responses

200
Actual existing staff response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsMembershipPage"
    }
  }
}
400
operations_page_invalid: closed query, limit, selector or protected continuation is invalid. No truncated success is returned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Selected account/resource unavailable; legacy handler/filter failures may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: current collection could not be read; not an empty directory or zero total.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/tenants/page

Read protected staff account cursor pages

Each item is the actual TenantRecord. The envelope has items, nullable nextCursor and organizationAdmissionWorkflowEnabled; it does not add total or totalCount. The query is closed: one value per exact lowercase declared key, without offset page/pageSize. Ordering is identifier ascending under the database C collation. Continuations bind current operator claims, collection, route, selectors and limit; nextCursor=null is terminal. Current authority is checked for every request; a token cannot retarget another operator, collection or selection. No snapshot, immutable population or security grant is invented.

Access: browserSession

Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.

Parameters

limit (query, optional)
One to three decimal digits without whitespace/sign; values 1–100. Leading zeros are accepted by the actual integer parser.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Optional exact opaque continuation, at most 8192 UTF-16 code units; nonempty, trimmed and control-free.
{
  "type": "string",
  "maxLength": 8192,
  "x-appportal-max-utf16-code-units": 8192
}
search (query, optional)
Optional nonempty trimmed control-free literal search, at most 200 UTF-16 code units. SQL wildcard characters are escaped.
{
  "type": "string",
  "maxLength": 200,
  "x-appportal-max-utf16-code-units": 200
}
kind (query, optional)
Optional exact canonical TenantKind name; case changes and numeric aliases are rejected.
{
  "type": "string",
  "enum": [
    "Organization",
    "Personal"
  ]
}
enterpriseRequest (query, optional)
Limit results to organizations requested by an Enterprise customer and awaiting admission.
{
  "type": "string",
  "enum": [
    "pending"
  ]
}

Responses

200
Actual authorized read response.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OperationsTenantDirectoryPage"
    }
  }
}
400
Invalid/repeated/unknown input or mismatched continuation. Native code: operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current authenticated platform operator required; middleware may also return a bodyless denial. Native code: access_denied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Selected directory temporarily unavailable; no successful empty page is fabricated. Native code: operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/tenants/provision

Provision an ownerless pending organization record

Requires the independently enabled organization-admission workflow, current operator authorization and actual name/canonical-slug/reason validation. Creates a Pending decision and directory target with the actual transaction-owned initial Free-account offering pin; creates no organization membership or owner. The pin is not an admitted-organization decision or a provider charge. Native OrganizationAdmissionException validation is403, not an invented400 success policy; malformed JSON still follows the binder. An optional Enterprise customer ID records the relationship in the same transaction.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator. Internal service key is a server boundary, never a browser credential. The path selects a support target; no customer role or operator membership is created.

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ProvisionPendingOrganizationRequest"
      }
    }
  }
}

Responses

200
Actual existing staff response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAdmissionProvisionResult"
    }
  }
}
400
Malformed input or unsupported selected data: operations_request_invalid, or native body/query binding. A failure may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return a bodyless failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independently authenticated current PlatformOperator denied, Organization-only support-target guard or domain eligibility denied; BFF CSRF/origin failures retain their native JSON.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
enterprise_customer_missing: the supplied Enterprise customer ID was not found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
The customer’s Enterprise offer is pending or its organization limit has been reached.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type is rejected by the existing binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency or domain failure is a bounded internal_error, not fabricated empty state or confirmed success.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Retryable OrganizationAdmissionException means current admission/invitation work is unavailable; this is not approval, delivery or membership proof.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/users

Read the legacy bounded staff user directory

Minimal global user projection: userId, email, displayName, createdAt and active only. Password hashes, local-password state and linked identities are not returned. page defaults to 1 and is normalized to at least 1; pageSize defaults to 25 and is clamped to 1–50. Legacy numbered pages are sliced from a complete100-record capture in original displayName/email order; total is exact only for that capture. More than100 matching users returns409 operations_pagination_required directing /users/page; never a partial known total.

Access: browserSession

Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.

Parameters

search (query, optional)
Optional legacy search.
{
  "type": "string"
}
page (query, optional)
One-based page, normalized to at least one on the successful store path.
{
  "type": "integer",
  "default": 1,
  "x-appportal-normalized-minimum": 1
}
pageSize (query, optional)
Legacy successful store path clamps the page size; it does not reject out-of-range integers.
{
  "type": "integer",
  "default": 25,
  "x-appportal-clamped-minimum": 1,
  "x-appportal-clamped-maximum": 50
}

Responses

200
Actual authorized read response.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AdminUserPage"
    }
  }
}
400
Invalid HTTP-bound input; the framework may return a problem or no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Independent current PlatformOperator authority is required; a customer role is insufficient.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Complete legacy collection exceeds100 records; use the same /page cursor resource. Native code: operations_pagination_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Directory source unavailable; no successful empty capture is fabricated. Native code: operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

PUT/api/admin/admin/users/{userId}/portal-access

Approve individual Portal access

Active account, approved:true and expectedRevision required. One-way transactional approval with per-user revision and audit; negative writes400. Retrying a completed approval is idempotent. Approval permits Portal entry and creating an owned workspace through the existing claim workflow. Existing-organization membership and roles, destination admission, billing, account bans and explicit denials retain separate checks. Historical blocked decisions require intentional restoration; inactive accounts409.

Access: browserSession + csrfToken

Dedicated authenticated Operations principal, current PlatformOperator role and trusted internal-service boundary; mutations retain existing Ops CSRF/origin checks. The path account is the explicit support target, never the operator's membership.

Parameters

userId (path, required)
Exact global account selected by the independent PlatformOperator.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PortalAccessChangeRequest"
      }
    }
  }
}

Responses

200
Actual native result, without invented approval or provider observation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PortalAccessDecision"
    }
  }
}
400
The endpoint returns portal_access_approval_only or portal_access_revision_invalid. Request-binding validation may return a bodyless response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated Ops session required; middleware response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Dedicated current PlatformOperator/explicit operator authority or matching CSRF/origin required. This is not an organization-admin route.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Account not found (portal_access_account_missing).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Account is inactive (portal_access_account_inactive) or the access decision changed (portal_access_changed).

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Native typed JSON binder rejects unsupported media; AI classification uses its explicit400 check instead.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled dependency or commit failure. Inspect current source outcome before issuing a replacement mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/users/page

Read protected staff user cursor pages

Each item is the same minimal five-field AdminUserSummary. Current totalCount is null, not a fabricated population. The response uses actual PagedResult semantics. The query is closed: one value per exact lowercase declared key, without offset page/pageSize. Ordering is identifier ascending under the database C collation. Continuations bind current operator claims, collection, route, selectors and limit; nextCursor=null is terminal. Current authority is checked for every request; a token cannot retarget another operator, collection or selection. No snapshot, immutable population or security grant is invented.

Access: browserSession

Authenticated independently governed staff Ops session and current PlatformOperator authority. A customer token or an internal-service key alone cannot substitute; no account-scope header grants staff access.

Parameters

limit (query, optional)
One to three decimal digits without whitespace/sign; values 1–100. Leading zeros are accepted by the actual integer parser.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Optional exact opaque continuation, at most 8192 UTF-16 code units; nonempty, trimmed and control-free.
{
  "type": "string",
  "maxLength": 8192,
  "x-appportal-max-utf16-code-units": 8192
}
search (query, optional)
Optional nonempty trimmed control-free literal search, at most 200 UTF-16 code units. SQL wildcard characters are escaped.
{
  "type": "string",
  "maxLength": 200,
  "x-appportal-max-utf16-code-units": 200
}

Responses

200
Actual authorized read response.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsUserCursorPage"
    }
  }
}
400
Invalid/repeated/unknown input or mismatched continuation. Native code: operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
An authenticated Ops session is required; middleware may return no body.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current authenticated platform operator required; middleware may also return a bodyless denial. Native code: access_denied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Selected directory temporarily unavailable; no successful empty page is fabricated. Native code: operations_page_unavailable.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases

Read the bounded verification case directory

Legacy compatibility directory: only absent/page1 is supported; a later page409operations_pagination_required. A supplied pageSize must1..100, but the completeness read uses100. A recognized defined state is parsed case-insensitively; malformed state400 rather than silently removing its restriction. If the selected directory fits within100, returns the original OrganizationVerificationCasePage with page1/pageSize100 and its known complete item count. Overflow409 directs the caller to /page; no silent truncation or invented population.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

state (query, optional)
Optional existing defined enum, case-insensitive; malformed/undefined400.
{
  "type": "string"
}
page (query, optional)
Compatibility selector: only omission/1; any later page409. Use /page for traversal.
{
  "type": "integer",
  "format": "int32",
  "default": 1
}
pageSize (query, optional)
When supplied must1..100; successful completeness response uses100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCasePage"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy selected collection exceeds100 or requests a later numeric/offset page; operations_pagination_required. Use the same resource at /page.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases

Start or recover a verification case from an identity ticket

Requires an eligible organization-identity ticket with subject slug; any selected account must own that slug. Success may return201 for the new case or200 for an existing/replayed case. The returned requiredConfirmation/version are authoritative inputs for later actions; no operator identity or ownership is accepted from the body. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/StartOrganizationVerificationCaseRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
201
New case/proposal; same actual DTO as200. The owning Created result has no declared Location header.

Response headers

{
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}

Read the current verification case workspace

Returns the actual case, parties/tickets/evidence/findings/decisions/holds/appeals and current approval projection. Nullable account/current metadata and separate approvalsNextBefore remain native. Reading observes and persists approval expiry/invalidation before materializing the response; it is not a decision or new authority grant. Legacy complete representation remains available only when each retained history has at most100 records; otherwise409 operations_pagination_required. Use /workspace plus the independent collection pages; no partial legacy array is presented as complete.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
operations_pagination_required: a complete legacy collection would exceed100; read the finite workspace and bounded histories.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/appeals

Open an eligible appeal for a decided case

Requires an eligible personal organization-identity ticket matching the case subject and an existing decided lifecycle. Current version and bounded reason apply; a new appeal does not itself activate account access. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/OpenOrganizationVerificationAppealRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/appeals/{recordId}/directory-detail

Read one selected verification appeals reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationAppeal"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/appeals/page

Read a bounded verification appeals history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly=true selects nonremoved parties or Submitted/UnderReview appeals; false retains history.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}
activeOnly (query, optional)
Optional exact lowercase true or false; no numeric/empty Boolean coercion.
{
  "type": "string",
  "enum": [
    "true",
    "false"
  ]
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationAppealsPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/brand-matches

Read retained protected-brand evidence for a verification case

Audited private evidence only for the current Operations case. Closed limit/cursor query: default/max25, range1..25; cursor<=4096 binds actor/case/limit and is data-protected. Sources are retained Claim/Rescan evidence merged in bounded SQL pages; no matcher rerun is implied. Hash/matcher/normalization disagreement503 is unknown, never empty evidence. No total-count field is returned.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 40
}
limit (query, optional)
One decimal value; unknown or repeated query names rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 25,
  "default": 25
}
cursor (query, optional)
Opaque unchanged continuation; no outer whitespace or control characters. Invalid/mismatched400 protected_brand_case_evidence_cursor_invalid.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 4096
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ProtectedBrandCaseEvidencePage"
    }
  }
}
400
protected_brand_request_invalid or the owning rescan/evidence cursor code: strict body/query validation rejected; no approval is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
operations_operator_required: independently authenticated current Operations actor required; publication/queue additionally require fresh authentication.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
Missing retained revision/job/case; protected_brand_revision_not_found, protected_brand_rescan_not_found or organization_verification_case_not_found where owned.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Actual retained registry/matcher/case-evidence source is unavailable or inconsistent. This is not an empty successful result or a provider deployment claim.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/decision-approvals

Read current retained decision approval history

Legacy complete-within100 approval-history wrapper retains items/nextBefore. Any supplied before409operations_pagination_required; other query names400. The bounded101-row proof returns the original OrganizationVerificationApprovalPage only when complete, with nextBefore:null; overflow409. Existing case lock, lazy expiry/invalidation and read audit remain. History is read-only evidence; use current activeApproval from the workspace for action controls and /page for traversal.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
before (query, optional)
Legacy selector: any supplied before is rejected409; use the protected /page route.
{
  "type": "string",
  "pattern": "^[0-9]+$"
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationApprovalPage"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
Legacy numeric/raw continuation or incomplete bounded source; operations_pagination_required. Use the same resource's /page contract.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/decision-approvals

Propose the exact decision for independent approval

Requires current case version, supported exact decision payload and fresh configured operator authentication. approvalId must be absent/null when proposing. New proposal201; unchanged replay/current proposal200. Expiry uses configured ApprovalLifetimeMinutes (compiled default15, clamped1..60), not an invented token TTL. This records a proposal, never executes the decision or activates access. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions. New RequireRename requests require the current rename-preview fingerprint bound to the exact replacement slug; stale account/app/case state409. Executed audit records actual old/new name and slug. Legacy slug-as-ID remains reserved and personal workspaces cannot use this remedy.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/DecideOrganizationVerificationCaseRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
201
New case/proposal; same actual DTO as200. The owning Created result has no declared Location header.

Response headers

{
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/decision-approvals/{approvalId}/review

Independently review the current proposal revision

Requires a different current operator from the proposer, fresh configured authentication, exact approval version and bounded review reason. Self-review403; changed/expired proposal or key-payload mismatch409. Approve=false and nullable review/consumption fields retain their native meanings. Review does not itself execute a verification decision. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
approvalId (path, required)
Selected current approval identifier; no actor identity is supplied by this path.
{
  "type": "string"
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ReviewOrganizationVerificationApprovalRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/decision-approvals/page

Read protected retained decision-approval history

Sequence-descending keyset in the exact current case. The existing transaction locks the case, refreshes lazy expiry/current-case invalidation, writes that existing audit and commits before returning the page. This GET can therefore persist approval expiry/invalidation; it does not execute a decision. History is retained evidence, not authority to review or consume an old proposal. Current workspace activeApproval remains authoritative for action controls; history pages do not manufacture it. Closed limit/cursor query (plus the documented status selector only for domain reviews): default25/range1..100, unchanged opaque cursor<=8192. Protection binds immutable operator, current claims, collection, route scope, filters and limit. items/nextCursor/totalCount retain actual PagedResult; totalCount:null is unknown, never zero.

Access: browserSession

Current independently authenticated Operations staff and PlatformOperator, original internal-service boundary and owning current operator checks; a customer/internal credential alone grants no staff authority.

Parameters

caseId (path, required)
Exact currently authorized verification case; missing/other-scope case404.
{
  "type": "string"
}
limit (query, optional)
Single native bounded decimal value; invalid input is not silently clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/route/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual bounded source evidence, not an approval, new grant or provider outcome.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsDecisionApprovalCursorPage"
    }
  }
}
400
Protected selection invalid operations_page_invalid or native approval validation organization_verification_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations session/service boundary required; authentication_required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent operator unavailable; access_denied or organization_verification_forbidden.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
No accessible current case; resource_not_found.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unhandled owning dependency failure remains bounded internal_error; no empty success or completion is inferred.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Explicit unavailable dependency remains dependency_unavailable under the existing shared handler; no successful empty substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/decisions

Execute a current eligible verification decision

Uses the actual current version, requiredConfirmation and supported decision fields. This existing operation can change verification/holds, access recovery, slug or user state according to its decision; it is not a dry run. Fresh authentication uses the configured RecentAuthenticationMinutes (compiled default15, clamped1..60); the current response's dualControlRequired and exact approved proposal determine whether independent approval is required. Eligible actor/source authority is rechecked before protected mutation. VerifyAndActivatePendingTenant requires a current same-case supporting staff finding and no unresolved contrary finding; linked evidence must be Submitted or Verified, so requested, expired, rejected, withdrawn or unknown states cannot qualify. Missing or conflicting evidence returns409 before activation. The decision audit identifies the reviewed finding without copying private evidence content. No new grant, universal approval or provider proof is introduced by this reference. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions. New RequireRename requests require the current rename-preview fingerprint bound to the exact replacement slug; stale account/app/case state409. Executed audit records actual old/new name and slug. Legacy slug-as-ID remains reserved and personal workspaces cannot use this remedy.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/DecideOrganizationVerificationCaseRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/decisions/{recordId}/directory-detail

Read one selected verification decisions reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationDecision"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/decisions/page

Read a bounded verification decisions history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationDecisionsPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/evidence-requests

Request bounded evidence from an active case party

Requires current version, active party, bounded staff-only description and future due date when supplied. Optional partyMessage is deliberately composed private ticket text, never the internal description. It requires an eligible current linked communication ticket or 409, and commits with case/request, outbox intent and audit. Null/absent retains legacy internal tracking and generic notices. Email never contains either text; no external delivery is claimed. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RequestOrganizationVerificationEvidenceRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/evidence-requests/{recordId}/directory-detail

Read one selected verification evidence-requests reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationEvidenceRequest"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/evidence-requests/page

Read a bounded verification evidence-requests history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationEvidenceRequestsPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/findings

Record a supported verification finding

Uses current case version and actual finding/outcome/source validation. Optional evidenceRequestId/supersedesFindingId must belong to this case. Optional supportMessageId requires a linked request and a current customer reply from that active party's accessible linked communication ticket. Staff review records existing submission/review timestamps and Submitted/Verified/Rejected state; terminal invalid requests 409, wrong or inaccessible references 400. Only opaque identities enter audit. Unlinked documentary review remains available. A finding is not a decision or ownership grant. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/RecordOrganizationVerificationFindingRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/findings/{recordId}/directory-detail

Read one selected verification findings reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationFinding"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/findings/page

Read a bounded verification findings history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationFindingsPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/hold-history/{recordId}/directory-detail

Read one selected verification hold-history reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationHoldEvent"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/hold-history/page

Read a bounded verification hold-history history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationHoldHistoryPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/parties/{recordId}/directory-detail

Read one selected verification parties reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationParty"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/parties/page

Read a bounded verification parties history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly=true selects nonremoved parties or Submitted/UnderReview appeals; false retains history.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}
activeOnly (query, optional)
Optional exact lowercase true or false; no numeric/empty Boolean coercion.
{
  "type": "string",
  "enum": [
    "true",
    "false"
  ]
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationPartiesPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/rename-preview

Preview the existing organization rename remedy

Read-only impact preview, with an audited sensitive read and recent Operations authentication. No query parameters or Idempotency-Key. Uses the current case/version and exact requested replacement slug and optional bounded replacement name (absence preserves the name). Returns at most100 actual active app bookmark paths plus the organization path, and an explicit completeness flag. Paths are authenticated Dashboard bookmarks, never inferred public hosts. Public Pages AppSlug and SmartLink bindings are unchanged; external URL/domain/signing inventory remains Unknown. The fingerprint binds current case, immutable account identity, current state, exact requested name/slug and normalized target and the complete active app identifier inventory. Forward it as renamePreviewFingerprint in the exact existing proposal/decision; it grants no authority. Changed/missing preview409 before a new proposal or execution; completed idempotent receipts still replay. No data transfer, redirects, memberships, DNS or host writes occur.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Current configured recent authentication and exact approval/source authority are required.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/PreviewOrganizationRenameRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationRenamePreview"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/admin/verification/cases/{caseId}/tickets

Link an eligible communication ticket to a case

Current case version, selected party/ticket relationship and support-ticket subject rules are checked. Customer communication must match the case subject; the actual current case detail is returned. Optional exactly representation=workspace returns the finite current workspace, preserving existing payload, stable command key, current authority, CAS, audit and independent approval. Legacy new operations preflight all histories at99 before mutation; an oversized projection409 is pre-mutation. A concurrent append after preflight never becomes a misleading postcommit409: a successful compact fallback explicitly returns collectionsIncluded:false and Preference-Applied:representation=workspace. Current summaries, not history page position, govern actions.

Access: browserSession + csrfToken

Independently authenticated Operations principal and current PlatformOperator; internal key is a server boundary, not a browser credential. Read/record eligibility remains the actual owning service's policy.

Parameters

caseId (path, required)
Existing selected resource; exact owning validation and sanitized missing-resource semantics apply.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one nonblank/control-free existing key,8..200 characters, preserved without trimming. Current actor/operation/payload binding and retained result rules apply. Invalid400; changed reuse409. No replay header, automatic retry or MCP confirmation header is invented.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact workspace only; duplicate, unknown or different selector400 before mutation. Omission preserves the complete legacy representation when safely representable.
{
  "type": "string",
  "enum": [
    "workspace"
  ]
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/LinkOrganizationVerificationTicketRequest"
      }
    }
  }
}

Responses

200
Actual existing response body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  },
  "Preference-Applied": {
    "description": "Present whenever the actual returned case has collectionsIncluded:false, including explicit selection and a safe successful race fallback.",
    "schema": {
      "type": "string",
      "enum": [
        "representation=workspace"
      ]
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationCaseDetail"
    }
  }
}
400
organization_verification_invalid: native bounded request/confirmation/key validation, or bodyless framework binding failure. operations_page_invalid also rejects unknown/repeated/unsupported representation selectors before mutation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Authenticated staff Ops session required; middleware may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
organization_verification_forbidden: current operator/source/freshness/independent-review authority denied. Customer role claims cannot substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: sanitized missing case/ticket/party/approval; private identifiers are not reflected.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: lifecycle, exact key/payload, version or current approval changed. Refresh current evidence before changing the command. operations_pagination_required also requires an explicit workspace for an oversized pre-mutation legacy projection; no committed write is reported as a projection failure.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
415
Unsupported JSON media type rejected by the normal binder before handler dispatch; response may be bodyless.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
500
Unclassified dependency failure retains the bounded internal_error response, not an empty registry, completed scan or permission grant.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/tickets/{recordId}/directory-detail

Read one selected verification tickets reference

Exact current case/family/record lookup, independent of loaded pages. Only optional caseVersion is accepted; no search, activeOnly, limit or cursor. Missing or foreign record404, changed caseVersion409. Existing family fields retain their actual source meanings and bounded content; this is not a new proof or decision. Sensitive content-free read audit is committed with the read.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
recordId (path, required)
Exact selected original family identifier. A different case's record is404; absence from a page is not evidence of absence.
{
  "type": "string"
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationVerificationTicketLink"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/tickets/page

Read a bounded verification tickets history

Current operator/case and optional caseVersion are rechecked before the read. SQL restricts the exact case before limit+1 and orders original timestamp ascending then unique identifier with PostgreSQL C collation ascending. A cursor binds current actor/claims, route/case/family, limit, literal search, activeOnly and caseVersion. There is no cross-request snapshot or inferred total. Sensitive content-free read audit records collection and returned count in the same repeatable-read transaction. activeOnly is not accepted, including explicit false.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}
limit (query, optional)
Exactly one decimal value; omitted defaults to25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation. Exact actor/case/selection binding; changed/tampered/expired continuation400 before collection dispatch.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Literal bounded search; no outer whitespace or control characters. Wildcard characters are escaped, not interpreted as patterns.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
caseVersion (query, optional)
Optional nonnegative Int64 decimal current case version, at most 9223372036854775807. The exact ceiling is text because JavaScript JSON consumers cannot preserve that integer as a numeric schema bound. Changed version409, not an empty page.
{
  "type": "integer",
  "format": "int64",
  "minimum": 0
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationTicketsPage"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/{caseId}/workspace

Read the finite current verification workspace

No query parameters accepted. Current case, requiredConfirmation, version and current finite approval/appeal/decision summaries remain authoritative. CollectionsIncluded:false never means the histories are complete-empty. Sensitive read observes current approval expiry/invalidation and audits the actual current approval count.

Access: browserSession

Independently authenticated Operations principal and current PlatformOperator; server-derived actor, protected internal-service boundary and private,no-store response. Browser fields cannot supply operator authority.

Parameters

caseId (path, required)
Exact current verification case; authority and optional expected version are checked before reading private records.
{
  "type": "string"
}

Responses

200
Actual bounded private workspace or original family response, never an invented complete history.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationCaseWorkspace"
    }
  }
}
400
operations_page_invalid: invalid/unknown/repeated selectors or changed/tampered cursor; use exact unchanged selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Operations authentication middleware may reject an unauthenticated request before the handler.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
access_denied: current independently authenticated platform operator required.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
404
resource_not_found: selected current case or same-case record does not exist; private identifiers are not echoed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
409
organization_verification_conflict: current caseVersion changed; reload current workspace and selection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
operations_page_unavailable: store or retained integrity unavailable; never a successful empty history.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/admin/verification/cases/page

Read protected verification case queue pages

Closed state/limit/cursor query. state is one exact canonical case-sensitive existing state name; numeric, unknown or differently cased values400. UpdatedAt descending with C-collated case-ID ascending tie-breaker. Current independent operator authority is rechecked after the bounded read. Each request returns current source rows, not a cross-page snapshot or automatic verification decision. limit defaults25/range1..100; opaque cursor<=8192 is forwarded unchanged. Duplicate/unknown/blank/padded/control selectors reject400. Protection binds immutable operator, current claims, exact route/collection/filters and limit. totalCount:null is unknown, never zero; tampered or changed selection is rejected rather than retargeted; refresh starts a new traversal.

Access: browserSession

Independent current Ops staff session and PlatformOperator, owning current authorization/read audit; internal/customer credentials alone do not grant authority.

Parameters

limit (query, optional)
One literal decimal bound; invalid selectors are rejected rather than clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque unchanged current operator/selection continuation.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
state (query, optional)
Optional exact canonical state; omission selects all currently authorized case states.
{
  "type": "string",
  "enum": [
    "Open",
    "EvidenceRequested",
    "UnderReview",
    "DecisionPending",
    "Resolved",
    "Appealed",
    "Closed"
  ]
}

Responses

200
Actual current bounded projection; explicit nullable continuation and unknown total.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsVerificationCursorPage"
    }
  }
}
400
Closed selection/continuation invalid; operations_page_invalid.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
Existing Ops session/service boundary required; middleware/native response semantics retained.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
403
Current independent PlatformOperator/actor unavailable; access_denied. Page selectors do not grant authority.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
503
Current source/read/audit unavailable; operations_page_unavailable. No successful empty/zero substitute.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

GET/api/admin/bff/login

Start native Microsoft Entra staff sign-in

Native authorization-code challenge with PKCE and select_account; openid/profile/email/offline_access/User.Read scopes. Four required server configuration values enable OIDC, not a customer query or role. Optional native string returnUrl is accepted only when nonblank, starts with slash and not double slash; otherwise slash fallback. Existing opaque session is revoked before challenge so callback cannot renew its old handle. With a session cookie, cross-site login rejects403. This endpoint is navigation/redirect, not JSON login or an access-token response.

Access: No authentication credential.

Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.

Parameters

returnUrl (query, optional)
Native optional local return candidate; no new query-count/length grammar is imposed by metadata.
{
  "type": "string"
}

Responses

302
Configured native provider challenge; no JSON session/token body.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native authentication redirect, not an API credential."
  },
  "Set-Cookie": {
    "schema": {
      "type": "string"
    },
    "description": "Opaque server ticket/correlation/nonce cookies when applicable; provider tokens remain server-owned."
  }
}
403
Existing cookie plus cross-site sign-in request denied; bodyless native403.
503
Microsoft Entra sign-in is not configured; actual native Problem response.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBetaProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}

Link to this operation

POST/api/admin/bff/logout

Revoke native staff browser-session cookie

Same-origin native POST signs out the server cookie/ticket and deletes session+CSRF cookies, returning204 with no body or redirect. Normal authenticated browser use requires matching CSRF header/cookie/current ticket claim hash; cross-site unsafe requests reject403. Cross-site detection uses Sec-Fetch-Site first. Outside Development, Origin is compared with the effective forwarded scheme/authority; Development retains Vite proxy Origin compatibility. Authenticated-cookie CSRF validation still applies. The handler also permits same-origin anonymous cookie cleanup without granting a session; no blanket new anonymous business-mutation policy is introduced. No body, Idempotency-Key, access token, session-version header or provider logout/credential revocation is invented.

Access: browserSession + csrfToken

Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.

Responses

204
Native cookie/ticket cleanup completed; no body.
403
Cross-site unsafe request or authenticated session CSRF mismatch; explicit RFC9457 management problem with preserved public error alias. Successful cookie cleanup and native OIDC callbacks remain unchanged.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBrowserMutationError"
    }
  }
}

Link to this operation

GET/api/admin/bff/session

Read optional current staff browser-session summary

Authenticate the opaque server-owned cookie; missing session returns authenticated:false, not401. Expired/unusable existing cookie is signed out and both browser cookies are removed; current summary still returns200. operator/operatorId are nullable native projection fields. entraEnabled is configuration availability, not successful provider authorization; devLoginEnabled is alwaysfalse in Release and actual configured DEBUG capability otherwise. Token refresh/group revalidation remains server-owned, fails closed and never exposes provider tokens.

Access: No session OR browserSession

Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.

Responses

200
Actual optional native session projection; false/null preserved.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OpsBrowserSession"
    }
  }
}

Link to this operation

GET/api/admin/bff/signin-oidc

Complete native Entra staff authorization-code callback

Consumed by the configured ASP.NET OpenIdConnect handler, not an ordinary JSON business endpoint. GET query or POST form_post values remain native protocol. Protected state, nonce/correlation cookie, code, issuer/audience/lifetime, PKCE and configured operator-group enrichment own acceptance. Cross-site POST is deliberately exempt ONLY at the exact callback path; business CSRF header is not required here. Success redirects to the authentication return path and writes a new opaque cookie; provider/state/group failure uses native OnRemoteFailure redirect /?authError=entra-login-failed. It never returns browser access/refresh tokens. When OIDC is not configured the callback is not an active handler; no successful session is invented.

Access: No authentication credential.

Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.

Parameters

code (query, optional)
Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned.
{
  "type": "string"
}
state (query, optional)
Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned.
{
  "type": "string"
}
error (query, optional)
Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned.
{
  "type": "string"
}
error_description (query, optional)
Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned.
{
  "type": "string"
}
session_state (query, optional)
Native provider protocol value; never log, echo or treat as customer authority. Other standard native fields remain framework-owned.
{
  "type": "string"
}

Responses

302
Native successful sign-in redirect or fixed handled Entra failure redirect; not JSON success.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native authentication redirect, not an API credential."
  },
  "Set-Cookie": {
    "schema": {
      "type": "string"
    },
    "description": "Opaque server ticket/correlation/nonce cookies when applicable; provider tokens remain server-owned."
  }
}
404
No configured native OIDC handler; ordinary unmatched-route behavior, not a JSON callback implementation.
default
Other native authentication/framework failure retains its existing protocol; no RFC/JSON replacement is promised.

Link to this operation

POST/api/admin/bff/signin-oidc

Complete native Entra staff authorization-code callback

Consumed by the configured ASP.NET OpenIdConnect handler, not an ordinary JSON business endpoint. GET query or POST form_post values remain native protocol. Protected state, nonce/correlation cookie, code, issuer/audience/lifetime, PKCE and configured operator-group enrichment own acceptance. Cross-site POST is deliberately exempt ONLY at the exact callback path; business CSRF header is not required here. Success redirects to the authentication return path and writes a new opaque cookie; provider/state/group failure uses native OnRemoteFailure redirect /?authError=entra-login-failed. It never returns browser access/refresh tokens. When OIDC is not configured the callback is not an active handler; no successful session is invented.

Access: No authentication credential.

Native cookie/OIDC authentication and independently configured staff operator-group authorization. No customer Admin or caller bearer/service header may manufacture Operations authority.

Request body

{
  "required": false,
  "description": "Native provider form response; no JSON DTO or client completion flag.",
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      }
    }
  }
}

Responses

302
Native successful sign-in redirect or fixed handled Entra failure redirect; not JSON success.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native authentication redirect, not an API credential."
  },
  "Set-Cookie": {
    "schema": {
      "type": "string"
    },
    "description": "Opaque server ticket/correlation/nonce cookies when applicable; provider tokens remain server-owned."
  }
}
404
No configured native OIDC handler; ordinary unmatched-route behavior, not a JSON callback implementation.
default
Other native authentication/framework failure retains its existing protocol; no RFC/JSON replacement is promised.

Link to this operation

Declared schemas

Schema references in the operations resolve to these definitions from the same OpenAPI document.

SetProductBetaGrantRequest
{
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "description": "Actual request binding. Acceptance requires a reason trimmed to 8..1000 control-free characters, nonnegative current expectedRevision and, when enabling with an expiry, a future expiresAt. Expiry is optional, not a fixed invented TTL. Owner identity comes from the server's current account record, never the operator body."
}
OpsBetaProblem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "detail": {
      "type": [
        "string",
        "null"
      ]
    },
    "instance": {
      "type": [
        "string",
        "null"
      ]
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "traceId": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  }
}
OpsBetaGrantUpdated
{
  "type": "object",
  "properties": {
    "updated": {
      "const": true,
      "type": "boolean"
    }
  },
  "required": [
    "updated"
  ]
}
CapacityQueuePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "asOf": {
      "type": "string",
      "format": "date-time"
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "Personal",
              "Organization"
            ]
          },
          "planKey": {
            "type": "string"
          },
          "limitBasis": {
            "type": "string"
          },
          "priority": {
            "type": "string"
          },
          "billingState": {
            "type": "string"
          },
          "entitled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "paidThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recoveryDeadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recordedCreditBalance": {
            "type": [
              "number",
              "null"
            ]
          },
          "grace": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "startedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "deadline": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "recoveredThrough": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "state",
              "startedAt",
              "deadline",
              "lastObservedAt",
              "recoveredThrough"
            ]
          },
          "telemetryEnforcement": {
            "type": "string"
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "measurement": {
                  "type": "string"
                },
                "used": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "limitSource": {
                  "type": "string"
                },
                "observed": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "observationUnit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "periodStart": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "periodEnd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "observationStart": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "observationEnd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                }
              },
              "required": [
                "key",
                "unit",
                "state",
                "measurement",
                "used",
                "limit",
                "limitSource",
                "observed",
                "observationUnit",
                "reason"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug",
          "kind",
          "planKey",
          "limitBasis",
          "priority",
          "billingState",
          "entitled",
          "paidThrough",
          "recoveryDeadline",
          "recordedCreditBalance",
          "grace",
          "telemetryEnforcement",
          "metrics"
        ]
      }
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "hasMore": {
      "type": "boolean"
    },
    "rankingBasis": {
      "type": "string"
    },
    "usageCoverage": {
      "type": "string"
    }
  },
  "required": [
    "asOf",
    "items",
    "page",
    "pageSize",
    "hasMore",
    "rankingBasis",
    "usageCoverage"
  ]
}
CapacityMetric
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "measurement": {
      "type": "string"
    },
    "used": {
      "type": [
        "integer",
        "null"
      ]
    },
    "limit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "limitSource": {
      "type": "string"
    },
    "observed": {
      "type": [
        "integer",
        "null"
      ]
    },
    "observationUnit": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "periodStart": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "periodEnd": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "observationStart": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "observationEnd": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "key",
    "unit",
    "state",
    "measurement",
    "used",
    "limit",
    "limitSource",
    "observed",
    "observationUnit",
    "reason"
  ]
}
CapacityGraceEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "deadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastObservedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "recoveredThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "state",
    "startedAt",
    "deadline",
    "lastObservedAt",
    "recoveredThrough"
  ]
}
TenantCapacityRow
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "Personal",
        "Organization"
      ]
    },
    "planKey": {
      "type": "string"
    },
    "limitBasis": {
      "type": "string"
    },
    "priority": {
      "type": "string"
    },
    "billingState": {
      "type": "string"
    },
    "entitled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "paidThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "recoveryDeadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "recordedCreditBalance": {
      "type": [
        "number",
        "null"
      ]
    },
    "grace": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string"
        },
        "startedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "deadline": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "recoveredThrough": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "state",
        "startedAt",
        "deadline",
        "lastObservedAt",
        "recoveredThrough"
      ]
    },
    "telemetryEnforcement": {
      "type": "string"
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "measurement": {
            "type": "string"
          },
          "used": {
            "type": [
              "integer",
              "null"
            ]
          },
          "limit": {
            "type": [
              "integer",
              "null"
            ]
          },
          "limitSource": {
            "type": "string"
          },
          "observed": {
            "type": [
              "integer",
              "null"
            ]
          },
          "observationUnit": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "periodStart": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "periodEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "observationStart": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "observationEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "key",
          "unit",
          "state",
          "measurement",
          "used",
          "limit",
          "limitSource",
          "observed",
          "observationUnit",
          "reason"
        ]
      }
    }
  },
  "required": [
    "tenantId",
    "name",
    "slug",
    "kind",
    "planKey",
    "limitBasis",
    "priority",
    "billingState",
    "entitled",
    "paidThrough",
    "recoveryDeadline",
    "recordedCreditBalance",
    "grace",
    "telemetryEnforcement",
    "metrics"
  ]
}
AdminUserPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "portalAccess": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "status": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "decidedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "revision": {
                "type": "integer",
                "default": 0
              },
              "isWaitlisted": {
                "type": "boolean",
                "readOnly": true
              }
            },
            "required": [
              "status",
              "source"
            ],
            "default": null
          }
        },
        "required": [
          "userId",
          "email",
          "displayName",
          "createdAt",
          "active"
        ]
      }
    },
    "total": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "total",
    "page",
    "pageSize"
  ]
}
AdminUserSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "active": {
      "type": "boolean"
    },
    "portalAccess": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "status": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "decidedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "revision": {
          "type": "integer",
          "default": 0
        },
        "isWaitlisted": {
          "type": "boolean",
          "readOnly": true
        }
      },
      "required": [
        "status",
        "source"
      ],
      "default": null
    }
  },
  "required": [
    "userId",
    "email",
    "displayName",
    "createdAt",
    "active"
  ]
}
TenantRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "plan": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "active": {
      "type": "boolean"
    },
    "kind": {
      "enum": [
        "Personal",
        "Organization"
      ],
      "default": "Organization"
    },
    "certifiedBy": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "certifiedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "ownerUserId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "verificationState": {
      "enum": [
        "NotApplicable",
        "Unverified",
        "PendingReview",
        "Verified",
        "Disputed",
        "Rejected",
        "Suspended"
      ],
      "default": "Unverified"
    },
    "holdLevel": {
      "enum": [
        "None",
        "ProvisioningHold",
        "ManagementReadOnly",
        "FullSuspension"
      ],
      "default": "None"
    },
    "verificationReviewAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "verificationExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "tenantId",
    "name",
    "slug",
    "plan",
    "createdAt",
    "active"
  ]
}
OperationsTenantDirectoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "plan": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "kind": {
            "enum": [
              "Personal",
              "Organization"
            ],
            "default": "Organization"
          },
          "certifiedBy": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "certifiedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "ownerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "verificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ],
            "default": "Unverified"
          },
          "holdLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ],
            "default": "None"
          },
          "verificationReviewAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "verificationExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug",
          "plan",
          "createdAt",
          "active"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "organizationAdmissionWorkflowEnabled": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "nextCursor",
    "organizationAdmissionWorkflowEnabled"
  ]
}
OpsUserCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "portalAccess": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "status": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "decidedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "revision": {
                "type": "integer",
                "default": 0
              },
              "isWaitlisted": {
                "type": "boolean",
                "readOnly": true
              }
            },
            "required": [
              "status",
              "source"
            ],
            "default": null
          }
        },
        "required": [
          "userId",
          "email",
          "displayName",
          "createdAt",
          "active"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsLegacyAccountDirectory
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TenantRecord"
      }
    },
    "total": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "organizationAdmissionWorkflowEnabled": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "total",
    "page",
    "pageSize",
    "organizationAdmissionWorkflowEnabled"
  ],
  "additionalProperties": false
}
MembershipRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "tenantName": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Active",
        "Invited"
      ]
    },
    "roles": {
      "type": "array",
      "items": {
        "enum": [
          "Admin",
          "AppOwner",
          "Developer",
          "ProductOwner",
          "Support",
          "PlatformOperator"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "tenantKind": {
      "enum": [
        "Personal",
        "Organization"
      ],
      "default": "Organization"
    },
    "externallyProvisioned": {
      "type": "boolean",
      "default": false
    },
    "ownerUserId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "userId",
    "email",
    "displayName",
    "tenantId",
    "tenantSlug",
    "tenantName",
    "status",
    "roles",
    "createdAt"
  ]
}
Team
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "teamId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "allApps": {
      "type": "boolean"
    },
    "appIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "capabilities": {
      "type": "array",
      "items": {
        "enum": [
          "ViewAnalytics",
          "ViewCrashes",
          "ManageCrashWorkflow",
          "AssignCrashOwners",
          "ViewLogs",
          "ManageReleases",
          "AccessDistribution",
          "ManageMessaging",
          "ViewLocation",
          "ManageIssueConnections",
          "ManageTeamMembers"
        ]
      }
    },
    "members": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "userId",
          "displayName",
          "email",
          "addedAt"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "teamId",
    "tenantId",
    "name",
    "description",
    "allApps",
    "appIds",
    "capabilities",
    "members",
    "createdAt"
  ]
}
TeamDirectoryEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "teamId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "allApps": {
      "type": "boolean"
    },
    "appIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "capabilities": {
      "type": "array",
      "items": {
        "enum": [
          "ViewAnalytics",
          "ViewCrashes",
          "ManageCrashWorkflow",
          "AssignCrashOwners",
          "ViewLogs",
          "ManageReleases",
          "AccessDistribution",
          "ManageMessaging",
          "ViewLocation",
          "ManageIssueConnections",
          "ManageTeamMembers"
        ]
      }
    },
    "memberCount": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "teamId",
    "tenantId",
    "name",
    "description",
    "allApps",
    "appIds",
    "capabilities",
    "memberCount",
    "createdAt"
  ]
}
TeamMember
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "addedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "userId",
    "displayName",
    "email",
    "addedAt"
  ]
}
ExternalAccessPolicyRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "policyId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "enum": [
        "Microsoft",
        "Google",
        "GitHub"
      ]
    },
    "requirement": {
      "enum": [
        "MicrosoftTenant",
        "MicrosoftSecurityGroup",
        "GoogleWorkspaceDomain",
        "GitHubOrganization",
        "GitHubTeam",
        "GitHubRepository",
        "GoogleWorkspaceGroup",
        "MicrosoftVerifiedDomainGroup",
        "MicrosoftDirectoryMember"
      ]
    },
    "authority": {
      "type": "string"
    },
    "resource": {
      "type": [
        "string",
        "null"
      ]
    },
    "role": {
      "enum": [
        "Admin",
        "AppOwner",
        "Developer",
        "ProductOwner",
        "Support",
        "PlatformOperator",
        null
      ]
    },
    "requireCurrentProvider": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "createdBy": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "enrollment": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "authorityName": {
          "type": "string"
        },
        "resourceName": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "authorityName",
        "resourceName"
      ]
    },
    "teamId": {
      "type": [
        "string",
        "null"
      ]
    },
    "teamName": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "policyId",
    "tenantId",
    "appId",
    "provider",
    "requirement",
    "authority",
    "resource",
    "role",
    "requireCurrentProvider",
    "enabled",
    "createdBy",
    "createdAt",
    "updatedAt"
  ]
}
OrganizationAccessSettings
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "externalAccessRefreshHours": {
      "type": "integer"
    },
    "enterpriseConfigurable": {
      "type": "boolean"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "updatedBy": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "canConfigureDirectory": {
      "type": "boolean"
    },
    "canConfigureDirectoryMembers": {
      "type": "boolean"
    },
    "microsoftGroupDirectoryIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "organizationVerified": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "tenantId",
    "externalAccessRefreshHours",
    "enterpriseConfigurable"
  ]
}
OrganizationInvitationSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "invitationId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "tenantName": {
      "type": "string"
    },
    "purpose": {
      "enum": [
        "InitialOwner",
        "Member"
      ]
    },
    "roles": {
      "type": "array",
      "items": {
        "enum": [
          "Admin",
          "AppOwner",
          "Developer",
          "ProductOwner",
          "Support",
          "PlatformOperator"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "revision": {
      "type": "integer"
    },
    "canAccept": {
      "type": "boolean",
      "default": true
    },
    "canCreateAccount": {
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "invitationId",
    "tenantId",
    "tenantSlug",
    "tenantName",
    "purpose",
    "roles",
    "createdAt",
    "expiresAt",
    "revision"
  ]
}
OrganizationInvitationManagementRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "summary": {
      "type": "object",
      "properties": {
        "invitationId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "tenantSlug": {
          "type": "string"
        },
        "tenantName": {
          "type": "string"
        },
        "purpose": {
          "enum": [
            "InitialOwner",
            "Member"
          ]
        },
        "roles": {
          "type": "array",
          "items": {
            "enum": [
              "Admin",
              "AppOwner",
              "Developer",
              "ProductOwner",
              "Support",
              "PlatformOperator"
            ]
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "revision": {
          "type": "integer"
        },
        "canAccept": {
          "type": "boolean",
          "default": true
        },
        "canCreateAccount": {
          "type": "boolean",
          "default": true
        }
      },
      "required": [
        "invitationId",
        "tenantId",
        "tenantSlug",
        "tenantName",
        "purpose",
        "roles",
        "createdAt",
        "expiresAt",
        "revision"
      ]
    },
    "recipientEmail": {
      "type": "string"
    }
  },
  "required": [
    "summary",
    "recipientEmail"
  ]
}
OrganizationAdmissionRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Pending",
        "Admitted",
        "AdmissionsPaused"
      ]
    },
    "revision": {
      "type": "integer"
    },
    "createdBy": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "reason": {
      "type": "string"
    },
    "initialOwnerInvitationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "initialOwnerInvitationStatus": {
      "enum": [
        "Unknown",
        "NotInvited",
        "Pending",
        "Accepted",
        "Expired",
        "Revoked",
        null
      ]
    },
    "requestedEnterpriseCustomer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "enterpriseCustomerId": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "enterpriseCustomerId",
        "name"
      ]
    },
    "requestedEnterpriseCustomerLinked": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "tenantId",
    "state",
    "revision",
    "createdBy",
    "createdAt",
    "updatedBy",
    "updatedAt",
    "reason",
    "initialOwnerInvitationId"
  ]
}
OrganizationAdmissionProvisionResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenant": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "active": {
          "type": "boolean"
        },
        "kind": {
          "enum": [
            "Personal",
            "Organization"
          ],
          "default": "Organization"
        },
        "certifiedBy": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "certifiedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ],
          "default": "Unverified"
        },
        "holdLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ],
          "default": "None"
        },
        "verificationReviewAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "verificationExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "tenantId",
        "name",
        "slug",
        "plan",
        "createdAt",
        "active"
      ]
    },
    "admission": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Pending",
            "Admitted",
            "AdmissionsPaused"
          ]
        },
        "revision": {
          "type": "integer"
        },
        "createdBy": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "reason": {
          "type": "string"
        },
        "initialOwnerInvitationId": {
          "type": [
            "string",
            "null"
          ]
        },
        "initialOwnerInvitationStatus": {
          "enum": [
            "Unknown",
            "NotInvited",
            "Pending",
            "Accepted",
            "Expired",
            "Revoked",
            null
          ]
        },
        "requestedEnterpriseCustomer": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "enterpriseCustomerId": {
              "type": "string",
              "format": "uuid"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "enterpriseCustomerId",
            "name"
          ]
        },
        "requestedEnterpriseCustomerLinked": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "tenantId",
        "state",
        "revision",
        "createdBy",
        "createdAt",
        "updatedBy",
        "updatedAt",
        "reason",
        "initialOwnerInvitationId"
      ]
    }
  },
  "required": [
    "tenant",
    "admission"
  ]
}
OrganizationAdmissionUpdateResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "admission": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Pending",
            "Admitted",
            "AdmissionsPaused"
          ]
        },
        "revision": {
          "type": "integer"
        },
        "createdBy": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "reason": {
          "type": "string"
        },
        "initialOwnerInvitationId": {
          "type": [
            "string",
            "null"
          ]
        },
        "initialOwnerInvitationStatus": {
          "enum": [
            "Unknown",
            "NotInvited",
            "Pending",
            "Accepted",
            "Expired",
            "Revoked",
            null
          ]
        },
        "requestedEnterpriseCustomer": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "enterpriseCustomerId": {
              "type": "string",
              "format": "uuid"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "enterpriseCustomerId",
            "name"
          ]
        },
        "requestedEnterpriseCustomerLinked": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "tenantId",
        "state",
        "revision",
        "createdBy",
        "createdAt",
        "updatedBy",
        "updatedAt",
        "reason",
        "initialOwnerInvitationId"
      ]
    },
    "invitation": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "invitationId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "tenantSlug": {
          "type": "string"
        },
        "tenantName": {
          "type": "string"
        },
        "purpose": {
          "enum": [
            "InitialOwner",
            "Member"
          ]
        },
        "roles": {
          "type": "array",
          "items": {
            "enum": [
              "Admin",
              "AppOwner",
              "Developer",
              "ProductOwner",
              "Support",
              "PlatformOperator"
            ]
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "revision": {
          "type": "integer"
        },
        "canAccept": {
          "type": "boolean",
          "default": true
        },
        "canCreateAccount": {
          "type": "boolean",
          "default": true
        }
      },
      "required": [
        "invitationId",
        "tenantId",
        "tenantSlug",
        "tenantName",
        "purpose",
        "roles",
        "createdAt",
        "expiresAt",
        "revision"
      ]
    }
  },
  "required": [
    "admission",
    "invitation"
  ]
}
EnterpriseCustomerSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "enterpriseCustomerId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "enterpriseCustomerId",
    "name"
  ]
}
EnterpriseOrganizationSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    }
  },
  "required": [
    "tenantId",
    "name",
    "slug"
  ]
}
EnterpriseCustomerAdministratorSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    }
  },
  "required": [
    "userId",
    "displayName",
    "active"
  ]
}
OpsMemberships
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "userId": {
        "type": "string"
      },
      "email": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "tenantSlug": {
        "type": "string"
      },
      "tenantName": {
        "type": "string"
      },
      "status": {
        "enum": [
          "Active",
          "Invited"
        ]
      },
      "roles": {
        "type": "array",
        "items": {
          "enum": [
            "Admin",
            "AppOwner",
            "Developer",
            "ProductOwner",
            "Support",
            "PlatformOperator"
          ]
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "tenantKind": {
        "enum": [
          "Personal",
          "Organization"
        ],
        "default": "Organization"
      },
      "externallyProvisioned": {
        "type": "boolean",
        "default": false
      },
      "ownerUserId": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "userId",
      "email",
      "displayName",
      "tenantId",
      "tenantSlug",
      "tenantName",
      "status",
      "roles",
      "createdAt"
    ]
  }
}
OpsTeams
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "teamId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "allApps": {
        "type": "boolean"
      },
      "appIds": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "capabilities": {
        "type": "array",
        "items": {
          "enum": [
            "ViewAnalytics",
            "ViewCrashes",
            "ManageCrashWorkflow",
            "AssignCrashOwners",
            "ViewLogs",
            "ManageReleases",
            "AccessDistribution",
            "ManageMessaging",
            "ViewLocation",
            "ManageIssueConnections",
            "ManageTeamMembers"
          ]
        }
      },
      "members": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "userId": {
              "type": "string"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "email": {
              "type": [
                "string",
                "null"
              ]
            },
            "addedAt": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "userId",
            "displayName",
            "email",
            "addedAt"
          ]
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "teamId",
      "tenantId",
      "name",
      "description",
      "allApps",
      "appIds",
      "capabilities",
      "members",
      "createdAt"
    ]
  }
}
OpsAccessPolicies
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "policyId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": [
          "string",
          "null"
        ]
      },
      "provider": {
        "enum": [
          "Microsoft",
          "Google",
          "GitHub"
        ]
      },
      "requirement": {
        "enum": [
          "MicrosoftTenant",
          "MicrosoftSecurityGroup",
          "GoogleWorkspaceDomain",
          "GitHubOrganization",
          "GitHubTeam",
          "GitHubRepository",
          "GoogleWorkspaceGroup",
          "MicrosoftVerifiedDomainGroup",
          "MicrosoftDirectoryMember"
        ]
      },
      "authority": {
        "type": "string"
      },
      "resource": {
        "type": [
          "string",
          "null"
        ]
      },
      "role": {
        "enum": [
          "Admin",
          "AppOwner",
          "Developer",
          "ProductOwner",
          "Support",
          "PlatformOperator",
          null
        ]
      },
      "requireCurrentProvider": {
        "type": "boolean"
      },
      "enabled": {
        "type": "boolean"
      },
      "createdBy": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "enrollment": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "authorityName": {
            "type": "string"
          },
          "resourceName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "authorityName",
          "resourceName"
        ]
      },
      "teamId": {
        "type": [
          "string",
          "null"
        ]
      },
      "teamName": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "policyId",
      "tenantId",
      "appId",
      "provider",
      "requirement",
      "authority",
      "resource",
      "role",
      "requireCurrentProvider",
      "enabled",
      "createdBy",
      "createdAt",
      "updatedAt"
    ]
  }
}
OpsManagementInvitations
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "summary": {
        "type": "object",
        "properties": {
          "invitationId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "tenantName": {
            "type": "string"
          },
          "purpose": {
            "enum": [
              "InitialOwner",
              "Member"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "enum": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "revision": {
            "type": "integer"
          },
          "canAccept": {
            "type": "boolean",
            "default": true
          },
          "canCreateAccount": {
            "type": "boolean",
            "default": true
          }
        },
        "required": [
          "invitationId",
          "tenantId",
          "tenantSlug",
          "tenantName",
          "purpose",
          "roles",
          "createdAt",
          "expiresAt",
          "revision"
        ]
      },
      "recipientEmail": {
        "type": "string"
      }
    },
    "required": [
      "summary",
      "recipientEmail"
    ]
  }
}
OpsInvitationPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "summary": {
            "type": "object",
            "properties": {
              "invitationId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "tenantSlug": {
                "type": "string"
              },
              "tenantName": {
                "type": "string"
              },
              "purpose": {
                "enum": [
                  "InitialOwner",
                  "Member"
                ]
              },
              "roles": {
                "type": "array",
                "items": {
                  "enum": [
                    "Admin",
                    "AppOwner",
                    "Developer",
                    "ProductOwner",
                    "Support",
                    "PlatformOperator"
                  ]
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time"
              },
              "revision": {
                "type": "integer"
              },
              "canAccept": {
                "type": "boolean",
                "default": true
              },
              "canCreateAccount": {
                "type": "boolean",
                "default": true
              }
            },
            "required": [
              "invitationId",
              "tenantId",
              "tenantSlug",
              "tenantName",
              "purpose",
              "roles",
              "createdAt",
              "expiresAt",
              "revision"
            ]
          },
          "recipientEmail": {
            "type": "string"
          }
        },
        "required": [
          "summary",
          "recipientEmail"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsMembershipPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "tenantName": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Active",
              "Invited"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "enum": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "tenantKind": {
            "enum": [
              "Personal",
              "Organization"
            ],
            "default": "Organization"
          },
          "externallyProvisioned": {
            "type": "boolean",
            "default": false
          },
          "ownerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "userId",
          "email",
          "displayName",
          "tenantId",
          "tenantSlug",
          "tenantName",
          "status",
          "roles",
          "createdAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsTeamDirectoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "teamId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allApps": {
            "type": "boolean"
          },
          "appIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "enum": [
                "ViewAnalytics",
                "ViewCrashes",
                "ManageCrashWorkflow",
                "AssignCrashOwners",
                "ViewLogs",
                "ManageReleases",
                "AccessDistribution",
                "ManageMessaging",
                "ViewLocation",
                "ManageIssueConnections",
                "ManageTeamMembers"
              ]
            }
          },
          "memberCount": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "teamId",
          "tenantId",
          "name",
          "description",
          "allApps",
          "appIds",
          "capabilities",
          "memberCount",
          "createdAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsTeamMemberPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ]
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "userId",
          "displayName",
          "email",
          "addedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsAccessPolicyPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "policyId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "enum": [
              "Microsoft",
              "Google",
              "GitHub"
            ]
          },
          "requirement": {
            "enum": [
              "MicrosoftTenant",
              "MicrosoftSecurityGroup",
              "GoogleWorkspaceDomain",
              "GitHubOrganization",
              "GitHubTeam",
              "GitHubRepository",
              "GoogleWorkspaceGroup",
              "MicrosoftVerifiedDomainGroup",
              "MicrosoftDirectoryMember"
            ]
          },
          "authority": {
            "type": "string"
          },
          "resource": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "Admin",
              "AppOwner",
              "Developer",
              "ProductOwner",
              "Support",
              "PlatformOperator",
              null
            ]
          },
          "requireCurrentProvider": {
            "type": "boolean"
          },
          "enabled": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "enrollment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "authorityName": {
                "type": "string"
              },
              "resourceName": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "authorityName",
              "resourceName"
            ]
          },
          "teamId": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "policyId",
          "tenantId",
          "appId",
          "provider",
          "requirement",
          "authority",
          "resource",
          "role",
          "requireCurrentProvider",
          "enabled",
          "createdBy",
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsEnterpriseCustomerPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "enterpriseCustomerId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "enterpriseCustomerId",
          "name"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsEnterpriseOrganizationPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": "integer"
    },
    "organizationLimit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "offeringTenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "pendingOrganizationRequestCount": {
      "type": "integer",
      "default": 0
    }
  },
  "required": [
    "items",
    "nextCursor",
    "totalCount",
    "organizationLimit",
    "offeringTenantId"
  ]
}
OpsEnterpriseAdministratorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "userId",
          "displayName",
          "active"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
AddTenantMemberRequest
{
  "type": "object",
  "properties": {
    "userId": {
      "type": [
        "string",
        "null"
      ]
    },
    "roles": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "anyOf": [
          {
            "type": "string",
            "pattern": "^\\s*(?:(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR])(?:\\s*,\\s*(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR]))*|[+-]?[0-9]+)\\s*$"
          },
          {
            "type": "integer"
          }
        ],
        "x-appportal-canonical-enum-values": [
          "Admin",
          "AppOwner",
          "Developer",
          "ProductOwner",
          "Support",
          "PlatformOperator"
        ],
        "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
      }
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
RemoveTenantMemberRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsTeamWriteRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "allApps": {
      "type": "boolean"
    },
    "appIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "capabilities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "anyOf": [
          {
            "type": "string",
            "pattern": "^\\s*(?:(?:[vV][iI][eE][wW][aA][nN][aA][lL][yY][tT][iI][cC][sS]|[vV][iI][eE][wW][cC][rR][aA][sS][hH][eE][sS]|[mM][aA][nN][aA][gG][eE][cC][rR][aA][sS][hH][wW][oO][rR][kK][fF][lL][oO][wW]|[aA][sS][sS][iI][gG][nN][cC][rR][aA][sS][hH][oO][wW][nN][eE][rR][sS]|[vV][iI][eE][wW][lL][oO][gG][sS]|[mM][aA][nN][aA][gG][eE][rR][eE][lL][eE][aA][sS][eE][sS]|[aA][cC][cC][eE][sS][sS][dD][iI][sS][tT][rR][iI][bB][uU][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][mM][eE][sS][sS][aA][gG][iI][nN][gG]|[vV][iI][eE][wW][lL][oO][cC][aA][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][iI][sS][sS][uU][eE][cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS]|[mM][aA][nN][aA][gG][eE][tT][eE][aA][mM][mM][eE][mM][bB][eE][rR][sS])(?:\\s*,\\s*(?:[vV][iI][eE][wW][aA][nN][aA][lL][yY][tT][iI][cC][sS]|[vV][iI][eE][wW][cC][rR][aA][sS][hH][eE][sS]|[mM][aA][nN][aA][gG][eE][cC][rR][aA][sS][hH][wW][oO][rR][kK][fF][lL][oO][wW]|[aA][sS][sS][iI][gG][nN][cC][rR][aA][sS][hH][oO][wW][nN][eE][rR][sS]|[vV][iI][eE][wW][lL][oO][gG][sS]|[mM][aA][nN][aA][gG][eE][rR][eE][lL][eE][aA][sS][eE][sS]|[aA][cC][cC][eE][sS][sS][dD][iI][sS][tT][rR][iI][bB][uU][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][mM][eE][sS][sS][aA][gG][iI][nN][gG]|[vV][iI][eE][wW][lL][oO][cC][aA][tT][iI][oO][nN]|[mM][aA][nN][aA][gG][eE][iI][sS][sS][uU][eE][cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS]|[mM][aA][nN][aA][gG][eE][tT][eE][aA][mM][mM][eE][mM][bB][eE][rR][sS]))*|[+-]?[0-9]+)\\s*$"
          },
          {
            "type": "integer"
          }
        ],
        "x-appportal-canonical-enum-values": [
          "ViewAnalytics",
          "ViewCrashes",
          "ManageCrashWorkflow",
          "AssignCrashOwners",
          "ViewLogs",
          "ManageReleases",
          "AccessDistribution",
          "ManageMessaging",
          "ViewLocation",
          "ManageIssueConnections",
          "ManageTeamMembers"
        ],
        "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
      }
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsTeamMemberRequest
{
  "type": "object",
  "properties": {
    "userId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsSupportReasonRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsExternalAccessPolicyWriteRequest
{
  "type": "object",
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT]|[gG][oO][oO][gG][lL][eE]|[gG][iI][tT][hH][uU][bB])(?:\\s*,\\s*(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT]|[gG][oO][oO][gG][lL][eE]|[gG][iI][tT][hH][uU][bB]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Microsoft",
        "Google",
        "GitHub"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "requirement": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT][tT][eE][nN][aA][nN][tT]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][sS][eE][cC][uU][rR][iI][tT][yY][gG][rR][oO][uU][pP]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][dD][oO][mM][aA][iI][nN]|[gG][iI][tT][hH][uU][bB][oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN]|[gG][iI][tT][hH][uU][bB][tT][eE][aA][mM]|[gG][iI][tT][hH][uU][bB][rR][eE][pP][oO][sS][iI][tT][oO][rR][yY]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][vV][eE][rR][iI][fF][iI][eE][dD][dD][oO][mM][aA][iI][nN][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][dD][iI][rR][eE][cC][tT][oO][rR][yY][mM][eE][mM][bB][eE][rR])(?:\\s*,\\s*(?:[mM][iI][cC][rR][oO][sS][oO][fF][tT][tT][eE][nN][aA][nN][tT]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][sS][eE][cC][uU][rR][iI][tT][yY][gG][rR][oO][uU][pP]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][dD][oO][mM][aA][iI][nN]|[gG][iI][tT][hH][uU][bB][oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN]|[gG][iI][tT][hH][uU][bB][tT][eE][aA][mM]|[gG][iI][tT][hH][uU][bB][rR][eE][pP][oO][sS][iI][tT][oO][rR][yY]|[gG][oO][oO][gG][lL][eE][wW][oO][rR][kK][sS][pP][aA][cC][eE][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][vV][eE][rR][iI][fF][iI][eE][dD][dD][oO][mM][aA][iI][nN][gG][rR][oO][uU][pP]|[mM][iI][cC][rR][oO][sS][oO][fF][tT][dD][iI][rR][eE][cC][tT][oO][rR][yY][mM][eE][mM][bB][eE][rR]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "MicrosoftTenant",
        "MicrosoftSecurityGroup",
        "GoogleWorkspaceDomain",
        "GitHubOrganization",
        "GitHubTeam",
        "GitHubRepository",
        "GoogleWorkspaceGroup",
        "MicrosoftVerifiedDomainGroup",
        "MicrosoftDirectoryMember"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "authority": {
      "type": [
        "string",
        "null"
      ]
    },
    "resource": {
      "type": [
        "string",
        "null"
      ]
    },
    "role": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR])(?:\\s*,\\s*(?:[aA][dD][mM][iI][nN]|[aA][pP][pP][oO][wW][nN][eE][rR]|[dD][eE][vV][eE][lL][oO][pP][eE][rR]|[pP][rR][oO][dD][uU][cC][tT][oO][wW][nN][eE][rR]|[sS][uU][pP][pP][oO][rR][tT]|[pP][lL][aA][tT][fF][oO][rR][mM][oO][pP][eE][rR][aA][tT][oO][rR]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Admin",
        "AppOwner",
        "Developer",
        "ProductOwner",
        "Support",
        "PlatformOperator"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "requireCurrentProvider": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsOrganizationAccessSettingsRequest
{
  "type": "object",
  "properties": {
    "externalAccessRefreshHours": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OrganizationInvitationRevisionRequest
{
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
ProvisionPendingOrganizationRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "enterpriseCustomerId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "default": null
    }
  }
}
OrganizationAdmissionUpdateRequest
{
  "type": "object",
  "properties": {
    "state": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[pP][eE][nN][dD][iI][nN][gG]|[aA][dD][mM][iI][tT][tT][eE][dD]|[aA][dD][mM][iI][sS][sS][iI][oO][nN][sS][pP][aA][uU][sS][eE][dD])(?:\\s*,\\s*(?:[pP][eE][nN][dD][iI][nN][gG]|[aA][dD][mM][iI][tT][tT][eE][dD]|[aA][dD][mM][iI][sS][sS][iI][oO][nN][sS][pP][aA][uU][sS][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Pending",
        "Admitted",
        "AdmissionsPaused"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "initialOwnerEmail": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "initialOwnerUserId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
RegisterEnterpriseCustomerRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
LinkEnterpriseOrganizationRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
SetEnterpriseCustomerAdministratorRequest
{
  "type": "object",
  "properties": {
    "enabled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
ProtectedBrandRegistryEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "brand": {
      "type": "object",
      "properties": {
        "brandId": {
          "type": "string"
        },
        "canonicalName": {
          "type": "string"
        },
        "status": {
          "enum": [
            "Active",
            "Watch",
            "Retired"
          ]
        },
        "risk": {
          "type": "string"
        },
        "aliases": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "independentlyProtected": {
                "type": "boolean",
                "default": true
              }
            },
            "required": [
              "name"
            ]
          }
        },
        "officialDomains": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "required": [
        "brandId",
        "canonicalName",
        "status",
        "risk",
        "aliases",
        "officialDomains"
      ]
    },
    "source": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "marketNotes": {
      "type": "string"
    },
    "reviewAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "brand",
    "source",
    "reason",
    "marketNotes",
    "reviewAt"
  ]
}
ProtectedBrandDefinition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "brandId": {
      "type": "string"
    },
    "canonicalName": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Active",
        "Watch",
        "Retired"
      ]
    },
    "risk": {
      "type": "string"
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "independentlyProtected": {
            "type": "boolean",
            "default": true
          }
        },
        "required": [
          "name"
        ]
      }
    },
    "officialDomains": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "brandId",
    "canonicalName",
    "status",
    "risk",
    "aliases",
    "officialDomains"
  ]
}
ProtectedBrandAlias
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "independentlyProtected": {
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "name"
  ]
}
ProtectedBrandRevisionView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revision": {
      "type": "object",
      "properties": {
        "revisionId": {
          "type": "string"
        },
        "parentRevisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "sha256": {
          "type": "string"
        },
        "matcherVersion": {
          "type": "string"
        },
        "normalizationBasis": {
          "type": "string"
        },
        "publishedBy": {
          "type": "string"
        },
        "publishedAt": {
          "type": "string",
          "format": "date-time"
        },
        "reason": {
          "type": "string"
        },
        "current": {
          "type": "boolean"
        }
      },
      "required": [
        "revisionId",
        "parentRevisionId",
        "sha256",
        "matcherVersion",
        "normalizationBasis",
        "publishedBy",
        "publishedAt",
        "reason",
        "current"
      ]
    },
    "entries": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "brand": {
            "type": "object",
            "properties": {
              "brandId": {
                "type": "string"
              },
              "canonicalName": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Active",
                  "Watch",
                  "Retired"
                ]
              },
              "risk": {
                "type": "string"
              },
              "aliases": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "independentlyProtected": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "required": [
                    "name"
                  ]
                }
              },
              "officialDomains": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "brandId",
              "canonicalName",
              "status",
              "risk",
              "aliases",
              "officialDomains"
            ]
          },
          "source": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "marketNotes": {
            "type": "string"
          },
          "reviewAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "brand",
          "source",
          "reason",
          "marketNotes",
          "reviewAt"
        ]
      }
    }
  },
  "required": [
    "revision",
    "entries"
  ]
}
ProtectedBrandRevisionSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revisionId": {
      "type": "string"
    },
    "parentRevisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sha256": {
      "type": "string"
    },
    "matcherVersion": {
      "type": "string"
    },
    "normalizationBasis": {
      "type": "string"
    },
    "publishedBy": {
      "type": "string"
    },
    "publishedAt": {
      "type": "string",
      "format": "date-time"
    },
    "reason": {
      "type": "string"
    },
    "current": {
      "type": "boolean"
    }
  },
  "required": [
    "revisionId",
    "parentRevisionId",
    "sha256",
    "matcherVersion",
    "normalizationBasis",
    "publishedBy",
    "publishedAt",
    "reason",
    "current"
  ]
}
ProtectedBrandRevisionPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          },
          "parentRevisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "sha256": {
            "type": "string"
          },
          "matcherVersion": {
            "type": "string"
          },
          "normalizationBasis": {
            "type": "string"
          },
          "publishedBy": {
            "type": "string"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "current": {
            "type": "boolean"
          }
        },
        "required": [
          "revisionId",
          "parentRevisionId",
          "sha256",
          "matcherVersion",
          "normalizationBasis",
          "publishedBy",
          "publishedAt",
          "reason",
          "current"
        ]
      }
    },
    "nextBefore": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextBefore"
  ]
}
ProtectedBrandMatchDecision
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "matches": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registryRevisionId": {
            "type": "string"
          },
          "brandId": {
            "type": "string"
          },
          "matchedAlias": {
            "type": "string"
          },
          "inputKind": {
            "type": "string"
          },
          "input": {
            "type": "object",
            "properties": {
              "original": {
                "type": "string"
              },
              "tokens": {
                "type": "string"
              },
              "skeleton": {
                "type": "string"
              },
              "matcherVersion": {
                "type": "string"
              }
            },
            "required": [
              "original",
              "tokens",
              "skeleton",
              "matcherVersion"
            ]
          },
          "kind": {
            "enum": [
              "Exact",
              "Confusable",
              "Fuzzy"
            ]
          },
          "blocking": {
            "type": "boolean"
          },
          "score": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "risk": {
            "type": "string"
          }
        },
        "required": [
          "registryRevisionId",
          "brandId",
          "matchedAlias",
          "inputKind",
          "input",
          "kind",
          "blocking",
          "score",
          "reason",
          "risk"
        ]
      }
    },
    "blocking": {
      "type": "boolean",
      "readOnly": true
    }
  },
  "required": [
    "matches"
  ]
}
ProtectedBrandMatch
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "registryRevisionId": {
      "type": "string"
    },
    "brandId": {
      "type": "string"
    },
    "matchedAlias": {
      "type": "string"
    },
    "inputKind": {
      "type": "string"
    },
    "input": {
      "type": "object",
      "properties": {
        "original": {
          "type": "string"
        },
        "tokens": {
          "type": "string"
        },
        "skeleton": {
          "type": "string"
        },
        "matcherVersion": {
          "type": "string"
        }
      },
      "required": [
        "original",
        "tokens",
        "skeleton",
        "matcherVersion"
      ]
    },
    "kind": {
      "enum": [
        "Exact",
        "Confusable",
        "Fuzzy"
      ]
    },
    "blocking": {
      "type": "boolean"
    },
    "score": {
      "type": "number"
    },
    "reason": {
      "type": "string"
    },
    "risk": {
      "type": "string"
    }
  },
  "required": [
    "registryRevisionId",
    "brandId",
    "matchedAlias",
    "inputKind",
    "input",
    "kind",
    "blocking",
    "score",
    "reason",
    "risk"
  ]
}
ProtectedBrandNormalizedInput
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "original": {
      "type": "string"
    },
    "tokens": {
      "type": "string"
    },
    "skeleton": {
      "type": "string"
    },
    "matcherVersion": {
      "type": "string"
    }
  },
  "required": [
    "original",
    "tokens",
    "skeleton",
    "matcherVersion"
  ]
}
ProtectedBrandCaseEvidencePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "registryRevisionId": {
            "type": "string"
          },
          "registrySha256": {
            "type": "string"
          },
          "matcherVersion": {
            "type": "string"
          },
          "normalizationBasis": {
            "type": "string"
          },
          "sourceSha256": {
            "type": "string"
          },
          "evidenceSha256": {
            "type": "string"
          },
          "matches": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registryRevisionId": {
                  "type": "string"
                },
                "brandId": {
                  "type": "string"
                },
                "matchedAlias": {
                  "type": "string"
                },
                "inputKind": {
                  "type": "string"
                },
                "input": {
                  "type": "object",
                  "properties": {
                    "original": {
                      "type": "string"
                    },
                    "tokens": {
                      "type": "string"
                    },
                    "skeleton": {
                      "type": "string"
                    },
                    "matcherVersion": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "original",
                    "tokens",
                    "skeleton",
                    "matcherVersion"
                  ],
                  "additionalProperties": false
                },
                "kind": {
                  "enum": [
                    "Exact",
                    "Confusable",
                    "Fuzzy"
                  ]
                },
                "blocking": {
                  "type": "boolean"
                },
                "score": {
                  "type": "number"
                },
                "reason": {
                  "type": "string"
                },
                "risk": {
                  "type": "string"
                }
              },
              "required": [
                "registryRevisionId",
                "brandId",
                "matchedAlias",
                "inputKind",
                "input",
                "kind",
                "blocking",
                "score",
                "reason",
                "risk"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "evidenceId",
          "source",
          "observedAt",
          "registryRevisionId",
          "registrySha256",
          "matcherVersion",
          "normalizationBasis",
          "sourceSha256",
          "evidenceSha256",
          "matches"
        ],
        "additionalProperties": false
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "additionalProperties": false
}
ProtectedBrandCaseEvidenceEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "evidenceId": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "registryRevisionId": {
      "type": "string"
    },
    "registrySha256": {
      "type": "string"
    },
    "matcherVersion": {
      "type": "string"
    },
    "normalizationBasis": {
      "type": "string"
    },
    "sourceSha256": {
      "type": "string"
    },
    "evidenceSha256": {
      "type": "string"
    },
    "matches": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registryRevisionId": {
            "type": "string"
          },
          "brandId": {
            "type": "string"
          },
          "matchedAlias": {
            "type": "string"
          },
          "inputKind": {
            "type": "string"
          },
          "input": {
            "type": "object",
            "properties": {
              "original": {
                "type": "string"
              },
              "tokens": {
                "type": "string"
              },
              "skeleton": {
                "type": "string"
              },
              "matcherVersion": {
                "type": "string"
              }
            },
            "required": [
              "original",
              "tokens",
              "skeleton",
              "matcherVersion"
            ]
          },
          "kind": {
            "enum": [
              "Exact",
              "Confusable",
              "Fuzzy"
            ]
          },
          "blocking": {
            "type": "boolean"
          },
          "score": {
            "type": "number"
          },
          "reason": {
            "type": "string"
          },
          "risk": {
            "type": "string"
          }
        },
        "required": [
          "registryRevisionId",
          "brandId",
          "matchedAlias",
          "inputKind",
          "input",
          "kind",
          "blocking",
          "score",
          "reason",
          "risk"
        ]
      }
    }
  },
  "required": [
    "evidenceId",
    "source",
    "observedAt",
    "registryRevisionId",
    "registrySha256",
    "matcherVersion",
    "normalizationBasis",
    "sourceSha256",
    "evidenceSha256",
    "matches"
  ]
}
ProtectedBrandRescanPreview
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revisionId": {
      "type": "string"
    },
    "evaluatedCount": {
      "type": "integer"
    },
    "matchingTenantCount": {
      "type": "integer"
    },
    "exactSignalCount": {
      "type": "integer"
    },
    "watchSignalCount": {
      "type": "integer"
    },
    "nextAfterTenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "fingerprint": {
      "type": "string"
    }
  },
  "required": [
    "revisionId",
    "evaluatedCount",
    "matchingTenantCount",
    "exactSignalCount",
    "watchSignalCount",
    "nextAfterTenantId",
    "fingerprint"
  ]
}
ProtectedBrandRescanJob
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "jobId": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "revisionId": {
      "type": "string"
    },
    "createdBy": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "failureCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "evaluatedCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "newEvidenceCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "caseIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "jobId",
    "state",
    "revisionId",
    "createdBy",
    "createdAt",
    "completedAt",
    "failureCode",
    "evaluatedCount",
    "newEvidenceCount",
    "caseIds"
  ]
}
OrganizationVerificationCasePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "caseId": {
            "type": "string"
          },
          "caseNumber": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "subjectSlug": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Open",
              "EvidenceRequested",
              "UnderReview",
              "DecisionPending",
              "Resolved",
              "Appealed",
              "Closed"
            ]
          },
          "openedByUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "openReason": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "closedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "version": {
            "type": "integer"
          },
          "openedByOperatorId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "caseId",
          "caseNumber",
          "tenantId",
          "subjectSlug",
          "state",
          "openedByUserId",
          "assignedOperatorId",
          "openReason",
          "createdAt",
          "updatedAt",
          "resolvedAt",
          "closedAt",
          "version"
        ]
      }
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "page",
    "pageSize",
    "total"
  ]
}
OrganizationVerificationCaseSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "caseId": {
      "type": "string"
    },
    "caseNumber": {
      "type": "string"
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "subjectSlug": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Open",
        "EvidenceRequested",
        "UnderReview",
        "DecisionPending",
        "Resolved",
        "Appealed",
        "Closed"
      ]
    },
    "openedByUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "assignedOperatorId": {
      "type": [
        "string",
        "null"
      ]
    },
    "openReason": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "resolvedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "closedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "version": {
      "type": "integer"
    },
    "openedByOperatorId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "caseId",
    "caseNumber",
    "tenantId",
    "subjectSlug",
    "state",
    "openedByUserId",
    "assignedOperatorId",
    "openReason",
    "createdAt",
    "updatedAt",
    "resolvedAt",
    "closedAt",
    "version"
  ]
}
OrganizationVerificationCaseDetail
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "case": {
      "type": "object",
      "properties": {
        "caseId": {
          "type": "string"
        },
        "caseNumber": {
          "type": "string"
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "subjectSlug": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Open",
            "EvidenceRequested",
            "UnderReview",
            "DecisionPending",
            "Resolved",
            "Appealed",
            "Closed"
          ]
        },
        "openedByUserId": {
          "type": [
            "string",
            "null"
          ]
        },
        "assignedOperatorId": {
          "type": [
            "string",
            "null"
          ]
        },
        "openReason": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "resolvedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "closedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "version": {
          "type": "integer"
        },
        "openedByOperatorId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "caseId",
        "caseNumber",
        "tenantId",
        "subjectSlug",
        "state",
        "openedByUserId",
        "assignedOperatorId",
        "openReason",
        "createdAt",
        "updatedAt",
        "resolvedAt",
        "closedAt",
        "version"
      ]
    },
    "requiredConfirmation": {
      "type": "string"
    },
    "parties": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "partyId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Claimant",
              "ExistingTenantRepresentative",
              "AuthorizedRepresentative",
              "AppPortalOperator"
            ]
          },
          "displayLabel": {
            "type": "string"
          },
          "authoritySnapshot": {
            "type": "string"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "removedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "partyId",
          "userId",
          "role",
          "displayLabel",
          "authoritySnapshot",
          "addedBy",
          "addedAt",
          "removedAt"
        ]
      }
    },
    "tickets": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "partyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "ClaimantCommunication",
              "ExistingTenantCommunication",
              "Evidence",
              "Appeal",
              "Internal"
            ]
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "ticketId",
          "partyId",
          "role",
          "addedBy",
          "addedAt"
        ]
      }
    },
    "evidenceRequests": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceRequestId": {
            "type": "string"
          },
          "partyId": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Requested",
              "Submitted",
              "Verified",
              "Rejected",
              "Expired",
              "Withdrawn"
            ]
          },
          "requestedBy": {
            "type": "string"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "submittedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "evidenceRequestId",
          "partyId",
          "description",
          "state",
          "requestedBy",
          "requestedAt",
          "dueAt",
          "submittedAt",
          "reviewedBy",
          "reviewedAt"
        ]
      }
    },
    "findings": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "findingId": {
            "type": "string"
          },
          "evidenceRequestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "supersedesFindingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "findingType": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "SupportsClaim",
              "ContradictsClaim",
              "Inconclusive"
            ]
          },
          "source": {
            "type": "string"
          },
          "recordedBy": {
            "type": "string"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "findingId",
          "evidenceRequestId",
          "supersedesFindingId",
          "findingType",
          "summary",
          "outcome",
          "source",
          "recordedBy",
          "recordedAt"
        ]
      }
    },
    "decisions": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "decisionId": {
            "type": "string"
          },
          "supersedesDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionType": {
            "enum": [
              "VerifyAndActivatePendingTenant",
              "VerifyExistingTenantAndRejectClaim",
              "RestoreAdministrator",
              "RequireRename",
              "MaintainHold",
              "EscalateHold",
              "RejectClaim",
              "SuspendTenant",
              "BanUser",
              "ApproveAppeal"
            ]
          },
          "reason": {
            "type": "string"
          },
          "beforeVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "afterVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "beforeHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "afterHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "decidedBy": {
            "type": "string"
          },
          "secondApproverId": {
            "type": [
              "string",
              "null"
            ]
          },
          "authenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "decidedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "decisionId",
          "supersedesDecisionId",
          "decisionType",
          "reason",
          "beforeVerificationState",
          "afterVerificationState",
          "beforeHoldLevel",
          "afterHoldLevel",
          "decidedBy",
          "secondApproverId",
          "authenticatedAt",
          "decidedAt",
          "resultingCaseVersion"
        ]
      }
    },
    "holdHistory": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "holdEventId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "fromHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "toHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "reason": {
            "type": "string"
          },
          "actorId": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "holdEventId",
          "tenantId",
          "fromHoldLevel",
          "toHoldLevel",
          "reason",
          "actorId",
          "occurredAt",
          "resultingCaseVersion"
        ]
      }
    },
    "appeals": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appealId": {
            "type": "string"
          },
          "ticketId": {
            "type": "string"
          },
          "submittedByUserId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Submitted",
              "UnderReview",
              "Approved",
              "Rejected",
              "Withdrawn"
            ]
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "resolutionDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "appealId",
          "ticketId",
          "submittedByUserId",
          "reason",
          "state",
          "submittedAt",
          "resolvedAt",
          "resolutionDecisionId",
          "version"
        ]
      }
    },
    "collectionsIncluded": {
      "type": "boolean"
    },
    "activeApproval": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "approvalId": {
          "type": "string"
        },
        "caseId": {
          "type": "string"
        },
        "expectedCaseVersion": {
          "type": "integer"
        },
        "decision": {
          "type": "object",
          "properties": {
            "decisionType": {
              "enum": [
                "VerifyAndActivatePendingTenant",
                "VerifyExistingTenantAndRejectClaim",
                "RestoreAdministrator",
                "RequireRename",
                "MaintainHold",
                "EscalateHold",
                "RejectClaim",
                "SuspendTenant",
                "BanUser",
                "ApproveAppeal"
              ]
            },
            "reason": {
              "type": "string"
            },
            "typedConfirmation": {
              "type": "string"
            },
            "expectedVersion": {
              "type": "integer"
            },
            "requestedHoldLevel": {
              "enum": [
                "None",
                "ProvisioningHold",
                "ManagementReadOnly",
                "FullSuspension",
                null
              ],
              "default": null
            },
            "targetUserId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "newTenantSlug": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "supersedesDecisionId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "appealId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "approvalId": {
              "type": [
                "string",
                "null"
              ]
            },
            "renamePreviewFingerprint": {
              "type": [
                "string",
                "null"
              ]
            },
            "newTenantName": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "decisionType",
            "reason",
            "typedConfirmation",
            "expectedVersion"
          ]
        },
        "payloadHash": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Pending",
            "Approved",
            "Rejected",
            "Expired",
            "Invalidated",
            "Consumed"
          ]
        },
        "proposedBy": {
          "type": "string"
        },
        "proposedAt": {
          "type": "string",
          "format": "date-time"
        },
        "proposerAuthenticatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "reviewedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "reviewedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "reviewerAuthenticatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "reviewReason": {
          "type": [
            "string",
            "null"
          ]
        },
        "consumedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "consumedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "decisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "approvalId",
        "caseId",
        "expectedCaseVersion",
        "decision",
        "payloadHash",
        "state",
        "proposedBy",
        "proposedAt",
        "proposerAuthenticatedAt",
        "expiresAt",
        "reviewedBy",
        "reviewedAt",
        "reviewerAuthenticatedAt",
        "reviewReason",
        "consumedBy",
        "consumedAt",
        "decisionId",
        "version"
      ]
    },
    "hasApprovalHistory": {
      "type": "boolean"
    },
    "activeAppeal": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "appealId": {
          "type": "string"
        },
        "ticketId": {
          "type": "string"
        },
        "submittedByUserId": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Submitted",
            "UnderReview",
            "Approved",
            "Rejected",
            "Withdrawn"
          ]
        },
        "submittedAt": {
          "type": "string",
          "format": "date-time"
        },
        "resolvedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "resolutionDecisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "appealId",
        "ticketId",
        "submittedByUserId",
        "reason",
        "state",
        "submittedAt",
        "resolvedAt",
        "resolutionDecisionId",
        "version"
      ]
    },
    "latestDecision": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "decisionId": {
          "type": "string"
        },
        "supersedesDecisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "decisionType": {
          "enum": [
            "VerifyAndActivatePendingTenant",
            "VerifyExistingTenantAndRejectClaim",
            "RestoreAdministrator",
            "RequireRename",
            "MaintainHold",
            "EscalateHold",
            "RejectClaim",
            "SuspendTenant",
            "BanUser",
            "ApproveAppeal"
          ]
        },
        "reason": {
          "type": "string"
        },
        "beforeVerificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "afterVerificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "beforeHoldLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ]
        },
        "afterHoldLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ]
        },
        "decidedBy": {
          "type": "string"
        },
        "secondApproverId": {
          "type": [
            "string",
            "null"
          ]
        },
        "authenticatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "decidedAt": {
          "type": "string",
          "format": "date-time"
        },
        "resultingCaseVersion": {
          "type": "integer"
        }
      },
      "required": [
        "decisionId",
        "supersedesDecisionId",
        "decisionType",
        "reason",
        "beforeVerificationState",
        "afterVerificationState",
        "beforeHoldLevel",
        "afterHoldLevel",
        "decidedBy",
        "secondApproverId",
        "authenticatedAt",
        "decidedAt",
        "resultingCaseVersion"
      ]
    },
    "tenant": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "holdLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ]
        }
      },
      "required": [
        "tenantId",
        "active",
        "verificationState",
        "holdLevel"
      ]
    },
    "dualControlRequired": {
      "type": "boolean"
    },
    "approvals": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "approvalId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "expectedCaseVersion": {
            "type": "integer"
          },
          "decision": {
            "$ref": "#/components/schemas/OrganizationVerificationCaseDetail/properties/activeApproval/properties/decision"
          },
          "payloadHash": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Approved",
              "Rejected",
              "Expired",
              "Invalidated",
              "Consumed"
            ]
          },
          "proposedBy": {
            "type": "string"
          },
          "proposedAt": {
            "type": "string",
            "format": "date-time"
          },
          "proposerAuthenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewerAuthenticatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "decisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "approvalId",
          "caseId",
          "expectedCaseVersion",
          "decision",
          "payloadHash",
          "state",
          "proposedBy",
          "proposedAt",
          "proposerAuthenticatedAt",
          "expiresAt",
          "reviewedBy",
          "reviewedAt",
          "reviewerAuthenticatedAt",
          "reviewReason",
          "consumedBy",
          "consumedAt",
          "decisionId",
          "version"
        ]
      }
    },
    "approvalsNextBefore": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "case",
    "requiredConfirmation",
    "parties",
    "tickets",
    "evidenceRequests",
    "findings",
    "decisions",
    "holdHistory",
    "appeals"
  ]
}
OrganizationVerificationApproval
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "approvalId": {
      "type": "string"
    },
    "caseId": {
      "type": "string"
    },
    "expectedCaseVersion": {
      "type": "integer"
    },
    "decision": {
      "type": "object",
      "properties": {
        "decisionType": {
          "enum": [
            "VerifyAndActivatePendingTenant",
            "VerifyExistingTenantAndRejectClaim",
            "RestoreAdministrator",
            "RequireRename",
            "MaintainHold",
            "EscalateHold",
            "RejectClaim",
            "SuspendTenant",
            "BanUser",
            "ApproveAppeal"
          ]
        },
        "reason": {
          "type": "string"
        },
        "typedConfirmation": {
          "type": "string"
        },
        "expectedVersion": {
          "type": "integer"
        },
        "requestedHoldLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension",
            null
          ],
          "default": null
        },
        "targetUserId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "newTenantSlug": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "supersedesDecisionId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "appealId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "approvalId": {
          "type": [
            "string",
            "null"
          ]
        },
        "renamePreviewFingerprint": {
          "type": [
            "string",
            "null"
          ]
        },
        "newTenantName": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "decisionType",
        "reason",
        "typedConfirmation",
        "expectedVersion"
      ]
    },
    "payloadHash": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Pending",
        "Approved",
        "Rejected",
        "Expired",
        "Invalidated",
        "Consumed"
      ]
    },
    "proposedBy": {
      "type": "string"
    },
    "proposedAt": {
      "type": "string",
      "format": "date-time"
    },
    "proposerAuthenticatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "reviewedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "reviewedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "reviewerAuthenticatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "reviewReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "consumedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "consumedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "decisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "approvalId",
    "caseId",
    "expectedCaseVersion",
    "decision",
    "payloadHash",
    "state",
    "proposedBy",
    "proposedAt",
    "proposerAuthenticatedAt",
    "expiresAt",
    "reviewedBy",
    "reviewedAt",
    "reviewerAuthenticatedAt",
    "reviewReason",
    "consumedBy",
    "consumedAt",
    "decisionId",
    "version"
  ]
}
OrganizationVerificationApprovalPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "approvalId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "expectedCaseVersion": {
            "type": "integer"
          },
          "decision": {
            "type": "object",
            "properties": {
              "decisionType": {
                "enum": [
                  "VerifyAndActivatePendingTenant",
                  "VerifyExistingTenantAndRejectClaim",
                  "RestoreAdministrator",
                  "RequireRename",
                  "MaintainHold",
                  "EscalateHold",
                  "RejectClaim",
                  "SuspendTenant",
                  "BanUser",
                  "ApproveAppeal"
                ]
              },
              "reason": {
                "type": "string"
              },
              "typedConfirmation": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "integer"
              },
              "requestedHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension",
                  null
                ],
                "default": null
              },
              "targetUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "newTenantSlug": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "supersedesDecisionId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "appealId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "approvalId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "renamePreviewFingerprint": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "newTenantName": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "decisionType",
              "reason",
              "typedConfirmation",
              "expectedVersion"
            ]
          },
          "payloadHash": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Approved",
              "Rejected",
              "Expired",
              "Invalidated",
              "Consumed"
            ]
          },
          "proposedBy": {
            "type": "string"
          },
          "proposedAt": {
            "type": "string",
            "format": "date-time"
          },
          "proposerAuthenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewerAuthenticatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "decisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "approvalId",
          "caseId",
          "expectedCaseVersion",
          "decision",
          "payloadHash",
          "state",
          "proposedBy",
          "proposedAt",
          "proposerAuthenticatedAt",
          "expiresAt",
          "reviewedBy",
          "reviewedAt",
          "reviewerAuthenticatedAt",
          "reviewReason",
          "consumedBy",
          "consumedAt",
          "decisionId",
          "version"
        ]
      }
    },
    "nextBefore": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextBefore"
  ]
}
OrganizationVerificationDecision
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "decisionId": {
      "type": "string"
    },
    "supersedesDecisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "decisionType": {
      "enum": [
        "VerifyAndActivatePendingTenant",
        "VerifyExistingTenantAndRejectClaim",
        "RestoreAdministrator",
        "RequireRename",
        "MaintainHold",
        "EscalateHold",
        "RejectClaim",
        "SuspendTenant",
        "BanUser",
        "ApproveAppeal"
      ]
    },
    "reason": {
      "type": "string"
    },
    "beforeVerificationState": {
      "enum": [
        "NotApplicable",
        "Unverified",
        "PendingReview",
        "Verified",
        "Disputed",
        "Rejected",
        "Suspended"
      ]
    },
    "afterVerificationState": {
      "enum": [
        "NotApplicable",
        "Unverified",
        "PendingReview",
        "Verified",
        "Disputed",
        "Rejected",
        "Suspended"
      ]
    },
    "beforeHoldLevel": {
      "enum": [
        "None",
        "ProvisioningHold",
        "ManagementReadOnly",
        "FullSuspension"
      ]
    },
    "afterHoldLevel": {
      "enum": [
        "None",
        "ProvisioningHold",
        "ManagementReadOnly",
        "FullSuspension"
      ]
    },
    "decidedBy": {
      "type": "string"
    },
    "secondApproverId": {
      "type": [
        "string",
        "null"
      ]
    },
    "authenticatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "decidedAt": {
      "type": "string",
      "format": "date-time"
    },
    "resultingCaseVersion": {
      "type": "integer"
    }
  },
  "required": [
    "decisionId",
    "supersedesDecisionId",
    "decisionType",
    "reason",
    "beforeVerificationState",
    "afterVerificationState",
    "beforeHoldLevel",
    "afterHoldLevel",
    "decidedBy",
    "secondApproverId",
    "authenticatedAt",
    "decidedAt",
    "resultingCaseVersion"
  ]
}
ProtectedBrandPublishRequest
{
  "type": "object",
  "properties": {
    "actionId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedRevisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "entries": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "brand": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "brandId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "canonicalName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\s*(?:(?:[aA][cC][tT][iI][vV][eE]|[wW][aA][tT][cC][hH]|[rR][eE][tT][iI][rR][eE][dD])(?:\\s*,\\s*(?:[aA][cC][tT][iI][vV][eE]|[wW][aA][tT][cC][hH]|[rR][eE][tT][iI][rR][eE][dD]))*|[+-]?[0-9]+)\\s*$"
                  },
                  {
                    "type": "integer"
                  }
                ],
                "x-appportal-canonical-enum-values": [
                  "Active",
                  "Watch",
                  "Retired"
                ],
                "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
              },
              "risk": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "aliases": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "independentlyProtected": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "additionalProperties": false
                }
              },
              "officialDomains": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "additionalProperties": false
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "marketNotes": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      }
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}
ProtectedBrandDryRunRequest
{
  "type": "object",
  "properties": {
    "revisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}
ProtectedBrandRescanSelection
{
  "type": "object",
  "properties": {
    "revisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "afterTenantId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "limit": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": 100
    }
  },
  "additionalProperties": false
}
ProtectedBrandRescanCommand
{
  "type": "object",
  "properties": {
    "actionId": {
      "type": "string",
      "format": "uuid"
    },
    "selection": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "revisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "afterTenantId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "limit": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 100
        }
      },
      "additionalProperties": false
    },
    "fingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}
StartOrganizationVerificationCaseRequest
{
  "type": "object",
  "properties": {
    "ticketId": {
      "type": [
        "string",
        "null"
      ]
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
LinkOrganizationVerificationTicketRequest
{
  "type": "object",
  "properties": {
    "ticketId": {
      "type": [
        "string",
        "null"
      ]
    },
    "partyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "role": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[cC][lL][aA][iI][mM][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][vV][iI][dD][eE][nN][cC][eE]|[aA][pP][pP][eE][aA][lL]|[iI][nN][tT][eE][rR][nN][aA][lL])(?:\\s*,\\s*(?:[cC][lL][aA][iI][mM][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][cC][oO][mM][mM][uU][nN][iI][cC][aA][tT][iI][oO][nN]|[eE][vV][iI][dD][eE][nN][cC][eE]|[aA][pP][pP][eE][aA][lL]|[iI][nN][tT][eE][rR][nN][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "ClaimantCommunication",
        "ExistingTenantCommunication",
        "Evidence",
        "Appeal",
        "Internal"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
RequestOrganizationVerificationEvidenceRequest
{
  "type": "object",
  "properties": {
    "partyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "dueAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "partyMessage": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
RecordOrganizationVerificationFindingRequest
{
  "type": "object",
  "properties": {
    "evidenceRequestId": {
      "type": [
        "string",
        "null"
      ]
    },
    "supersedesFindingId": {
      "type": [
        "string",
        "null"
      ]
    },
    "findingType": {
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "outcome": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[sS][uU][pP][pP][oO][rR][tT][sS][cC][lL][aA][iI][mM]|[cC][oO][nN][tT][rR][aA][dD][iI][cC][tT][sS][cC][lL][aA][iI][mM]|[iI][nN][cC][oO][nN][cC][lL][uU][sS][iI][vV][eE])(?:\\s*,\\s*(?:[sS][uU][pP][pP][oO][rR][tT][sS][cC][lL][aA][iI][mM]|[cC][oO][nN][tT][rR][aA][dD][iI][cC][tT][sS][cC][lL][aA][iI][mM]|[iI][nN][cC][oO][nN][cC][lL][uU][sS][iI][vV][eE]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "SupportsClaim",
        "ContradictsClaim",
        "Inconclusive"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "supportMessageId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
OpenOrganizationVerificationAppealRequest
{
  "type": "object",
  "properties": {
    "ticketId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
DecideOrganizationVerificationCaseRequest
{
  "type": "object",
  "properties": {
    "decisionType": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[vV][eE][rR][iI][fF][yY][aA][nN][dD][aA][cC][tT][iI][vV][aA][tT][eE][pP][eE][nN][dD][iI][nN][gG][tT][eE][nN][aA][nN][tT]|[vV][eE][rR][iI][fF][yY][eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][aA][nN][dD][rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[rR][eE][sS][tT][oO][rR][eE][aA][dD][mM][iI][nN][iI][sS][tT][rR][aA][tT][oO][rR]|[rR][eE][qQ][uU][iI][rR][eE][rR][eE][nN][aA][mM][eE]|[mM][aA][iI][nN][tT][aA][iI][nN][hH][oO][lL][dD]|[eE][sS][cC][aA][lL][aA][tT][eE][hH][oO][lL][dD]|[rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[sS][uU][sS][pP][eE][nN][dD][tT][eE][nN][aA][nN][tT]|[bB][aA][nN][uU][sS][eE][rR]|[aA][pP][pP][rR][oO][vV][eE][aA][pP][pP][eE][aA][lL])(?:\\s*,\\s*(?:[vV][eE][rR][iI][fF][yY][aA][nN][dD][aA][cC][tT][iI][vV][aA][tT][eE][pP][eE][nN][dD][iI][nN][gG][tT][eE][nN][aA][nN][tT]|[vV][eE][rR][iI][fF][yY][eE][xX][iI][sS][tT][iI][nN][gG][tT][eE][nN][aA][nN][tT][aA][nN][dD][rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[rR][eE][sS][tT][oO][rR][eE][aA][dD][mM][iI][nN][iI][sS][tT][rR][aA][tT][oO][rR]|[rR][eE][qQ][uU][iI][rR][eE][rR][eE][nN][aA][mM][eE]|[mM][aA][iI][nN][tT][aA][iI][nN][hH][oO][lL][dD]|[eE][sS][cC][aA][lL][aA][tT][eE][hH][oO][lL][dD]|[rR][eE][jJ][eE][cC][tT][cC][lL][aA][iI][mM]|[sS][uU][sS][pP][eE][nN][dD][tT][eE][nN][aA][nN][tT]|[bB][aA][nN][uU][sS][eE][rR]|[aA][pP][pP][rR][oO][vV][eE][aA][pP][pP][eE][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "VerifyAndActivatePendingTenant",
        "VerifyExistingTenantAndRejectClaim",
        "RestoreAdministrator",
        "RequireRename",
        "MaintainHold",
        "EscalateHold",
        "RejectClaim",
        "SuspendTenant",
        "BanUser",
        "ApproveAppeal"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "typedConfirmation": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "requestedHoldLevel": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[nN][oO][nN][eE]|[pP][rR][oO][vV][iI][sS][iI][oO][nN][iI][nN][gG][hH][oO][lL][dD]|[mM][aA][nN][aA][gG][eE][mM][eE][nN][tT][rR][eE][aA][dD][oO][nN][lL][yY]|[fF][uU][lL][lL][sS][uU][sS][pP][eE][nN][sS][iI][oO][nN])(?:\\s*,\\s*(?:[nN][oO][nN][eE]|[pP][rR][oO][vV][iI][sS][iI][oO][nN][iI][nN][gG][hH][oO][lL][dD]|[mM][aA][nN][aA][gG][eE][mM][eE][nN][tT][rR][eE][aA][dD][oO][nN][lL][yY]|[fF][uU][lL][lL][sS][uU][sS][pP][eE][nN][sS][iI][oO][nN]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "None",
        "ProvisioningHold",
        "ManagementReadOnly",
        "FullSuspension"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
      "default": null
    },
    "targetUserId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "newTenantSlug": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "supersedesDecisionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appealId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "approvalId": {
      "type": [
        "string",
        "null"
      ]
    },
    "renamePreviewFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "newTenantName": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
ReviewOrganizationVerificationApprovalRequest
{
  "type": "object",
  "properties": {
    "approve": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
OpsProtectedBrandCurrent
{
  "type": "object",
  "properties": {
    "current": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ProtectedBrandRevisionView"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "current"
  ]
}
OpsProtectedBrandReferenceDraft
{
  "type": "object",
  "properties": {
    "referenceOnly": {
      "type": "boolean",
      "const": true
    },
    "automaticPublication": {
      "type": "boolean",
      "const": false
    },
    "entries": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProtectedBrandRegistryEntry"
      }
    }
  },
  "required": [
    "referenceOnly",
    "automaticPublication",
    "entries"
  ]
}
OpsProtectedBrandPublished
{
  "type": "object",
  "properties": {
    "revisionId": {
      "type": "string"
    }
  },
  "required": [
    "revisionId"
  ]
}
SupportTicketPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "ticketNumber": {
            "type": "string"
          },
          "scope": {
            "enum": [
              "Personal",
              "Organization",
              "Application",
              "Platform"
            ]
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "targetTenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "creatorUserId": {
            "type": "string"
          },
          "category": {
            "enum": [
              "AccountAccess",
              "Billing",
              "SdkIntegration",
              "TelemetryData",
              "Distribution",
              "SecurityPrivacy",
              "OrganizationIdentity",
              "FeatureRequest",
              "Other"
            ]
          },
          "subcategory": {
            "enum": [
              "None",
              "SlugClaim",
              "ProtectedBrandVerification",
              "Impersonation",
              "Appeal"
            ]
          },
          "subject": {
            "type": "string"
          },
          "subjectReference": {
            "type": [
              "string",
              "null"
            ]
          },
          "customerUrgency": {
            "enum": [
              "Low",
              "Normal",
              "High"
            ]
          },
          "priority": {
            "enum": [
              "Low",
              "Normal",
              "High",
              "Urgent"
            ]
          },
          "queue": {
            "type": "string"
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "customerVisibleLastActivityAt": {
            "type": "string",
            "format": "date-time"
          },
          "operatorLastActivityAt": {
            "type": "string",
            "format": "date-time"
          },
          "canReopen": {
            "type": "boolean"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "ticketId",
          "ticketNumber",
          "scope",
          "tenantId",
          "targetTenantId",
          "appId",
          "creatorUserId",
          "category",
          "subcategory",
          "subject",
          "subjectReference",
          "customerUrgency",
          "priority",
          "queue",
          "assignedOperatorId",
          "state",
          "createdAt",
          "updatedAt",
          "customerVisibleLastActivityAt",
          "operatorLastActivityAt",
          "canReopen",
          "version"
        ]
      }
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "page",
    "pageSize",
    "total"
  ]
}
SupportTicketSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "ticketNumber": {
      "type": "string"
    },
    "scope": {
      "enum": [
        "Personal",
        "Organization",
        "Application",
        "Platform"
      ]
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "targetTenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "creatorUserId": {
      "type": "string"
    },
    "category": {
      "enum": [
        "AccountAccess",
        "Billing",
        "SdkIntegration",
        "TelemetryData",
        "Distribution",
        "SecurityPrivacy",
        "OrganizationIdentity",
        "FeatureRequest",
        "Other"
      ]
    },
    "subcategory": {
      "enum": [
        "None",
        "SlugClaim",
        "ProtectedBrandVerification",
        "Impersonation",
        "Appeal"
      ]
    },
    "subject": {
      "type": "string"
    },
    "subjectReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "customerUrgency": {
      "enum": [
        "Low",
        "Normal",
        "High"
      ]
    },
    "priority": {
      "enum": [
        "Low",
        "Normal",
        "High",
        "Urgent"
      ]
    },
    "queue": {
      "type": "string"
    },
    "assignedOperatorId": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "enum": [
        "New",
        "Triage",
        "InProgress",
        "WaitingForRequester",
        "WaitingForThirdParty",
        "DecisionPending",
        "Resolved",
        "Closed",
        "Reopened"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "customerVisibleLastActivityAt": {
      "type": "string",
      "format": "date-time"
    },
    "operatorLastActivityAt": {
      "type": "string",
      "format": "date-time"
    },
    "canReopen": {
      "type": "boolean"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "ticketId",
    "ticketNumber",
    "scope",
    "tenantId",
    "targetTenantId",
    "appId",
    "creatorUserId",
    "category",
    "subcategory",
    "subject",
    "subjectReference",
    "customerUrgency",
    "priority",
    "queue",
    "assignedOperatorId",
    "state",
    "createdAt",
    "updatedAt",
    "customerVisibleLastActivityAt",
    "operatorLastActivityAt",
    "canReopen",
    "version"
  ]
}
SupportTicketDetail
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticket": {
      "type": "object",
      "properties": {
        "ticketId": {
          "type": "string"
        },
        "ticketNumber": {
          "type": "string"
        },
        "scope": {
          "enum": [
            "Personal",
            "Organization",
            "Application",
            "Platform"
          ]
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "targetTenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "creatorUserId": {
          "type": "string"
        },
        "category": {
          "enum": [
            "AccountAccess",
            "Billing",
            "SdkIntegration",
            "TelemetryData",
            "Distribution",
            "SecurityPrivacy",
            "OrganizationIdentity",
            "FeatureRequest",
            "Other"
          ]
        },
        "subcategory": {
          "enum": [
            "None",
            "SlugClaim",
            "ProtectedBrandVerification",
            "Impersonation",
            "Appeal"
          ]
        },
        "subject": {
          "type": "string"
        },
        "subjectReference": {
          "type": [
            "string",
            "null"
          ]
        },
        "customerUrgency": {
          "enum": [
            "Low",
            "Normal",
            "High"
          ]
        },
        "priority": {
          "enum": [
            "Low",
            "Normal",
            "High",
            "Urgent"
          ]
        },
        "queue": {
          "type": "string"
        },
        "assignedOperatorId": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "enum": [
            "New",
            "Triage",
            "InProgress",
            "WaitingForRequester",
            "WaitingForThirdParty",
            "DecisionPending",
            "Resolved",
            "Closed",
            "Reopened"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "customerVisibleLastActivityAt": {
          "type": "string",
          "format": "date-time"
        },
        "operatorLastActivityAt": {
          "type": "string",
          "format": "date-time"
        },
        "canReopen": {
          "type": "boolean"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "ticketId",
        "ticketNumber",
        "scope",
        "tenantId",
        "targetTenantId",
        "appId",
        "creatorUserId",
        "category",
        "subcategory",
        "subject",
        "subjectReference",
        "customerUrgency",
        "priority",
        "queue",
        "assignedOperatorId",
        "state",
        "createdAt",
        "updatedAt",
        "customerVisibleLastActivityAt",
        "operatorLastActivityAt",
        "canReopen",
        "version"
      ]
    },
    "messages": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "messageId": {
            "type": "string"
          },
          "authorId": {
            "type": "string"
          },
          "authorType": {
            "enum": [
              "Customer",
              "Operator",
              "System"
            ]
          },
          "visibility": {
            "enum": [
              "RequesterVisible",
              "OperatorOnly",
              "ParticipantPrivate"
            ]
          },
          "privateParticipantUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "body": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "tombstoned": {
            "type": "boolean"
          }
        },
        "required": [
          "messageId",
          "authorId",
          "authorType",
          "visibility",
          "privateParticipantUserId",
          "body",
          "revision",
          "createdAt",
          "updatedAt",
          "tombstoned"
        ]
      }
    },
    "participants": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Requester",
              "Collaborator",
              "Claimant"
            ]
          },
          "grantsTicketAccess": {
            "type": "boolean"
          },
          "canViewTicket": {
            "type": "boolean"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "userId",
          "role",
          "grantsTicketAccess",
          "canViewTicket",
          "addedBy",
          "addedAt",
          "revokedAt"
        ]
      }
    },
    "transitions": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transitionId": {
            "type": "string"
          },
          "fromState": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "toState": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "actorType": {
            "enum": [
              "Customer",
              "Operator",
              "System"
            ]
          },
          "actorId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingVersion": {
            "type": "integer"
          }
        },
        "required": [
          "transitionId",
          "fromState",
          "toState",
          "actorType",
          "actorId",
          "reason",
          "occurredAt",
          "resultingVersion"
        ]
      }
    }
  },
  "required": [
    "ticket",
    "messages",
    "participants",
    "transitions"
  ]
}
SupportTicketWorkspace
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticket": {
      "type": "object",
      "properties": {
        "ticketId": {
          "type": "string"
        },
        "ticketNumber": {
          "type": "string"
        },
        "scope": {
          "enum": [
            "Personal",
            "Organization",
            "Application",
            "Platform"
          ]
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "targetTenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "creatorUserId": {
          "type": "string"
        },
        "category": {
          "enum": [
            "AccountAccess",
            "Billing",
            "SdkIntegration",
            "TelemetryData",
            "Distribution",
            "SecurityPrivacy",
            "OrganizationIdentity",
            "FeatureRequest",
            "Other"
          ]
        },
        "subcategory": {
          "enum": [
            "None",
            "SlugClaim",
            "ProtectedBrandVerification",
            "Impersonation",
            "Appeal"
          ]
        },
        "subject": {
          "type": "string"
        },
        "subjectReference": {
          "type": [
            "string",
            "null"
          ]
        },
        "customerUrgency": {
          "enum": [
            "Low",
            "Normal",
            "High"
          ]
        },
        "priority": {
          "enum": [
            "Low",
            "Normal",
            "High",
            "Urgent"
          ]
        },
        "queue": {
          "type": "string"
        },
        "assignedOperatorId": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "enum": [
            "New",
            "Triage",
            "InProgress",
            "WaitingForRequester",
            "WaitingForThirdParty",
            "DecisionPending",
            "Resolved",
            "Closed",
            "Reopened"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "customerVisibleLastActivityAt": {
          "type": "string",
          "format": "date-time"
        },
        "operatorLastActivityAt": {
          "type": "string",
          "format": "date-time"
        },
        "canReopen": {
          "type": "boolean"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "ticketId",
        "ticketNumber",
        "scope",
        "tenantId",
        "targetTenantId",
        "appId",
        "creatorUserId",
        "category",
        "subcategory",
        "subject",
        "subjectReference",
        "customerUrgency",
        "priority",
        "queue",
        "assignedOperatorId",
        "state",
        "createdAt",
        "updatedAt",
        "customerVisibleLastActivityAt",
        "operatorLastActivityAt",
        "canReopen",
        "version"
      ]
    }
  },
  "required": [
    "ticket"
  ]
}
SupportTicketMutationReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "ticketId",
    "version"
  ]
}
SupportTicketMessage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "messageId": {
      "type": "string"
    },
    "authorId": {
      "type": "string"
    },
    "authorType": {
      "enum": [
        "Customer",
        "Operator",
        "System"
      ]
    },
    "visibility": {
      "enum": [
        "RequesterVisible",
        "OperatorOnly",
        "ParticipantPrivate"
      ]
    },
    "privateParticipantUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "body": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "tombstoned": {
      "type": "boolean"
    }
  },
  "required": [
    "messageId",
    "authorId",
    "authorType",
    "visibility",
    "privateParticipantUserId",
    "body",
    "revision",
    "createdAt",
    "updatedAt",
    "tombstoned"
  ]
}
SupportTicketParticipant
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "role": {
      "enum": [
        "Requester",
        "Collaborator",
        "Claimant"
      ]
    },
    "grantsTicketAccess": {
      "type": "boolean"
    },
    "canViewTicket": {
      "type": "boolean"
    },
    "addedBy": {
      "type": "string"
    },
    "addedAt": {
      "type": "string",
      "format": "date-time"
    },
    "revokedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "userId",
    "role",
    "grantsTicketAccess",
    "canViewTicket",
    "addedBy",
    "addedAt",
    "revokedAt"
  ]
}
SupportTicketTransition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "transitionId": {
      "type": "string"
    },
    "fromState": {
      "enum": [
        "New",
        "Triage",
        "InProgress",
        "WaitingForRequester",
        "WaitingForThirdParty",
        "DecisionPending",
        "Resolved",
        "Closed",
        "Reopened"
      ]
    },
    "toState": {
      "enum": [
        "New",
        "Triage",
        "InProgress",
        "WaitingForRequester",
        "WaitingForThirdParty",
        "DecisionPending",
        "Resolved",
        "Closed",
        "Reopened"
      ]
    },
    "actorType": {
      "enum": [
        "Customer",
        "Operator",
        "System"
      ]
    },
    "actorId": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "resultingVersion": {
      "type": "integer"
    }
  },
  "required": [
    "transitionId",
    "fromState",
    "toState",
    "actorType",
    "actorId",
    "reason",
    "occurredAt",
    "resultingVersion"
  ]
}
SupportAttachmentSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "attachmentId": {
      "type": "string"
    },
    "messageId": {
      "type": "string"
    },
    "fileName": {
      "type": "string"
    },
    "contentType": {
      "type": "string"
    },
    "length": {
      "type": "integer"
    },
    "sha256": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "enum": [
        "Reserved",
        "Quarantined",
        "Clean",
        "Rejected",
        "Infected",
        "PurgePending",
        "Purged"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "attachmentId",
    "messageId",
    "fileName",
    "contentType",
    "length",
    "sha256",
    "state",
    "createdAt"
  ]
}
SupportEvidenceDownload
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "proof": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "proof",
    "expiresAt"
  ]
}
SupportLegalHoldStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "legalHold": {
      "type": "boolean"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "legalHold",
    "version"
  ]
}
ReplySupportTicketRequest
{
  "type": "object",
  "properties": {
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "visibility": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[rR][eE][qQ][uU][eE][sS][tT][eE][rR][vV][iI][sS][iI][bB][lL][eE]|[oO][pP][eE][rR][aA][tT][oO][rR][oO][nN][lL][yY]|[pP][aA][rR][tT][iI][cC][iI][pP][aA][nN][tT][pP][rR][iI][vV][aA][tT][eE])(?:\\s*,\\s*(?:[rR][eE][qQ][uU][eE][sS][tT][eE][rR][vV][iI][sS][iI][bB][lL][eE]|[oO][pP][eE][rR][aA][tT][oO][rR][oO][nN][lL][yY]|[pP][aA][rR][tT][iI][cC][iI][pP][aA][nN][tT][pP][rR][iI][vV][aA][tT][eE]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "RequesterVisible",
        "OperatorOnly",
        "ParticipantPrivate"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate.",
      "default": "RequesterVisible"
    },
    "privateParticipantUserId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
UpdateSupportTicketRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "priority": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[lL][oO][wW]|[nN][oO][rR][mM][aA][lL]|[hH][iI][gG][hH]|[uU][rR][gG][eE][nN][tT])(?:\\s*,\\s*(?:[lL][oO][wW]|[nN][oO][rR][mM][aA][lL]|[hH][iI][gG][hH]|[uU][rR][gG][eE][nN][tT]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Low",
        "Normal",
        "High",
        "Urgent"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "queue": {
      "type": [
        "string",
        "null"
      ]
    },
    "assignedOperatorId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
TransitionSupportTicketRequest
{
  "type": "object",
  "properties": {
    "state": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[nN][eE][wW]|[tT][rR][iI][aA][gG][eE]|[iI][nN][pP][rR][oO][gG][rR][eE][sS][sS]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][rR][eE][qQ][uU][eE][sS][tT][eE][rR]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][tT][hH][iI][rR][dD][pP][aA][rR][tT][yY]|[dD][eE][cC][iI][sS][iI][oO][nN][pP][eE][nN][dD][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD]|[cC][lL][oO][sS][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD])(?:\\s*,\\s*(?:[nN][eE][wW]|[tT][rR][iI][aA][gG][eE]|[iI][nN][pP][rR][oO][gG][rR][eE][sS][sS]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][rR][eE][qQ][uU][eE][sS][tT][eE][rR]|[wW][aA][iI][tT][iI][nN][gG][fF][oO][rR][tT][hH][iI][rR][dD][pP][aA][rR][tT][yY]|[dD][eE][cC][iI][sS][iI][oO][nN][pP][eE][nN][dD][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD]|[cC][lL][oO][sS][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "New",
        "Triage",
        "InProgress",
        "WaitingForRequester",
        "WaitingForThirdParty",
        "DecisionPending",
        "Resolved",
        "Closed",
        "Reopened"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
ReserveSupportAttachmentRequest
{
  "type": "object",
  "properties": {
    "messageId": {
      "type": [
        "string",
        "null"
      ]
    },
    "fileName": {
      "type": [
        "string",
        "null"
      ]
    },
    "length": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "sha256": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
SupportDownloadProofRequest
{
  "type": "object",
  "properties": {
    "proof": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
SupportAttachmentPurgeRequest
{
  "type": "object",
  "properties": {
    "expectedTicketVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
SetSupportLegalHoldRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "legalHold": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsSupportTicketCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "ticketNumber": {
            "type": "string"
          },
          "scope": {
            "enum": [
              "Personal",
              "Organization",
              "Application",
              "Platform"
            ]
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "targetTenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "creatorUserId": {
            "type": "string"
          },
          "category": {
            "enum": [
              "AccountAccess",
              "Billing",
              "SdkIntegration",
              "TelemetryData",
              "Distribution",
              "SecurityPrivacy",
              "OrganizationIdentity",
              "FeatureRequest",
              "Other"
            ]
          },
          "subcategory": {
            "enum": [
              "None",
              "SlugClaim",
              "ProtectedBrandVerification",
              "Impersonation",
              "Appeal"
            ]
          },
          "subject": {
            "type": "string"
          },
          "subjectReference": {
            "type": [
              "string",
              "null"
            ]
          },
          "customerUrgency": {
            "enum": [
              "Low",
              "Normal",
              "High"
            ]
          },
          "priority": {
            "enum": [
              "Low",
              "Normal",
              "High",
              "Urgent"
            ]
          },
          "queue": {
            "type": "string"
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "state": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "customerVisibleLastActivityAt": {
            "type": "string",
            "format": "date-time"
          },
          "operatorLastActivityAt": {
            "type": "string",
            "format": "date-time"
          },
          "canReopen": {
            "type": "boolean"
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "ticketId",
          "ticketNumber",
          "scope",
          "tenantId",
          "targetTenantId",
          "appId",
          "creatorUserId",
          "category",
          "subcategory",
          "subject",
          "subjectReference",
          "customerUrgency",
          "priority",
          "queue",
          "assignedOperatorId",
          "state",
          "createdAt",
          "updatedAt",
          "customerVisibleLastActivityAt",
          "operatorLastActivityAt",
          "canReopen",
          "version"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsSupportMessagePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "messageId": {
            "type": "string"
          },
          "authorId": {
            "type": "string"
          },
          "authorType": {
            "enum": [
              "Customer",
              "Operator",
              "System"
            ]
          },
          "visibility": {
            "enum": [
              "RequesterVisible",
              "OperatorOnly",
              "ParticipantPrivate"
            ]
          },
          "privateParticipantUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "body": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "tombstoned": {
            "type": "boolean"
          }
        },
        "required": [
          "messageId",
          "authorId",
          "authorType",
          "visibility",
          "privateParticipantUserId",
          "body",
          "revision",
          "createdAt",
          "updatedAt",
          "tombstoned"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsSupportParticipantPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Requester",
              "Collaborator",
              "Claimant"
            ]
          },
          "grantsTicketAccess": {
            "type": "boolean"
          },
          "canViewTicket": {
            "type": "boolean"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "userId",
          "role",
          "grantsTicketAccess",
          "canViewTicket",
          "addedBy",
          "addedAt",
          "revokedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsSupportTransitionPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transitionId": {
            "type": "string"
          },
          "fromState": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "toState": {
            "enum": [
              "New",
              "Triage",
              "InProgress",
              "WaitingForRequester",
              "WaitingForThirdParty",
              "DecisionPending",
              "Resolved",
              "Closed",
              "Reopened"
            ]
          },
          "actorType": {
            "enum": [
              "Customer",
              "Operator",
              "System"
            ]
          },
          "actorId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingVersion": {
            "type": "integer"
          }
        },
        "required": [
          "transitionId",
          "fromState",
          "toState",
          "actorType",
          "actorId",
          "reason",
          "occurredAt",
          "resultingVersion"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsSupportHoldChanged
{
  "type": "object",
  "properties": {
    "legalHold": {
      "type": "boolean"
    }
  },
  "required": [
    "legalHold"
  ]
}
OpsSupportAttachmentPage
{
  "type": "object",
  "properties": {
    "available": {
      "type": "boolean"
    },
    "downloadAvailable": {
      "type": "boolean"
    },
    "purgeAvailable": {
      "type": "boolean"
    },
    "messageId": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/SupportAttachmentSummary"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": "null"
    },
    "acceptedTypes": {
      "type": "array",
      "const": [
        "text/plain",
        "image/png",
        "image/jpeg"
      ],
      "items": {
        "type": "string"
      }
    },
    "maximumBytes": {
      "type": "integer",
      "const": 10485760
    }
  },
  "required": [
    "available",
    "downloadAvailable",
    "purgeAvailable",
    "messageId",
    "items",
    "nextCursor",
    "totalCount",
    "acceptedTypes",
    "maximumBytes"
  ]
}
AppDataBindingVisibilityPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "enterpriseAuthorized": {
      "type": "boolean"
    },
    "statusBasis": {
      "type": "string"
    },
    "organizationDefaultRoute": {
      "type": "string"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "providers": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "supportsTransactions": {
            "type": "boolean"
          },
          "supportsAtomicUpserts": {
            "type": "boolean"
          },
          "supportsRelationalAggregation": {
            "type": "boolean"
          },
          "supportsNativeRetention": {
            "type": "boolean"
          }
        },
        "required": [
          "provider",
          "supportsTransactions",
          "supportsAtomicUpserts",
          "supportsRelationalAggregation",
          "supportsNativeRetention"
        ]
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": "string"
          },
          "configuredStatus": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "provisionedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "providerRegistered": {
            "type": "boolean"
          },
          "effectiveRoute": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "appId",
          "provider",
          "configuredStatus",
          "createdAt",
          "provisionedAt",
          "providerRegistered",
          "effectiveRoute"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "organizationDefaultRevision": {
      "type": "integer"
    },
    "scopeApplications": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "appId",
          "name"
        ]
      }
    },
    "operations": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "operationId": {
            "type": "string"
          },
          "requestId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "expectedRevision": {
            "type": "integer"
          },
          "currentRevision": {
            "type": "integer"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "operationId",
          "requestId",
          "appId",
          "provider",
          "state",
          "expectedRevision",
          "currentRevision",
          "updatedAt"
        ]
      }
    }
  },
  "required": [
    "tenantId",
    "enterpriseAuthorized",
    "statusBasis",
    "organizationDefaultRoute",
    "generatedAt",
    "providers",
    "items",
    "nextCursor"
  ]
}
AppDataBindingVisibilityItem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": "string"
    },
    "configuredStatus": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "provisionedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "providerRegistered": {
      "type": "boolean"
    },
    "effectiveRoute": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    }
  },
  "required": [
    "appId",
    "provider",
    "configuredStatus",
    "createdAt",
    "provisionedAt",
    "providerRegistered",
    "effectiveRoute"
  ]
}
AppDataProviderCapabilitySummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "provider": {
      "type": "string"
    },
    "supportsTransactions": {
      "type": "boolean"
    },
    "supportsAtomicUpserts": {
      "type": "boolean"
    },
    "supportsRelationalAggregation": {
      "type": "boolean"
    },
    "supportsNativeRetention": {
      "type": "boolean"
    }
  },
  "required": [
    "provider",
    "supportsTransactions",
    "supportsAtomicUpserts",
    "supportsRelationalAggregation",
    "supportsNativeRetention"
  ]
}
AppDataBindingScopeApplication
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "appId",
    "name"
  ]
}
AppDataBindingScope
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "provider": {
      "type": [
        "string",
        "null"
      ]
    },
    "configuredStatus": {
      "type": [
        "string",
        "null"
      ]
    },
    "operation": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "operationId": {
          "type": "string"
        },
        "requestId": {
          "type": "string"
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "provider": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "expectedRevision": {
          "type": "integer"
        },
        "currentRevision": {
          "type": "integer"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "operationId",
        "requestId",
        "appId",
        "provider",
        "state",
        "expectedRevision",
        "currentRevision",
        "updatedAt"
      ]
    },
    "requestedAppId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "appId",
    "name",
    "revision",
    "provider",
    "configuredStatus",
    "operation"
  ]
}
AppDataBindingOperation
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "operationId": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "expectedRevision": {
      "type": "integer"
    },
    "currentRevision": {
      "type": "integer"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "operationId",
    "requestId",
    "appId",
    "provider",
    "state",
    "expectedRevision",
    "currentRevision",
    "updatedAt"
  ]
}
AppDataBindingConnectionResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "checkedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "appId",
    "provider",
    "status",
    "checkedAt"
  ]
}
ObjectStorageBindingScope
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "scopeName": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "binding": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "provider": {
          "type": "string"
        },
        "container": {
          "type": "string"
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "serviceUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string"
        },
        "generationId": {
          "type": "string"
        },
        "provisionedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "provider",
        "container",
        "region",
        "serviceUrl",
        "status",
        "generationId",
        "provisionedAt"
      ]
    },
    "latestOperation": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "operationId": {
          "type": "string"
        },
        "requestId": {
          "type": "string"
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "provider": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "containerState": {
          "type": "string"
        },
        "appliedGenerationId": {
          "type": [
            "string",
            "null"
          ]
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "operationId",
        "requestId",
        "appId",
        "provider",
        "state",
        "containerState",
        "appliedGenerationId",
        "updatedAt"
      ]
    }
  },
  "required": [
    "appId",
    "scopeName",
    "version",
    "binding",
    "latestOperation"
  ]
}
ObjectStorageBindingDetails
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "provider": {
      "type": "string"
    },
    "container": {
      "type": "string"
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "serviceUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "generationId": {
      "type": "string"
    },
    "provisionedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "provider",
    "container",
    "region",
    "serviceUrl",
    "status",
    "generationId",
    "provisionedAt"
  ]
}
ObjectStorageBindingOperation
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "operationId": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "containerState": {
      "type": "string"
    },
    "appliedGenerationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "operationId",
    "requestId",
    "appId",
    "provider",
    "state",
    "containerState",
    "appliedGenerationId",
    "updatedAt"
  ]
}
ConfigureAppDataBindingRequest
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": [
        "string",
        "null"
      ]
    },
    "connectionString": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[rR][eE][qQ][uU][eE][sS][tT][iI][dD]$": {
      "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/requestId"
    },
    "^[aA][pP][pP][iI][dD]$": {
      "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/appId"
    },
    "^[pP][rR][oO][vV][iI][dD][eE][rR]$": {
      "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/provider"
    },
    "^[cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS][tT][rR][iI][nN][gG]$": {
      "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/connectionString"
    },
    "^[eE][xX][pP][eE][cC][tT][eE][dD][rR][eE][vV][iI][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/ConfigureAppDataBindingRequest/properties/expectedRevision"
    }
  }
}
TestAppDataBindingConnectionRequest
{
  "type": "object",
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[aA][pP][pP][iI][dD]$": {
      "$ref": "#/components/schemas/TestAppDataBindingConnectionRequest/properties/appId"
    }
  }
}
RetryAppDataBindingCleanupRequest
{
  "type": "object",
  "additionalProperties": false
}
ConfigureObjectStorageBindingRequest
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": [
        "string",
        "null"
      ]
    },
    "container": {
      "type": [
        "string",
        "null"
      ]
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "serviceUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "credential": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "createContainer": {
      "type": "boolean"
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[rR][eE][qQ][uU][eE][sS][tT][iI][dD]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/requestId"
    },
    "^[aA][pP][pP][iI][dD]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/appId"
    },
    "^[pP][rR][oO][vV][iI][dD][eE][rR]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/provider"
    },
    "^[cC][oO][nN][tT][aA][iI][nN][eE][rR]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/container"
    },
    "^[rR][eE][gG][iI][oO][nN]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/region"
    },
    "^[sS][eE][rR][vV][iI][cC][eE][uU][rR][lL]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/serviceUrl"
    },
    "^[cC][rR][eE][dD][eE][nN][tT][iI][aA][lL]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/credential"
    },
    "^[eE][xX][pP][eE][cC][tT][eE][dD][vV][eE][rR][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/expectedVersion"
    },
    "^[rR][eE][aA][sS][oO][nN]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/reason"
    },
    "^[cC][rR][eE][aA][tT][eE][cC][oO][nN][tT][aA][iI][nN][eE][rR]$": {
      "$ref": "#/components/schemas/ConfigureObjectStorageBindingRequest/properties/createContainer"
    }
  }
}
RetryObjectStorageCleanupRequest
{
  "type": "object",
  "additionalProperties": false
}
StatusComponent
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "componentId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Operational",
        "Degraded",
        "PartialOutage",
        "MajorOutage",
        "Maintenance"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "componentId",
    "name",
    "description",
    "status",
    "updatedAt"
  ]
}
ServiceHealthReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "monitoring": {
      "type": "object",
      "properties": {
        "state": {
          "enum": [
            "Current",
            "Stale",
            "Unavailable"
          ]
        },
        "lastCompleteCheckAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "staleComponentIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "required": [
        "state",
        "lastCompleteCheckAt",
        "staleComponentIds"
      ]
    },
    "components": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "componentId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Operational",
              "Degraded",
              "PartialOutage",
              "MajorOutage",
              "Maintenance",
              null
            ]
          },
          "observationState": {
            "enum": [
              "Current",
              "Stale",
              "Unavailable"
            ]
          },
          "lastCheckedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastSucceededAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "componentId",
          "name",
          "description",
          "status",
          "observationState",
          "lastCheckedAt",
          "lastSucceededAt",
          "source"
        ]
      }
    }
  },
  "required": [
    "generatedAt",
    "monitoring",
    "components"
  ]
}
StatusMonitoringSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "enum": [
        "Current",
        "Stale",
        "Unavailable"
      ]
    },
    "lastCompleteCheckAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "staleComponentIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "state",
    "lastCompleteCheckAt",
    "staleComponentIds"
  ]
}
MonitoredComponentHealth
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "componentId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Operational",
        "Degraded",
        "PartialOutage",
        "MajorOutage",
        "Maintenance",
        null
      ]
    },
    "observationState": {
      "enum": [
        "Current",
        "Stale",
        "Unavailable"
      ]
    },
    "lastCheckedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastSucceededAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "source": {
      "type": "string"
    }
  },
  "required": [
    "componentId",
    "name",
    "description",
    "status",
    "observationState",
    "lastCheckedAt",
    "lastSucceededAt",
    "source"
  ]
}
IncidentRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "incidentId": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "severity": {
      "enum": [
        "Minor",
        "Major",
        "Critical"
      ]
    },
    "state": {
      "enum": [
        "Investigating",
        "Identified",
        "Monitoring",
        "Resolved"
      ]
    },
    "affectedComponentIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "resolvedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updates": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "updateId": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Investigating",
              "Identified",
              "Monitoring",
              "Resolved"
            ]
          },
          "message": {
            "type": "string"
          },
          "postedAt": {
            "type": "string",
            "format": "date-time"
          },
          "postedBy": {
            "type": "string"
          }
        },
        "required": [
          "updateId",
          "state",
          "message",
          "postedAt",
          "postedBy"
        ]
      }
    },
    "monitorEpisodeId": {
      "type": [
        "string",
        "null"
      ]
    },
    "postmortemUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "metadataRevision": {
      "type": "integer"
    }
  },
  "required": [
    "incidentId",
    "title",
    "severity",
    "state",
    "affectedComponentIds",
    "startedAt",
    "resolvedAt",
    "updates"
  ]
}
IncidentUpdate
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "updateId": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Investigating",
        "Identified",
        "Monitoring",
        "Resolved"
      ]
    },
    "message": {
      "type": "string"
    },
    "postedAt": {
      "type": "string",
      "format": "date-time"
    },
    "postedBy": {
      "type": "string"
    }
  },
  "required": [
    "updateId",
    "state",
    "message",
    "postedAt",
    "postedBy"
  ]
}
StatusEvidenceImportResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "evidenceId": {
      "type": "string"
    },
    "alreadyStored": {
      "type": "boolean"
    }
  },
  "required": [
    "evidenceId",
    "alreadyStored"
  ]
}
StatusEpisodeEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "episodeId": {
      "type": "string"
    },
    "incidentId": {
      "type": "string"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "correlationBasis": {
      "type": "string"
    },
    "retentionDays": {
      "type": "integer"
    },
    "deployment": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": "integer"
        },
        "workflowRunId": {
          "type": "integer"
        },
        "workflowAttempt": {
          "type": "integer"
        },
        "sourceSha": {
          "type": "string"
        },
        "outcome": {
          "type": "string"
        },
        "startedAt": {
          "type": "string",
          "format": "date-time"
        },
        "finishedAt": {
          "type": "string",
          "format": "date-time"
        },
        "migrationOutcome": {
          "type": "string"
        },
        "resources": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "serviceCode": {
                "type": "string"
              },
              "revision": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "imageDigest": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "controlPlaneState": {
                "type": "string"
              }
            },
            "required": [
              "serviceCode",
              "revision",
              "imageDigest",
              "controlPlaneState"
            ],
            "additionalProperties": false
          }
        },
        "canaries": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "probeCode": {
                "type": "string"
              },
              "outcome": {
                "type": "string"
              },
              "durationMilliseconds": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "probeCode",
              "outcome",
              "durationMilliseconds"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "schemaVersion",
        "workflowRunId",
        "workflowAttempt",
        "sourceSha",
        "outcome",
        "startedAt",
        "finishedAt",
        "migrationOutcome",
        "resources",
        "canaries"
      ],
      "additionalProperties": false
    },
    "runtime": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "serviceCode": {
            "type": "string"
          },
          "operationCode": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "sourceSha": {
            "type": "string"
          },
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "durationMilliseconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "exceptionKind": {
            "type": [
              "string",
              "null"
            ]
          },
          "fingerprint": {
            "type": "string"
          },
          "traceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "spanId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "serviceCode",
          "operationCode",
          "kind",
          "sourceSha",
          "observedAt",
          "status",
          "durationMilliseconds",
          "exceptionKind",
          "fingerprint",
          "traceId",
          "spanId"
        ]
      }
    },
    "runtimeTruncated": {
      "type": "boolean"
    }
  },
  "required": [
    "episodeId",
    "incidentId",
    "generatedAt",
    "correlationBasis",
    "retentionDays",
    "deployment",
    "runtime",
    "runtimeTruncated"
  ]
}
StatusDeploymentManifest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "integer"
    },
    "workflowRunId": {
      "type": "integer"
    },
    "workflowAttempt": {
      "type": "integer"
    },
    "sourceSha": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "finishedAt": {
      "type": "string",
      "format": "date-time"
    },
    "migrationOutcome": {
      "type": "string"
    },
    "resources": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "serviceCode": {
            "type": "string"
          },
          "revision": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageDigest": {
            "type": [
              "string",
              "null"
            ]
          },
          "controlPlaneState": {
            "type": "string"
          }
        },
        "required": [
          "serviceCode",
          "revision",
          "imageDigest",
          "controlPlaneState"
        ],
        "additionalProperties": false
      }
    },
    "canaries": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "probeCode": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "durationMilliseconds": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "probeCode",
          "outcome",
          "durationMilliseconds"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "schemaVersion",
    "workflowRunId",
    "workflowAttempt",
    "sourceSha",
    "outcome",
    "startedAt",
    "finishedAt",
    "migrationOutcome",
    "resources",
    "canaries"
  ],
  "additionalProperties": false
}
StatusDeploymentResource
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "serviceCode": {
      "type": "string"
    },
    "revision": {
      "type": [
        "string",
        "null"
      ]
    },
    "imageDigest": {
      "type": [
        "string",
        "null"
      ]
    },
    "controlPlaneState": {
      "type": "string"
    }
  },
  "required": [
    "serviceCode",
    "revision",
    "imageDigest",
    "controlPlaneState"
  ],
  "additionalProperties": false
}
StatusDeploymentCanary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "probeCode": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "durationMilliseconds": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "probeCode",
    "outcome",
    "durationMilliseconds"
  ],
  "additionalProperties": false
}
StatusRuntimeEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "serviceCode": {
      "type": "string"
    },
    "operationCode": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "sourceSha": {
      "type": "string"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string"
    },
    "durationMilliseconds": {
      "type": [
        "number",
        "null"
      ]
    },
    "exceptionKind": {
      "type": [
        "string",
        "null"
      ]
    },
    "fingerprint": {
      "type": "string"
    },
    "traceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "spanId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "serviceCode",
    "operationCode",
    "kind",
    "sourceSha",
    "observedAt",
    "status",
    "durationMilliseconds",
    "exceptionKind",
    "fingerprint",
    "traceId",
    "spanId"
  ]
}
ComponentStatusUpdateRequest
{
  "type": "object",
  "properties": {
    "status": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[oO][pP][eE][rR][aA][tT][iI][oO][nN][aA][lL]|[dD][eE][gG][rR][aA][dD][eE][dD]|[pP][aA][rR][tT][iI][aA][lL][oO][uU][tT][aA][gG][eE]|[mM][aA][jJ][oO][rR][oO][uU][tT][aA][gG][eE]|[mM][aA][iI][nN][tT][eE][nN][aA][nN][cC][eE])(?:\\s*,\\s*(?:[oO][pP][eE][rR][aA][tT][iI][oO][nN][aA][lL]|[dD][eE][gG][rR][aA][dD][eE][dD]|[pP][aA][rR][tT][iI][aA][lL][oO][uU][tT][aA][gG][eE]|[mM][aA][jJ][oO][rR][oO][uU][tT][aA][gG][eE]|[mM][aA][iI][nN][tT][eE][nN][aA][nN][cC][eE]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Operational",
        "Degraded",
        "PartialOutage",
        "MajorOutage",
        "Maintenance"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    }
  }
}
IncidentAnnotationRequest
{
  "type": "object",
  "properties": {
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "requestId": {
      "type": "string",
      "format": "uuid"
    }
  }
}
IncidentCreateRequest
{
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "severity": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL])(?:\\s*,\\s*(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Minor",
        "Major",
        "Critical"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "affectedComponentIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
IncidentUpdateRequest
{
  "type": "object",
  "properties": {
    "state": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[iI][dD][eE][nN][tT][iI][fF][iI][eE][dD]|[mM][oO][nN][iI][tT][oO][rR][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD])(?:\\s*,\\s*(?:[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[iI][dD][eE][nN][tT][iI][fF][iI][eE][dD]|[mM][oO][nN][iI][tT][oO][rR][iI][nN][gG]|[rR][eE][sS][oO][lL][vV][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Investigating",
        "Identified",
        "Monitoring",
        "Resolved"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
IncidentMetadataUpdateRequest
{
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "severity": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL])(?:\\s*,\\s*(?:[mM][iI][nN][oO][rR]|[mM][aA][jJ][oO][rR]|[cC][rR][iI][tT][iI][cC][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Minor",
        "Major",
        "Critical"
      ],
      "description": "Canonical SDK enum names are listed above. HTTP deserialization also permits the converter's case-insensitive names and numeric forms; numeric values must fit the underlying enum type. Per-record validation remains separate."
    },
    "affectedComponentIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "postmortemUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
OpsStatusManifestInput
{
  "type": "object",
  "properties": {
    "schemaVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "workflowRunId": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "workflowAttempt": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "sourceSha": {
      "type": [
        "string",
        "null"
      ]
    },
    "outcome": {
      "type": [
        "string",
        "null"
      ]
    },
    "startedAt": {
      "type": "string",
      "format": "date-time"
    },
    "finishedAt": {
      "type": "string",
      "format": "date-time"
    },
    "migrationOutcome": {
      "type": [
        "string",
        "null"
      ]
    },
    "resources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "serviceCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "type": [
              "string",
              "null"
            ]
          },
          "imageDigest": {
            "type": [
              "string",
              "null"
            ]
          },
          "controlPlaneState": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[sS][eE][rR][vV][iI][cC][eE][cC][oO][dD][eE]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/serviceCode"
          },
          "^[rR][eE][vV][iI][sS][iI][oO][nN]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/revision"
          },
          "^[iI][mM][aA][gG][eE][dD][iI][gG][eE][sS][tT]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/imageDigest"
          },
          "^[cC][oO][nN][tT][rR][oO][lL][pP][lL][aA][nN][eE][sS][tT][aA][tT][eE]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources/items/properties/controlPlaneState"
          }
        }
      }
    },
    "canaries": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "probeCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "type": [
              "string",
              "null"
            ]
          },
          "durationMilliseconds": {
            "type": [
              "string",
              "number",
              "null"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[pP][rR][oO][bB][eE][cC][oO][dD][eE]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries/items/properties/probeCode"
          },
          "^[oO][uU][tT][cC][oO][mM][eE]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries/items/properties/outcome"
          },
          "^[dD][uU][rR][aA][tT][iI][oO][nN][mM][iI][lL][lL][iI][sS][eE][cC][oO][nN][dD][sS]$": {
            "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries/items/properties/durationMilliseconds"
          }
        }
      }
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[sS][cC][hH][eE][mM][aA][vV][eE][rR][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/schemaVersion"
    },
    "^[wW][oO][rR][kK][fF][lL][oO][wW][rR][uU][nN][iI][dD]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/workflowRunId"
    },
    "^[wW][oO][rR][kK][fF][lL][oO][wW][aA][tT][tT][eE][mM][pP][tT]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/workflowAttempt"
    },
    "^[sS][oO][uU][rR][cC][eE][sS][hH][aA]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/sourceSha"
    },
    "^[oO][uU][tT][cC][oO][mM][eE]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/outcome"
    },
    "^[sS][tT][aA][rR][tT][eE][dD][aA][tT]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/startedAt"
    },
    "^[fF][iI][nN][iI][sS][hH][eE][dD][aA][tT]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/finishedAt"
    },
    "^[mM][iI][gG][rR][aA][tT][iI][oO][nN][oO][uU][tT][cC][oO][mM][eE]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/migrationOutcome"
    },
    "^[rR][eE][sS][oO][uU][rR][cC][eE][sS]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/resources"
    },
    "^[cC][aA][nN][aA][rR][iI][eE][sS]$": {
      "$ref": "#/components/schemas/OpsStatusManifestInput/properties/canaries"
    }
  }
}
OpsStatusComponents
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "componentId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "status": {
        "enum": [
          "Operational",
          "Degraded",
          "PartialOutage",
          "MajorOutage",
          "Maintenance"
        ]
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "componentId",
      "name",
      "description",
      "status",
      "updatedAt"
    ]
  }
}
OpsStatusIncidents
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "incidentId": {
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "severity": {
        "enum": [
          "Minor",
          "Major",
          "Critical"
        ]
      },
      "state": {
        "enum": [
          "Investigating",
          "Identified",
          "Monitoring",
          "Resolved"
        ]
      },
      "affectedComponentIds": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "startedAt": {
        "type": "string",
        "format": "date-time"
      },
      "resolvedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "updates": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "updateId": {
              "type": "string"
            },
            "state": {
              "enum": [
                "Investigating",
                "Identified",
                "Monitoring",
                "Resolved"
              ]
            },
            "message": {
              "type": "string"
            },
            "postedAt": {
              "type": "string",
              "format": "date-time"
            },
            "postedBy": {
              "type": "string"
            }
          },
          "required": [
            "updateId",
            "state",
            "message",
            "postedAt",
            "postedBy"
          ]
        }
      },
      "monitorEpisodeId": {
        "type": [
          "string",
          "null"
        ]
      },
      "postmortemUrl": {
        "type": [
          "string",
          "null"
        ]
      },
      "metadataRevision": {
        "type": "integer"
      }
    },
    "required": [
      "incidentId",
      "title",
      "severity",
      "state",
      "affectedComponentIds",
      "startedAt",
      "resolvedAt",
      "updates"
    ]
  }
}
OpsStatusIncidentPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "incidentId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "severity": {
            "enum": [
              "Minor",
              "Major",
              "Critical"
            ]
          },
          "state": {
            "enum": [
              "Investigating",
              "Identified",
              "Monitoring",
              "Resolved"
            ]
          },
          "affectedComponentIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "updates": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "updateId": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "Investigating",
                    "Identified",
                    "Monitoring",
                    "Resolved"
                  ]
                },
                "message": {
                  "type": "string"
                },
                "postedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "postedBy": {
                  "type": "string"
                }
              },
              "required": [
                "updateId",
                "state",
                "message",
                "postedAt",
                "postedBy"
              ]
            }
          },
          "monitorEpisodeId": {
            "type": [
              "string",
              "null"
            ]
          },
          "postmortemUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "metadataRevision": {
            "type": "integer"
          }
        },
        "required": [
          "incidentId",
          "title",
          "severity",
          "state",
          "affectedComponentIds",
          "startedAt",
          "resolvedAt",
          "updates"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
StaffBillingUsageRead
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "period": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "startsAt": {
          "type": "string",
          "format": "date-time"
        },
        "endsAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "startsAt",
        "endsAt"
      ]
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "signals": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "signal": {
            "type": "string"
          },
          "configuration": {
            "type": "string"
          },
          "availability": {
            "type": "string"
          },
          "acceptedUnits": {
            "type": [
              "integer",
              "null"
            ]
          },
          "baselineConfirmed": {
            "type": "boolean"
          }
        },
        "required": [
          "signal",
          "configuration",
          "availability",
          "acceptedUnits",
          "baselineConfirmed"
        ]
      }
    }
  },
  "required": [
    "tenantId",
    "period",
    "observedAt",
    "signals"
  ]
}
StaffBillingUsageSignal
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "signal": {
      "type": "string"
    },
    "configuration": {
      "type": "string"
    },
    "availability": {
      "type": "string"
    },
    "acceptedUnits": {
      "type": [
        "integer",
        "null"
      ]
    },
    "baselineConfirmed": {
      "type": "boolean"
    }
  },
  "required": [
    "signal",
    "configuration",
    "availability",
    "acceptedUnits",
    "baselineConfirmed"
  ]
}
StaffBillingSubscriptionRead
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "assignment": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "planKey": {
          "type": "string"
        },
        "assignedAt": {
          "type": "string",
          "format": "date-time"
        },
        "assignedBy": {
          "type": "string"
        }
      },
      "required": [
        "tenantId",
        "planKey",
        "assignedAt",
        "assignedBy"
      ]
    },
    "subscription": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "providerCustomerId": {
          "type": "string"
        },
        "providerSubscriptionId": {
          "type": "string"
        },
        "planKey": {
          "type": "string"
        },
        "status": {
          "enum": [
            "Unknown",
            "Incomplete",
            "IncompleteExpired",
            "Trialing",
            "Active",
            "PastDue",
            "Unpaid",
            "Paused",
            "Canceled"
          ]
        },
        "entitled": {
          "type": "boolean"
        },
        "cancelAtPeriodEnd": {
          "type": "boolean"
        },
        "currentPeriodStart": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "currentPeriodEnd": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "trialEndsAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "pastDueSince": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastPaymentFailedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastPaymentSucceededAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "pendingPlanKey": {
          "type": [
            "string",
            "null"
          ]
        },
        "pendingPlanTiming": {
          "enum": [
            "Immediate",
            "PeriodEnd",
            null
          ]
        },
        "pendingPlanStatus": {
          "enum": [
            "ProviderConfirmationPending",
            "Scheduled",
            "PaymentRequired",
            "Reversed",
            null
          ]
        },
        "pendingPlanEffectiveAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "paidThrough": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "renewalAnchor": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "recoveryDeadline": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "planGeneration": {
          "type": "integer"
        },
        "purchaseInterval": {
          "enum": [
            "Monthly",
            "Annual",
            null
          ]
        }
      },
      "required": [
        "tenantId",
        "provider",
        "providerCustomerId",
        "providerSubscriptionId",
        "planKey",
        "status",
        "entitled",
        "cancelAtPeriodEnd",
        "currentPeriodStart",
        "currentPeriodEnd",
        "trialEndsAt",
        "pastDueSince",
        "lastPaymentFailedAt",
        "lastPaymentSucceededAt",
        "updatedAt",
        "pendingPlanKey",
        "pendingPlanTiming",
        "pendingPlanStatus",
        "pendingPlanEffectiveAt",
        "paidThrough",
        "renewalAnchor",
        "recoveryDeadline"
      ]
    }
  },
  "required": [
    "tenantId",
    "assignment",
    "subscription"
  ]
}
StaffBillingPlanAssignment
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "planKey": {
      "type": "string"
    },
    "assignedAt": {
      "type": "string",
      "format": "date-time"
    },
    "assignedBy": {
      "type": "string"
    }
  },
  "required": [
    "tenantId",
    "planKey",
    "assignedAt",
    "assignedBy"
  ]
}
StaffBillingSubscription
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "providerCustomerId": {
      "type": "string"
    },
    "providerSubscriptionId": {
      "type": "string"
    },
    "planKey": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Unknown",
        "Incomplete",
        "IncompleteExpired",
        "Trialing",
        "Active",
        "PastDue",
        "Unpaid",
        "Paused",
        "Canceled"
      ]
    },
    "entitled": {
      "type": "boolean"
    },
    "cancelAtPeriodEnd": {
      "type": "boolean"
    },
    "currentPeriodStart": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "currentPeriodEnd": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "trialEndsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "pastDueSince": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastPaymentFailedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastPaymentSucceededAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "pendingPlanKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "pendingPlanTiming": {
      "enum": [
        "Immediate",
        "PeriodEnd",
        null
      ]
    },
    "pendingPlanStatus": {
      "enum": [
        "ProviderConfirmationPending",
        "Scheduled",
        "PaymentRequired",
        "Reversed",
        null
      ]
    },
    "pendingPlanEffectiveAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "paidThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "renewalAnchor": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "recoveryDeadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "planGeneration": {
      "type": "integer"
    },
    "purchaseInterval": {
      "enum": [
        "Monthly",
        "Annual",
        null
      ]
    }
  },
  "required": [
    "tenantId",
    "provider",
    "providerCustomerId",
    "providerSubscriptionId",
    "planKey",
    "status",
    "entitled",
    "cancelAtPeriodEnd",
    "currentPeriodStart",
    "currentPeriodEnd",
    "trialEndsAt",
    "pastDueSince",
    "lastPaymentFailedAt",
    "lastPaymentSucceededAt",
    "updatedAt",
    "pendingPlanKey",
    "pendingPlanTiming",
    "pendingPlanStatus",
    "pendingPlanEffectiveAt",
    "paidThrough",
    "renewalAnchor",
    "recoveryDeadline"
  ]
}
BillingPriceNoticeStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "noticeId": {
      "type": "string"
    },
    "planName": {
      "type": "string"
    },
    "purchaseInterval": {
      "enum": [
        "Monthly",
        "Annual"
      ]
    },
    "currentPrice": {
      "type": "number"
    },
    "targetPrice": {
      "type": "number"
    },
    "sourceCatalogRevision": {
      "type": "string"
    },
    "targetCatalogRevision": {
      "type": "string"
    },
    "sourceGeneration": {
      "type": "integer"
    },
    "state": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "noticeAcceptedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "effectiveAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "noticeId",
    "planName",
    "purchaseInterval",
    "currentPrice",
    "targetPrice",
    "sourceCatalogRevision",
    "targetCatalogRevision",
    "sourceGeneration",
    "state",
    "createdAt",
    "noticeAcceptedAt",
    "effectiveAt"
  ]
}
BillingPriceNoticeOutcome
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "outcome": {
      "type": "string"
    }
  },
  "required": [
    "outcome"
  ]
}
BillingPriceNoticeHistoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "noticeId": {
            "type": "string"
          },
          "planName": {
            "type": "string"
          },
          "purchaseInterval": {
            "enum": [
              "Monthly",
              "Annual"
            ]
          },
          "currentPrice": {
            "type": "number"
          },
          "targetPrice": {
            "type": "number"
          },
          "sourceCatalogRevision": {
            "type": "string"
          },
          "targetCatalogRevision": {
            "type": "string"
          },
          "sourceGeneration": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "noticeAcceptedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "effectiveAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "noticeId",
          "planName",
          "purchaseInterval",
          "currentPrice",
          "targetPrice",
          "sourceCatalogRevision",
          "targetCatalogRevision",
          "sourceGeneration",
          "state",
          "createdAt",
          "noticeAcceptedAt",
          "effectiveAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "hasActiveNotice": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "nextCursor",
    "hasActiveNotice"
  ]
}
EnterpriseBillingWorkspace
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "offering": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "offeringId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "monthlyPrice": {
          "type": "number"
        },
        "includedSmsSegments": {
          "type": "integer"
        },
        "includedMaus": {
          "type": "integer"
        },
        "entitlements": {
          "type": "array"
        },
        "notes": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "createdBy": {
          "type": "string"
        },
        "allowancePeriod": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "serviceStartsAtUtc": {
              "type": "string",
              "format": "date-time"
            },
            "anchorDayOfMonth": {
              "type": "integer"
            },
            "evidenceKind": {
              "type": "string"
            },
            "serviceStartEvidenceId": {
              "type": "string"
            },
            "calendarResetTimeZone": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "serviceStartsAtUtc",
            "anchorDayOfMonth",
            "evidenceKind",
            "serviceStartEvidenceId"
          ]
        },
        "offeringDefinition": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "version": {
              "type": "string"
            },
            "catalogRevision": {
              "type": "string"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "visibility": {
              "type": "string"
            },
            "effectiveFrom": {
              "type": "string",
              "format": "date-time"
            },
            "currency": {
              "type": "string"
            },
            "monthlyPrice": {
              "type": "number"
            },
            "acceptedTelemetryRecords": {
              "type": "object",
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            },
            "telemetryOverage": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "block": {
                  "type": "object",
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                },
                "usdPrice": {
                  "type": "number"
                }
              },
              "required": [
                "block",
                "usdPrice"
              ]
            },
            "eligibility": {
              "type": "object",
              "properties": {
                "activeIdentities": {
                  "type": "integer"
                },
                "logicalApps": {
                  "type": "integer"
                },
                "humanOperators": {
                  "type": "integer"
                },
                "freeGraceHours": {
                  "type": "integer",
                  "default": 24
                },
                "paidTransitionDays": {
                  "type": "integer",
                  "default": 30
                },
                "unlimited": {
                  "type": "boolean"
                }
              },
              "required": [
                "activeIdentities",
                "logicalApps",
                "humanOperators"
              ]
            },
            "rawRetentionDays": {
              "type": "integer"
            },
            "aggregateRetentionMonths": {
              "type": "integer"
            },
            "includedServices": {
              "type": "object",
              "properties": {
                "smartLinkResolutions": {
                  "type": "integer"
                },
                "acceptedPushDeliveries": {
                  "type": "integer"
                },
                "inAppImpressions": {
                  "type": "integer"
                },
                "locationUpdates": {
                  "type": "integer"
                }
              },
              "required": [
                "smartLinkResolutions",
                "acceptedPushDeliveries",
                "inAppImpressions",
                "locationUpdates"
              ]
            },
            "includedStorage": {
              "type": "object",
              "properties": {
                "releaseContentBytes": {
                  "type": "integer"
                },
                "symbolUploadContentBytes": {
                  "type": "integer"
                },
                "monthlyServedDownloadBytes": {
                  "type": "integer"
                }
              },
              "required": [
                "releaseContentBytes",
                "symbolUploadContentBytes",
                "monthlyServedDownloadBytes"
              ]
            },
            "capabilities": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "packageCatalogRevision": {
              "type": "string"
            },
            "carrierRateRevision": {
              "type": "string"
            },
            "paymentRoute": {
              "type": "string"
            },
            "requiresEnterpriseAgreement": {
              "type": "boolean"
            },
            "initialTermMonths": {
              "type": "integer",
              "default": 0
            },
            "onboardingHours": {
              "type": "integer",
              "default": 0
            },
            "monthlyAdvisoryHours": {
              "type": "integer",
              "default": 0
            },
            "basedOnTemplateVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "serviceCommitments": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "supportWindow": {
                  "type": "string"
                },
                "priorityQueue": {
                  "type": "boolean"
                },
                "namedEscalationContact": {
                  "type": "boolean"
                },
                "quarterlyServiceReview": {
                  "type": "boolean"
                },
                "slaIncluded": {
                  "type": "boolean",
                  "default": false
                },
                "dedicatedDeploymentIncluded": {
                  "type": "boolean",
                  "default": false
                },
                "automaticCarrierDiscount": {
                  "type": "boolean",
                  "default": false
                },
                "advisoryHoursRollOver": {
                  "type": "boolean",
                  "default": false
                },
                "bespokeEngineeringIncluded": {
                  "type": "boolean",
                  "default": false
                }
              },
              "required": [
                "supportWindow",
                "priorityQueue",
                "namedEscalationContact",
                "quarterlyServiceReview"
              ],
              "default": null
            },
            "rawRetentionMonths": {
              "type": [
                "integer",
                "null"
              ]
            },
            "annualPrice": {
              "type": [
                "number",
                "null"
              ]
            },
            "organizationLimit": {
              "type": [
                "integer",
                "null"
              ]
            },
            "externalAgreement": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "totalAmount": {
                  "type": "number"
                },
                "endsAtUtc": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "totalAmount",
                "endsAtUtc"
              ]
            },
            "shareTelemetryAcrossOrganizations": {
              "type": "boolean"
            },
            "selectedPackages": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "revision"
                ]
              }
            }
          },
          "required": [
            "version",
            "catalogRevision",
            "key",
            "name",
            "visibility",
            "effectiveFrom",
            "currency",
            "monthlyPrice",
            "acceptedTelemetryRecords",
            "telemetryOverage",
            "eligibility",
            "rawRetentionDays",
            "aggregateRetentionMonths",
            "includedServices",
            "includedStorage",
            "capabilities",
            "packageCatalogRevision",
            "carrierRateRevision",
            "paymentRoute",
            "requiresEnterpriseAgreement"
          ]
        },
        "telemetryAllowances": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "version": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "signals": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "mode": {
                    "type": "integer",
                    "default": 0
                  },
                  "unit": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyUnits": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  }
                }
              },
              "default": null
            },
            "accountUnlimited": {
              "type": "boolean"
            }
          }
        }
      },
      "required": [
        "offeringId",
        "tenantId",
        "name",
        "monthlyPrice",
        "includedSmsSegments",
        "includedMaus",
        "entitlements",
        "notes",
        "createdAt",
        "createdBy"
      ]
    },
    "account": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "accountId": {
          "type": [
            "string",
            "null"
          ]
        },
        "state": {
          "type": "string"
        },
        "providerCustomerId": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": "string"
        },
        "createdAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "accountId",
        "state",
        "providerCustomerId",
        "source",
        "createdAt"
      ]
    },
    "subscriptionStatus": {
      "type": [
        "string",
        "null"
      ]
    },
    "priorPaidThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "invoices": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "invoiceId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "offeringId": {
            "type": "string"
          },
          "amountMinor": {
            "type": "integer"
          },
          "currency": {
            "type": "string"
          },
          "servicePeriodStart": {
            "type": "string",
            "format": "date-time"
          },
          "servicePeriodEnd": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": "string",
            "format": "date-time"
          },
          "creationState": {
            "type": "string"
          },
          "providerInvoiceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "hostedInvoiceUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastPaymentFailedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "invoiceId",
          "tenantId",
          "offeringId",
          "amountMinor",
          "currency",
          "servicePeriodStart",
          "servicePeriodEnd",
          "dueAt",
          "creationState",
          "providerInvoiceId",
          "providerStatus",
          "hostedInvoiceUrl",
          "lastPaymentFailedAt",
          "createdAt"
        ]
      }
    },
    "hasMoreInvoices": {
      "type": "boolean"
    },
    "providerAvailable": {
      "type": "boolean"
    },
    "externallyBilled": {
      "type": "boolean"
    }
  },
  "required": [
    "tenantId",
    "offering",
    "account",
    "subscriptionStatus",
    "priorPaidThrough",
    "invoices",
    "hasMoreInvoices",
    "providerAvailable"
  ]
}
EnterpriseBillingAccount
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "accountId": {
      "type": [
        "string",
        "null"
      ]
    },
    "state": {
      "type": "string"
    },
    "providerCustomerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": "string"
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "accountId",
    "state",
    "providerCustomerId",
    "source",
    "createdAt"
  ]
}
EnterpriseInvoice
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "invoiceId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "offeringId": {
      "type": "string"
    },
    "amountMinor": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "servicePeriodStart": {
      "type": "string",
      "format": "date-time"
    },
    "servicePeriodEnd": {
      "type": "string",
      "format": "date-time"
    },
    "dueAt": {
      "type": "string",
      "format": "date-time"
    },
    "creationState": {
      "type": "string"
    },
    "providerInvoiceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "providerStatus": {
      "type": [
        "string",
        "null"
      ]
    },
    "hostedInvoiceUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "lastPaymentFailedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "invoiceId",
    "tenantId",
    "offeringId",
    "amountMinor",
    "currency",
    "servicePeriodStart",
    "servicePeriodEnd",
    "dueAt",
    "creationState",
    "providerInvoiceId",
    "providerStatus",
    "hostedInvoiceUrl",
    "lastPaymentFailedAt",
    "createdAt"
  ]
}
BillingContact
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "addressLine1": {
      "type": [
        "string",
        "null"
      ]
    },
    "addressLine2": {
      "type": [
        "string",
        "null"
      ]
    },
    "city": {
      "type": [
        "string",
        "null"
      ]
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "postalCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "country": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "email",
    "name",
    "addressLine1",
    "addressLine2",
    "city",
    "region",
    "postalCode",
    "country"
  ]
}
CustomOffering
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "offeringId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "monthlyPrice": {
      "type": "number"
    },
    "includedSmsSegments": {
      "type": "integer"
    },
    "includedMaus": {
      "type": "integer"
    },
    "entitlements": {
      "type": "array"
    },
    "notes": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string"
    },
    "allowancePeriod": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "serviceStartsAtUtc": {
          "type": "string",
          "format": "date-time"
        },
        "anchorDayOfMonth": {
          "type": "integer"
        },
        "evidenceKind": {
          "type": "string"
        },
        "serviceStartEvidenceId": {
          "type": "string"
        },
        "calendarResetTimeZone": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "serviceStartsAtUtc",
        "anchorDayOfMonth",
        "evidenceKind",
        "serviceStartEvidenceId"
      ]
    },
    "offeringDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": "string"
        },
        "catalogRevision": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "visibility": {
          "type": "string"
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": "string"
        },
        "monthlyPrice": {
          "type": "number"
        },
        "acceptedTelemetryRecords": {
          "type": "object",
          "properties": {
            "unit": {
              "type": "string"
            },
            "limit": {
              "type": "integer"
            }
          },
          "required": [
            "unit",
            "limit"
          ]
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": "object",
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            },
            "usdPrice": {
              "type": "number"
            }
          },
          "required": [
            "block",
            "usdPrice"
          ]
        },
        "eligibility": {
          "type": "object",
          "properties": {
            "activeIdentities": {
              "type": "integer"
            },
            "logicalApps": {
              "type": "integer"
            },
            "humanOperators": {
              "type": "integer"
            },
            "freeGraceHours": {
              "type": "integer",
              "default": 24
            },
            "paidTransitionDays": {
              "type": "integer",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          },
          "required": [
            "activeIdentities",
            "logicalApps",
            "humanOperators"
          ]
        },
        "rawRetentionDays": {
          "type": "integer"
        },
        "aggregateRetentionMonths": {
          "type": "integer"
        },
        "includedServices": {
          "type": "object",
          "properties": {
            "smartLinkResolutions": {
              "type": "integer"
            },
            "acceptedPushDeliveries": {
              "type": "integer"
            },
            "inAppImpressions": {
              "type": "integer"
            },
            "locationUpdates": {
              "type": "integer"
            }
          },
          "required": [
            "smartLinkResolutions",
            "acceptedPushDeliveries",
            "inAppImpressions",
            "locationUpdates"
          ]
        },
        "includedStorage": {
          "type": "object",
          "properties": {
            "releaseContentBytes": {
              "type": "integer"
            },
            "symbolUploadContentBytes": {
              "type": "integer"
            },
            "monthlyServedDownloadBytes": {
              "type": "integer"
            }
          },
          "required": [
            "releaseContentBytes",
            "symbolUploadContentBytes",
            "monthlyServedDownloadBytes"
          ]
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": "string"
        },
        "carrierRateRevision": {
          "type": "string"
        },
        "paymentRoute": {
          "type": "string"
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": "integer",
          "default": 0
        },
        "onboardingHours": {
          "type": "integer",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": "integer",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": "string"
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "required": [
            "supportWindow",
            "priorityQueue",
            "namedEscalationContact",
            "quarterlyServiceReview"
          ],
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "annualPrice": {
          "type": [
            "number",
            "null"
          ]
        },
        "organizationLimit": {
          "type": [
            "integer",
            "null"
          ]
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": "number"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "revision": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "revision"
            ]
          }
        }
      },
      "required": [
        "version",
        "catalogRevision",
        "key",
        "name",
        "visibility",
        "effectiveFrom",
        "currency",
        "monthlyPrice",
        "acceptedTelemetryRecords",
        "telemetryOverage",
        "eligibility",
        "rawRetentionDays",
        "aggregateRetentionMonths",
        "includedServices",
        "includedStorage",
        "capabilities",
        "packageCatalogRevision",
        "carrierRateRevision",
        "paymentRoute",
        "requiresEnterpriseAgreement"
      ]
    },
    "telemetryAllowances": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "signals": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "mode": {
                "type": "integer",
                "default": 0
              },
              "unit": {
                "type": "integer",
                "default": 0
              },
              "monthlyUnits": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              }
            }
          },
          "default": null
        },
        "accountUnlimited": {
          "type": "boolean"
        }
      }
    }
  },
  "required": [
    "offeringId",
    "tenantId",
    "name",
    "monthlyPrice",
    "includedSmsSegments",
    "includedMaus",
    "entitlements",
    "notes",
    "createdAt",
    "createdBy"
  ]
}
OfferingEntitlementOption
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "label": {
      "type": "string"
    }
  },
  "required": [
    "key",
    "label"
  ]
}
OfferingCatalogSnapshot
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "version": {
      "type": "string"
    },
    "effectiveFrom": {
      "type": "string",
      "format": "date-time"
    },
    "plans": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "catalogRevision": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "visibility": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string",
            "format": "date-time"
          },
          "currency": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "acceptedTelemetryRecords": {
            "type": "object",
            "properties": {
              "unit": {
                "type": "string"
              },
              "limit": {
                "type": "integer"
              }
            },
            "required": [
              "unit",
              "limit"
            ]
          },
          "telemetryOverage": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "block": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "usdPrice": {
                "type": "number"
              }
            },
            "required": [
              "block",
              "usdPrice"
            ]
          },
          "eligibility": {
            "type": "object",
            "properties": {
              "activeIdentities": {
                "type": "integer"
              },
              "logicalApps": {
                "type": "integer"
              },
              "humanOperators": {
                "type": "integer"
              },
              "freeGraceHours": {
                "type": "integer",
                "default": 24
              },
              "paidTransitionDays": {
                "type": "integer",
                "default": 30
              },
              "unlimited": {
                "type": "boolean"
              }
            },
            "required": [
              "activeIdentities",
              "logicalApps",
              "humanOperators"
            ]
          },
          "rawRetentionDays": {
            "type": "integer"
          },
          "aggregateRetentionMonths": {
            "type": "integer"
          },
          "includedServices": {
            "type": "object",
            "properties": {
              "smartLinkResolutions": {
                "type": "integer"
              },
              "acceptedPushDeliveries": {
                "type": "integer"
              },
              "inAppImpressions": {
                "type": "integer"
              },
              "locationUpdates": {
                "type": "integer"
              }
            },
            "required": [
              "smartLinkResolutions",
              "acceptedPushDeliveries",
              "inAppImpressions",
              "locationUpdates"
            ]
          },
          "includedStorage": {
            "type": "object",
            "properties": {
              "releaseContentBytes": {
                "type": "integer"
              },
              "symbolUploadContentBytes": {
                "type": "integer"
              },
              "monthlyServedDownloadBytes": {
                "type": "integer"
              }
            },
            "required": [
              "releaseContentBytes",
              "symbolUploadContentBytes",
              "monthlyServedDownloadBytes"
            ]
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "packageCatalogRevision": {
            "type": "string"
          },
          "carrierRateRevision": {
            "type": "string"
          },
          "paymentRoute": {
            "type": "string"
          },
          "requiresEnterpriseAgreement": {
            "type": "boolean"
          },
          "initialTermMonths": {
            "type": "integer",
            "default": 0
          },
          "onboardingHours": {
            "type": "integer",
            "default": 0
          },
          "monthlyAdvisoryHours": {
            "type": "integer",
            "default": 0
          },
          "basedOnTemplateVersion": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "serviceCommitments": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "supportWindow": {
                "type": "string"
              },
              "priorityQueue": {
                "type": "boolean"
              },
              "namedEscalationContact": {
                "type": "boolean"
              },
              "quarterlyServiceReview": {
                "type": "boolean"
              },
              "slaIncluded": {
                "type": "boolean",
                "default": false
              },
              "dedicatedDeploymentIncluded": {
                "type": "boolean",
                "default": false
              },
              "automaticCarrierDiscount": {
                "type": "boolean",
                "default": false
              },
              "advisoryHoursRollOver": {
                "type": "boolean",
                "default": false
              },
              "bespokeEngineeringIncluded": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "supportWindow",
              "priorityQueue",
              "namedEscalationContact",
              "quarterlyServiceReview"
            ],
            "default": null
          },
          "rawRetentionMonths": {
            "type": [
              "integer",
              "null"
            ]
          },
          "annualPrice": {
            "type": [
              "number",
              "null"
            ]
          },
          "organizationLimit": {
            "type": [
              "integer",
              "null"
            ]
          },
          "externalAgreement": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "totalAmount": {
                "type": "number"
              },
              "endsAtUtc": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "totalAmount",
              "endsAtUtc"
            ]
          },
          "shareTelemetryAcrossOrganizations": {
            "type": "boolean"
          },
          "selectedPackages": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "revision": {
                  "type": "string"
                }
              },
              "required": [
                "key",
                "revision"
              ]
            }
          }
        },
        "required": [
          "version",
          "catalogRevision",
          "key",
          "name",
          "visibility",
          "effectiveFrom",
          "currency",
          "monthlyPrice",
          "acceptedTelemetryRecords",
          "telemetryOverage",
          "eligibility",
          "rawRetentionDays",
          "aggregateRetentionMonths",
          "includedServices",
          "includedStorage",
          "capabilities",
          "packageCatalogRevision",
          "carrierRateRevision",
          "paymentRoute",
          "requiresEnterpriseAgreement"
        ]
      }
    },
    "enterpriseTemplates": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OfferingCatalogSnapshot/properties/plans/items"
      }
    },
    "packages": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revision": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "combination": {
            "type": "string"
          },
          "quantities": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            }
          },
          "optionalBlocks": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "block": {
                  "$ref": "#/components/schemas/OfferingCatalogSnapshot/properties/plans/items/properties/telemetryOverage/properties/block"
                },
                "usdPrice": {
                  "type": "number"
                }
              },
              "required": [
                "block",
                "usdPrice"
              ]
            }
          }
        },
        "required": [
          "revision",
          "key",
          "product",
          "level",
          "currency",
          "monthlyPrice",
          "combination",
          "quantities",
          "optionalBlocks"
        ]
      }
    },
    "carrierRates": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revision": {
            "type": "string"
          },
          "market": {
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "senderScope": {
            "type": "string"
          },
          "channel": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "bands": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "throughCumulativeUnits": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "usdPerUnit": {
                  "type": "number"
                }
              },
              "required": [
                "throughCumulativeUnits",
                "usdPerUnit"
              ]
            }
          }
        },
        "required": [
          "revision",
          "market",
          "direction",
          "senderScope",
          "channel",
          "unit",
          "bands"
        ]
      }
    },
    "enterpriseQualification": {
      "type": "object",
      "properties": {
        "groupEmployees": {
          "type": "integer"
        },
        "consolidatedAnnualUsdRevenueOrBudget": {
          "type": "number"
        },
        "verifiedTransitionDays": {
          "type": "integer"
        }
      },
      "required": [
        "groupEmployees",
        "consolidatedAnnualUsdRevenueOrBudget",
        "verifiedTransitionDays"
      ]
    }
  },
  "required": [
    "version",
    "effectiveFrom",
    "plans",
    "enterpriseTemplates",
    "packages",
    "carrierRates",
    "enterpriseQualification"
  ]
}
OfferingDefinition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "version": {
      "type": "string"
    },
    "catalogRevision": {
      "type": "string"
    },
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "visibility": {
      "type": "string"
    },
    "effectiveFrom": {
      "type": "string",
      "format": "date-time"
    },
    "currency": {
      "type": "string"
    },
    "monthlyPrice": {
      "type": "number"
    },
    "acceptedTelemetryRecords": {
      "type": "object",
      "properties": {
        "unit": {
          "type": "string"
        },
        "limit": {
          "type": "integer"
        }
      },
      "required": [
        "unit",
        "limit"
      ]
    },
    "telemetryOverage": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "block": {
          "type": "object",
          "properties": {
            "unit": {
              "type": "string"
            },
            "limit": {
              "type": "integer"
            }
          },
          "required": [
            "unit",
            "limit"
          ]
        },
        "usdPrice": {
          "type": "number"
        }
      },
      "required": [
        "block",
        "usdPrice"
      ]
    },
    "eligibility": {
      "type": "object",
      "properties": {
        "activeIdentities": {
          "type": "integer"
        },
        "logicalApps": {
          "type": "integer"
        },
        "humanOperators": {
          "type": "integer"
        },
        "freeGraceHours": {
          "type": "integer",
          "default": 24
        },
        "paidTransitionDays": {
          "type": "integer",
          "default": 30
        },
        "unlimited": {
          "type": "boolean"
        }
      },
      "required": [
        "activeIdentities",
        "logicalApps",
        "humanOperators"
      ]
    },
    "rawRetentionDays": {
      "type": "integer"
    },
    "aggregateRetentionMonths": {
      "type": "integer"
    },
    "includedServices": {
      "type": "object",
      "properties": {
        "smartLinkResolutions": {
          "type": "integer"
        },
        "acceptedPushDeliveries": {
          "type": "integer"
        },
        "inAppImpressions": {
          "type": "integer"
        },
        "locationUpdates": {
          "type": "integer"
        }
      },
      "required": [
        "smartLinkResolutions",
        "acceptedPushDeliveries",
        "inAppImpressions",
        "locationUpdates"
      ]
    },
    "includedStorage": {
      "type": "object",
      "properties": {
        "releaseContentBytes": {
          "type": "integer"
        },
        "symbolUploadContentBytes": {
          "type": "integer"
        },
        "monthlyServedDownloadBytes": {
          "type": "integer"
        }
      },
      "required": [
        "releaseContentBytes",
        "symbolUploadContentBytes",
        "monthlyServedDownloadBytes"
      ]
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "packageCatalogRevision": {
      "type": "string"
    },
    "carrierRateRevision": {
      "type": "string"
    },
    "paymentRoute": {
      "type": "string"
    },
    "requiresEnterpriseAgreement": {
      "type": "boolean"
    },
    "initialTermMonths": {
      "type": "integer",
      "default": 0
    },
    "onboardingHours": {
      "type": "integer",
      "default": 0
    },
    "monthlyAdvisoryHours": {
      "type": "integer",
      "default": 0
    },
    "basedOnTemplateVersion": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "serviceCommitments": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "supportWindow": {
          "type": "string"
        },
        "priorityQueue": {
          "type": "boolean"
        },
        "namedEscalationContact": {
          "type": "boolean"
        },
        "quarterlyServiceReview": {
          "type": "boolean"
        },
        "slaIncluded": {
          "type": "boolean",
          "default": false
        },
        "dedicatedDeploymentIncluded": {
          "type": "boolean",
          "default": false
        },
        "automaticCarrierDiscount": {
          "type": "boolean",
          "default": false
        },
        "advisoryHoursRollOver": {
          "type": "boolean",
          "default": false
        },
        "bespokeEngineeringIncluded": {
          "type": "boolean",
          "default": false
        }
      },
      "required": [
        "supportWindow",
        "priorityQueue",
        "namedEscalationContact",
        "quarterlyServiceReview"
      ],
      "default": null
    },
    "rawRetentionMonths": {
      "type": [
        "integer",
        "null"
      ]
    },
    "annualPrice": {
      "type": [
        "number",
        "null"
      ]
    },
    "organizationLimit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "externalAgreement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "totalAmount": {
          "type": "number"
        },
        "endsAtUtc": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "totalAmount",
        "endsAtUtc"
      ]
    },
    "shareTelemetryAcrossOrganizations": {
      "type": "boolean"
    },
    "selectedPackages": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "revision"
        ]
      }
    }
  },
  "required": [
    "version",
    "catalogRevision",
    "key",
    "name",
    "visibility",
    "effectiveFrom",
    "currency",
    "monthlyPrice",
    "acceptedTelemetryRecords",
    "telemetryOverage",
    "eligibility",
    "rawRetentionDays",
    "aggregateRetentionMonths",
    "includedServices",
    "includedStorage",
    "capabilities",
    "packageCatalogRevision",
    "carrierRateRevision",
    "paymentRoute",
    "requiresEnterpriseAgreement"
  ]
}
OfferingEligibility
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "activeIdentities": {
      "type": "integer"
    },
    "logicalApps": {
      "type": "integer"
    },
    "humanOperators": {
      "type": "integer"
    },
    "freeGraceHours": {
      "type": "integer",
      "default": 24
    },
    "paidTransitionDays": {
      "type": "integer",
      "default": 30
    },
    "unlimited": {
      "type": "boolean"
    }
  },
  "required": [
    "activeIdentities",
    "logicalApps",
    "humanOperators"
  ]
}
TelemetryAllowancePolicy
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "signals": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "mode": {
            "type": "integer",
            "default": 0
          },
          "unit": {
            "type": "integer",
            "default": 0
          },
          "monthlyUnits": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        }
      },
      "default": null
    },
    "accountUnlimited": {
      "type": "boolean"
    }
  }
}
EnterpriseAllowancePeriodConfiguration
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "serviceStartsAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "anchorDayOfMonth": {
      "type": "integer"
    },
    "evidenceKind": {
      "type": "string"
    },
    "serviceStartEvidenceId": {
      "type": "string"
    },
    "calendarResetTimeZone": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "serviceStartsAtUtc",
    "anchorDayOfMonth",
    "evidenceKind",
    "serviceStartEvidenceId"
  ]
}
Quote
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "quoteId": {
      "type": "string"
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "prospect": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "leadId": {
          "type": [
            "string",
            "null"
          ]
        },
        "contactEmail": {
          "type": "string"
        },
        "intendedOrgName": {
          "type": "string"
        },
        "desiredSlug": {
          "type": "string"
        }
      },
      "required": [
        "leadId",
        "contactEmail",
        "intendedOrgName",
        "desiredSlug"
      ]
    },
    "title": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Draft",
        "Sent",
        "Accepted",
        "Declined",
        "Expired"
      ]
    },
    "lineItems": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "description": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unitPrice": {
            "type": "number"
          },
          "amount": {
            "type": "number"
          },
          "billingFrequency": {
            "enum": [
              "OneTime",
              "Monthly"
            ]
          }
        },
        "required": [
          "description",
          "quantity",
          "unitPrice",
          "amount"
        ]
      }
    },
    "discountPercent": {
      "type": "number"
    },
    "subtotal": {
      "type": "number"
    },
    "discountAmount": {
      "type": "number"
    },
    "total": {
      "type": "number"
    },
    "validUntil": {
      "type": "string",
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string"
    },
    "enterpriseOffer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "agreement": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string"
            },
            "catalogRevision": {
              "type": "string"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "visibility": {
              "type": "string"
            },
            "effectiveFrom": {
              "type": "string",
              "format": "date-time"
            },
            "currency": {
              "type": "string"
            },
            "monthlyPrice": {
              "type": "number"
            },
            "acceptedTelemetryRecords": {
              "type": "object",
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            },
            "telemetryOverage": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "block": {
                  "type": "object",
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                },
                "usdPrice": {
                  "type": "number"
                }
              },
              "required": [
                "block",
                "usdPrice"
              ]
            },
            "eligibility": {
              "type": "object",
              "properties": {
                "activeIdentities": {
                  "type": "integer"
                },
                "logicalApps": {
                  "type": "integer"
                },
                "humanOperators": {
                  "type": "integer"
                },
                "freeGraceHours": {
                  "type": "integer",
                  "default": 24
                },
                "paidTransitionDays": {
                  "type": "integer",
                  "default": 30
                },
                "unlimited": {
                  "type": "boolean"
                }
              },
              "required": [
                "activeIdentities",
                "logicalApps",
                "humanOperators"
              ]
            },
            "rawRetentionDays": {
              "type": "integer"
            },
            "aggregateRetentionMonths": {
              "type": "integer"
            },
            "includedServices": {
              "type": "object",
              "properties": {
                "smartLinkResolutions": {
                  "type": "integer"
                },
                "acceptedPushDeliveries": {
                  "type": "integer"
                },
                "inAppImpressions": {
                  "type": "integer"
                },
                "locationUpdates": {
                  "type": "integer"
                }
              },
              "required": [
                "smartLinkResolutions",
                "acceptedPushDeliveries",
                "inAppImpressions",
                "locationUpdates"
              ]
            },
            "includedStorage": {
              "type": "object",
              "properties": {
                "releaseContentBytes": {
                  "type": "integer"
                },
                "symbolUploadContentBytes": {
                  "type": "integer"
                },
                "monthlyServedDownloadBytes": {
                  "type": "integer"
                }
              },
              "required": [
                "releaseContentBytes",
                "symbolUploadContentBytes",
                "monthlyServedDownloadBytes"
              ]
            },
            "capabilities": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "packageCatalogRevision": {
              "type": "string"
            },
            "carrierRateRevision": {
              "type": "string"
            },
            "paymentRoute": {
              "type": "string"
            },
            "requiresEnterpriseAgreement": {
              "type": "boolean"
            },
            "initialTermMonths": {
              "type": "integer",
              "default": 0
            },
            "onboardingHours": {
              "type": "integer",
              "default": 0
            },
            "monthlyAdvisoryHours": {
              "type": "integer",
              "default": 0
            },
            "basedOnTemplateVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "serviceCommitments": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "supportWindow": {
                  "type": "string"
                },
                "priorityQueue": {
                  "type": "boolean"
                },
                "namedEscalationContact": {
                  "type": "boolean"
                },
                "quarterlyServiceReview": {
                  "type": "boolean"
                },
                "slaIncluded": {
                  "type": "boolean",
                  "default": false
                },
                "dedicatedDeploymentIncluded": {
                  "type": "boolean",
                  "default": false
                },
                "automaticCarrierDiscount": {
                  "type": "boolean",
                  "default": false
                },
                "advisoryHoursRollOver": {
                  "type": "boolean",
                  "default": false
                },
                "bespokeEngineeringIncluded": {
                  "type": "boolean",
                  "default": false
                }
              },
              "required": [
                "supportWindow",
                "priorityQueue",
                "namedEscalationContact",
                "quarterlyServiceReview"
              ],
              "default": null
            },
            "rawRetentionMonths": {
              "type": [
                "integer",
                "null"
              ]
            },
            "annualPrice": {
              "type": [
                "number",
                "null"
              ]
            },
            "organizationLimit": {
              "type": [
                "integer",
                "null"
              ]
            },
            "externalAgreement": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "totalAmount": {
                  "type": "number"
                },
                "endsAtUtc": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "totalAmount",
                "endsAtUtc"
              ]
            },
            "shareTelemetryAcrossOrganizations": {
              "type": "boolean"
            },
            "selectedPackages": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "revision"
                ]
              }
            }
          },
          "required": [
            "version",
            "catalogRevision",
            "key",
            "name",
            "visibility",
            "effectiveFrom",
            "currency",
            "monthlyPrice",
            "acceptedTelemetryRecords",
            "telemetryOverage",
            "eligibility",
            "rawRetentionDays",
            "aggregateRetentionMonths",
            "includedServices",
            "includedStorage",
            "capabilities",
            "packageCatalogRevision",
            "carrierRateRevision",
            "paymentRoute",
            "requiresEnterpriseAgreement"
          ]
        },
        "template": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string"
            },
            "catalogRevision": {
              "type": "string"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "visibility": {
              "type": "string"
            },
            "effectiveFrom": {
              "type": "string",
              "format": "date-time"
            },
            "currency": {
              "type": "string"
            },
            "monthlyPrice": {
              "type": "number"
            },
            "acceptedTelemetryRecords": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
            },
            "telemetryOverage": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
            },
            "eligibility": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/eligibility"
            },
            "rawRetentionDays": {
              "type": "integer"
            },
            "aggregateRetentionMonths": {
              "type": "integer"
            },
            "includedServices": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/includedServices"
            },
            "includedStorage": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
            },
            "capabilities": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/capabilities"
            },
            "packageCatalogRevision": {
              "type": "string"
            },
            "carrierRateRevision": {
              "type": "string"
            },
            "paymentRoute": {
              "type": "string"
            },
            "requiresEnterpriseAgreement": {
              "type": "boolean"
            },
            "initialTermMonths": {
              "type": "integer",
              "default": 0
            },
            "onboardingHours": {
              "type": "integer",
              "default": 0
            },
            "monthlyAdvisoryHours": {
              "type": "integer",
              "default": 0
            },
            "basedOnTemplateVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "serviceCommitments": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
              "default": null
            },
            "rawRetentionMonths": {
              "type": [
                "integer",
                "null"
              ]
            },
            "annualPrice": {
              "type": [
                "number",
                "null"
              ]
            },
            "organizationLimit": {
              "type": [
                "integer",
                "null"
              ]
            },
            "externalAgreement": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
            },
            "shareTelemetryAcrossOrganizations": {
              "type": "boolean"
            },
            "selectedPackages": {
              "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
            }
          },
          "required": [
            "version",
            "catalogRevision",
            "key",
            "name",
            "visibility",
            "effectiveFrom",
            "currency",
            "monthlyPrice",
            "acceptedTelemetryRecords",
            "telemetryOverage",
            "eligibility",
            "rawRetentionDays",
            "aggregateRetentionMonths",
            "includedServices",
            "includedStorage",
            "capabilities",
            "packageCatalogRevision",
            "carrierRateRevision",
            "paymentRoute",
            "requiresEnterpriseAgreement"
          ]
        },
        "packages": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "revision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "product": {
                "type": "string"
              },
              "level": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "combination": {
                "type": "string"
              },
              "quantities": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                }
              },
              "optionalBlocks": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "block": {
                      "$ref": "#/components/schemas/Quote/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                    },
                    "usdPrice": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "block",
                    "usdPrice"
                  ]
                }
              }
            },
            "required": [
              "revision",
              "key",
              "product",
              "level",
              "currency",
              "monthlyPrice",
              "combination",
              "quantities",
              "optionalBlocks"
            ]
          }
        },
        "includedServices": {
          "type": "object",
          "properties": {
            "smartLinkResolutions": {
              "type": "integer"
            },
            "acceptedPushDeliveries": {
              "type": "integer"
            },
            "inAppImpressions": {
              "type": "integer"
            },
            "locationUpdates": {
              "type": "integer"
            }
          },
          "required": [
            "smartLinkResolutions",
            "acceptedPushDeliveries",
            "inAppImpressions",
            "locationUpdates"
          ]
        },
        "includedStorage": {
          "type": "object",
          "properties": {
            "releaseContentBytes": {
              "type": "integer"
            },
            "symbolUploadContentBytes": {
              "type": "integer"
            },
            "monthlyServedDownloadBytes": {
              "type": "integer"
            }
          },
          "required": [
            "releaseContentBytes",
            "symbolUploadContentBytes",
            "monthlyServedDownloadBytes"
          ]
        }
      },
      "required": [
        "agreement",
        "template",
        "packages",
        "includedServices",
        "includedStorage"
      ]
    },
    "pricing": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "currency": {
          "type": "string"
        },
        "monthlySubtotal": {
          "type": "number"
        },
        "monthlyDiscount": {
          "type": "number"
        },
        "monthlyTotal": {
          "type": "number"
        },
        "oneTimeSubtotal": {
          "type": "number"
        },
        "oneTimeDiscount": {
          "type": "number"
        },
        "oneTimeTotal": {
          "type": "number"
        },
        "initialTermMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "initialTermEstimate": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "currency",
        "monthlySubtotal",
        "monthlyDiscount",
        "monthlyTotal",
        "oneTimeSubtotal",
        "oneTimeDiscount",
        "oneTimeTotal",
        "initialTermMonths",
        "initialTermEstimate"
      ]
    },
    "revision": {
      "type": "integer"
    }
  },
  "required": [
    "quoteId",
    "tenantId",
    "prospect",
    "title",
    "status",
    "lineItems",
    "discountPercent",
    "subtotal",
    "discountAmount",
    "total",
    "validUntil",
    "createdAt",
    "updatedAt",
    "createdBy"
  ]
}
QuoteProspect
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "leadId": {
      "type": [
        "string",
        "null"
      ]
    },
    "contactEmail": {
      "type": "string"
    },
    "intendedOrgName": {
      "type": "string"
    },
    "desiredSlug": {
      "type": "string"
    }
  },
  "required": [
    "leadId",
    "contactEmail",
    "intendedOrgName",
    "desiredSlug"
  ]
}
QuoteLineItem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "description": {
      "type": "string"
    },
    "quantity": {
      "type": "number"
    },
    "unitPrice": {
      "type": "number"
    },
    "amount": {
      "type": "number"
    },
    "billingFrequency": {
      "enum": [
        "OneTime",
        "Monthly"
      ]
    }
  },
  "required": [
    "description",
    "quantity",
    "unitPrice",
    "amount"
  ]
}
QuotePreview
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "lineItems": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "description": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unitPrice": {
            "type": "number"
          },
          "amount": {
            "type": "number"
          },
          "billingFrequency": {
            "enum": [
              "OneTime",
              "Monthly"
            ]
          }
        },
        "required": [
          "description",
          "quantity",
          "unitPrice",
          "amount"
        ]
      }
    },
    "discountPercent": {
      "type": "number"
    },
    "subtotal": {
      "type": "number"
    },
    "discountAmount": {
      "type": "number"
    },
    "total": {
      "type": "number"
    },
    "pricing": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string"
        },
        "monthlySubtotal": {
          "type": "number"
        },
        "monthlyDiscount": {
          "type": "number"
        },
        "monthlyTotal": {
          "type": "number"
        },
        "oneTimeSubtotal": {
          "type": "number"
        },
        "oneTimeDiscount": {
          "type": "number"
        },
        "oneTimeTotal": {
          "type": "number"
        },
        "initialTermMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "initialTermEstimate": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "currency",
        "monthlySubtotal",
        "monthlyDiscount",
        "monthlyTotal",
        "oneTimeSubtotal",
        "oneTimeDiscount",
        "oneTimeTotal",
        "initialTermMonths",
        "initialTermEstimate"
      ]
    },
    "enterpriseOffer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "agreement": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string"
            },
            "catalogRevision": {
              "type": "string"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "visibility": {
              "type": "string"
            },
            "effectiveFrom": {
              "type": "string",
              "format": "date-time"
            },
            "currency": {
              "type": "string"
            },
            "monthlyPrice": {
              "type": "number"
            },
            "acceptedTelemetryRecords": {
              "type": "object",
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            },
            "telemetryOverage": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "block": {
                  "type": "object",
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                },
                "usdPrice": {
                  "type": "number"
                }
              },
              "required": [
                "block",
                "usdPrice"
              ]
            },
            "eligibility": {
              "type": "object",
              "properties": {
                "activeIdentities": {
                  "type": "integer"
                },
                "logicalApps": {
                  "type": "integer"
                },
                "humanOperators": {
                  "type": "integer"
                },
                "freeGraceHours": {
                  "type": "integer",
                  "default": 24
                },
                "paidTransitionDays": {
                  "type": "integer",
                  "default": 30
                },
                "unlimited": {
                  "type": "boolean"
                }
              },
              "required": [
                "activeIdentities",
                "logicalApps",
                "humanOperators"
              ]
            },
            "rawRetentionDays": {
              "type": "integer"
            },
            "aggregateRetentionMonths": {
              "type": "integer"
            },
            "includedServices": {
              "type": "object",
              "properties": {
                "smartLinkResolutions": {
                  "type": "integer"
                },
                "acceptedPushDeliveries": {
                  "type": "integer"
                },
                "inAppImpressions": {
                  "type": "integer"
                },
                "locationUpdates": {
                  "type": "integer"
                }
              },
              "required": [
                "smartLinkResolutions",
                "acceptedPushDeliveries",
                "inAppImpressions",
                "locationUpdates"
              ]
            },
            "includedStorage": {
              "type": "object",
              "properties": {
                "releaseContentBytes": {
                  "type": "integer"
                },
                "symbolUploadContentBytes": {
                  "type": "integer"
                },
                "monthlyServedDownloadBytes": {
                  "type": "integer"
                }
              },
              "required": [
                "releaseContentBytes",
                "symbolUploadContentBytes",
                "monthlyServedDownloadBytes"
              ]
            },
            "capabilities": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "packageCatalogRevision": {
              "type": "string"
            },
            "carrierRateRevision": {
              "type": "string"
            },
            "paymentRoute": {
              "type": "string"
            },
            "requiresEnterpriseAgreement": {
              "type": "boolean"
            },
            "initialTermMonths": {
              "type": "integer",
              "default": 0
            },
            "onboardingHours": {
              "type": "integer",
              "default": 0
            },
            "monthlyAdvisoryHours": {
              "type": "integer",
              "default": 0
            },
            "basedOnTemplateVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "serviceCommitments": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "supportWindow": {
                  "type": "string"
                },
                "priorityQueue": {
                  "type": "boolean"
                },
                "namedEscalationContact": {
                  "type": "boolean"
                },
                "quarterlyServiceReview": {
                  "type": "boolean"
                },
                "slaIncluded": {
                  "type": "boolean",
                  "default": false
                },
                "dedicatedDeploymentIncluded": {
                  "type": "boolean",
                  "default": false
                },
                "automaticCarrierDiscount": {
                  "type": "boolean",
                  "default": false
                },
                "advisoryHoursRollOver": {
                  "type": "boolean",
                  "default": false
                },
                "bespokeEngineeringIncluded": {
                  "type": "boolean",
                  "default": false
                }
              },
              "required": [
                "supportWindow",
                "priorityQueue",
                "namedEscalationContact",
                "quarterlyServiceReview"
              ],
              "default": null
            },
            "rawRetentionMonths": {
              "type": [
                "integer",
                "null"
              ]
            },
            "annualPrice": {
              "type": [
                "number",
                "null"
              ]
            },
            "organizationLimit": {
              "type": [
                "integer",
                "null"
              ]
            },
            "externalAgreement": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "totalAmount": {
                  "type": "number"
                },
                "endsAtUtc": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "totalAmount",
                "endsAtUtc"
              ]
            },
            "shareTelemetryAcrossOrganizations": {
              "type": "boolean"
            },
            "selectedPackages": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "revision": {
                    "type": "string"
                  }
                },
                "required": [
                  "key",
                  "revision"
                ]
              }
            }
          },
          "required": [
            "version",
            "catalogRevision",
            "key",
            "name",
            "visibility",
            "effectiveFrom",
            "currency",
            "monthlyPrice",
            "acceptedTelemetryRecords",
            "telemetryOverage",
            "eligibility",
            "rawRetentionDays",
            "aggregateRetentionMonths",
            "includedServices",
            "includedStorage",
            "capabilities",
            "packageCatalogRevision",
            "carrierRateRevision",
            "paymentRoute",
            "requiresEnterpriseAgreement"
          ]
        },
        "template": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string"
            },
            "catalogRevision": {
              "type": "string"
            },
            "key": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "visibility": {
              "type": "string"
            },
            "effectiveFrom": {
              "type": "string",
              "format": "date-time"
            },
            "currency": {
              "type": "string"
            },
            "monthlyPrice": {
              "type": "number"
            },
            "acceptedTelemetryRecords": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
            },
            "telemetryOverage": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
            },
            "eligibility": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/eligibility"
            },
            "rawRetentionDays": {
              "type": "integer"
            },
            "aggregateRetentionMonths": {
              "type": "integer"
            },
            "includedServices": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/includedServices"
            },
            "includedStorage": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
            },
            "capabilities": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/capabilities"
            },
            "packageCatalogRevision": {
              "type": "string"
            },
            "carrierRateRevision": {
              "type": "string"
            },
            "paymentRoute": {
              "type": "string"
            },
            "requiresEnterpriseAgreement": {
              "type": "boolean"
            },
            "initialTermMonths": {
              "type": "integer",
              "default": 0
            },
            "onboardingHours": {
              "type": "integer",
              "default": 0
            },
            "monthlyAdvisoryHours": {
              "type": "integer",
              "default": 0
            },
            "basedOnTemplateVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "serviceCommitments": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
              "default": null
            },
            "rawRetentionMonths": {
              "type": [
                "integer",
                "null"
              ]
            },
            "annualPrice": {
              "type": [
                "number",
                "null"
              ]
            },
            "organizationLimit": {
              "type": [
                "integer",
                "null"
              ]
            },
            "externalAgreement": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
            },
            "shareTelemetryAcrossOrganizations": {
              "type": "boolean"
            },
            "selectedPackages": {
              "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
            }
          },
          "required": [
            "version",
            "catalogRevision",
            "key",
            "name",
            "visibility",
            "effectiveFrom",
            "currency",
            "monthlyPrice",
            "acceptedTelemetryRecords",
            "telemetryOverage",
            "eligibility",
            "rawRetentionDays",
            "aggregateRetentionMonths",
            "includedServices",
            "includedStorage",
            "capabilities",
            "packageCatalogRevision",
            "carrierRateRevision",
            "paymentRoute",
            "requiresEnterpriseAgreement"
          ]
        },
        "packages": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "revision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "product": {
                "type": "string"
              },
              "level": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "combination": {
                "type": "string"
              },
              "quantities": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "unit": {
                      "type": "string"
                    },
                    "limit": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "unit",
                    "limit"
                  ]
                }
              },
              "optionalBlocks": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "block": {
                      "$ref": "#/components/schemas/QuotePreview/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                    },
                    "usdPrice": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "block",
                    "usdPrice"
                  ]
                }
              }
            },
            "required": [
              "revision",
              "key",
              "product",
              "level",
              "currency",
              "monthlyPrice",
              "combination",
              "quantities",
              "optionalBlocks"
            ]
          }
        },
        "includedServices": {
          "type": "object",
          "properties": {
            "smartLinkResolutions": {
              "type": "integer"
            },
            "acceptedPushDeliveries": {
              "type": "integer"
            },
            "inAppImpressions": {
              "type": "integer"
            },
            "locationUpdates": {
              "type": "integer"
            }
          },
          "required": [
            "smartLinkResolutions",
            "acceptedPushDeliveries",
            "inAppImpressions",
            "locationUpdates"
          ]
        },
        "includedStorage": {
          "type": "object",
          "properties": {
            "releaseContentBytes": {
              "type": "integer"
            },
            "symbolUploadContentBytes": {
              "type": "integer"
            },
            "monthlyServedDownloadBytes": {
              "type": "integer"
            }
          },
          "required": [
            "releaseContentBytes",
            "symbolUploadContentBytes",
            "monthlyServedDownloadBytes"
          ]
        }
      },
      "required": [
        "agreement",
        "template",
        "packages",
        "includedServices",
        "includedStorage"
      ]
    }
  },
  "required": [
    "lineItems",
    "discountPercent",
    "subtotal",
    "discountAmount",
    "total",
    "pricing",
    "enterpriseOffer"
  ]
}
QuotePricing
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "currency": {
      "type": "string"
    },
    "monthlySubtotal": {
      "type": "number"
    },
    "monthlyDiscount": {
      "type": "number"
    },
    "monthlyTotal": {
      "type": "number"
    },
    "oneTimeSubtotal": {
      "type": "number"
    },
    "oneTimeDiscount": {
      "type": "number"
    },
    "oneTimeTotal": {
      "type": "number"
    },
    "initialTermMonths": {
      "type": [
        "integer",
        "null"
      ]
    },
    "initialTermEstimate": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "currency",
    "monthlySubtotal",
    "monthlyDiscount",
    "monthlyTotal",
    "oneTimeSubtotal",
    "oneTimeDiscount",
    "oneTimeTotal",
    "initialTermMonths",
    "initialTermEstimate"
  ]
}
QuoteEnterpriseOffer
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "agreement": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        },
        "catalogRevision": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "visibility": {
          "type": "string"
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": "string"
        },
        "monthlyPrice": {
          "type": "number"
        },
        "acceptedTelemetryRecords": {
          "type": "object",
          "properties": {
            "unit": {
              "type": "string"
            },
            "limit": {
              "type": "integer"
            }
          },
          "required": [
            "unit",
            "limit"
          ]
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": "object",
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            },
            "usdPrice": {
              "type": "number"
            }
          },
          "required": [
            "block",
            "usdPrice"
          ]
        },
        "eligibility": {
          "type": "object",
          "properties": {
            "activeIdentities": {
              "type": "integer"
            },
            "logicalApps": {
              "type": "integer"
            },
            "humanOperators": {
              "type": "integer"
            },
            "freeGraceHours": {
              "type": "integer",
              "default": 24
            },
            "paidTransitionDays": {
              "type": "integer",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          },
          "required": [
            "activeIdentities",
            "logicalApps",
            "humanOperators"
          ]
        },
        "rawRetentionDays": {
          "type": "integer"
        },
        "aggregateRetentionMonths": {
          "type": "integer"
        },
        "includedServices": {
          "type": "object",
          "properties": {
            "smartLinkResolutions": {
              "type": "integer"
            },
            "acceptedPushDeliveries": {
              "type": "integer"
            },
            "inAppImpressions": {
              "type": "integer"
            },
            "locationUpdates": {
              "type": "integer"
            }
          },
          "required": [
            "smartLinkResolutions",
            "acceptedPushDeliveries",
            "inAppImpressions",
            "locationUpdates"
          ]
        },
        "includedStorage": {
          "type": "object",
          "properties": {
            "releaseContentBytes": {
              "type": "integer"
            },
            "symbolUploadContentBytes": {
              "type": "integer"
            },
            "monthlyServedDownloadBytes": {
              "type": "integer"
            }
          },
          "required": [
            "releaseContentBytes",
            "symbolUploadContentBytes",
            "monthlyServedDownloadBytes"
          ]
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": "string"
        },
        "carrierRateRevision": {
          "type": "string"
        },
        "paymentRoute": {
          "type": "string"
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": "integer",
          "default": 0
        },
        "onboardingHours": {
          "type": "integer",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": "integer",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": "string"
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "required": [
            "supportWindow",
            "priorityQueue",
            "namedEscalationContact",
            "quarterlyServiceReview"
          ],
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "annualPrice": {
          "type": [
            "number",
            "null"
          ]
        },
        "organizationLimit": {
          "type": [
            "integer",
            "null"
          ]
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": "number"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "revision": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "revision"
            ]
          }
        }
      },
      "required": [
        "version",
        "catalogRevision",
        "key",
        "name",
        "visibility",
        "effectiveFrom",
        "currency",
        "monthlyPrice",
        "acceptedTelemetryRecords",
        "telemetryOverage",
        "eligibility",
        "rawRetentionDays",
        "aggregateRetentionMonths",
        "includedServices",
        "includedStorage",
        "capabilities",
        "packageCatalogRevision",
        "carrierRateRevision",
        "paymentRoute",
        "requiresEnterpriseAgreement"
      ]
    },
    "template": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        },
        "catalogRevision": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "visibility": {
          "type": "string"
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": "string"
        },
        "monthlyPrice": {
          "type": "number"
        },
        "acceptedTelemetryRecords": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
        },
        "telemetryOverage": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/telemetryOverage"
        },
        "eligibility": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/eligibility"
        },
        "rawRetentionDays": {
          "type": "integer"
        },
        "aggregateRetentionMonths": {
          "type": "integer"
        },
        "includedServices": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/includedServices"
        },
        "includedStorage": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/includedStorage"
        },
        "capabilities": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/capabilities"
        },
        "packageCatalogRevision": {
          "type": "string"
        },
        "carrierRateRevision": {
          "type": "string"
        },
        "paymentRoute": {
          "type": "string"
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": "integer",
          "default": 0
        },
        "onboardingHours": {
          "type": "integer",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": "integer",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/serviceCommitments",
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "annualPrice": {
          "type": [
            "number",
            "null"
          ]
        },
        "organizationLimit": {
          "type": [
            "integer",
            "null"
          ]
        },
        "externalAgreement": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/externalAgreement"
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/selectedPackages"
        }
      },
      "required": [
        "version",
        "catalogRevision",
        "key",
        "name",
        "visibility",
        "effectiveFrom",
        "currency",
        "monthlyPrice",
        "acceptedTelemetryRecords",
        "telemetryOverage",
        "eligibility",
        "rawRetentionDays",
        "aggregateRetentionMonths",
        "includedServices",
        "includedStorage",
        "capabilities",
        "packageCatalogRevision",
        "carrierRateRevision",
        "paymentRoute",
        "requiresEnterpriseAgreement"
      ]
    },
    "packages": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revision": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "combination": {
            "type": "string"
          },
          "quantities": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            }
          },
          "optionalBlocks": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "block": {
                  "$ref": "#/components/schemas/QuoteEnterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                },
                "usdPrice": {
                  "type": "number"
                }
              },
              "required": [
                "block",
                "usdPrice"
              ]
            }
          }
        },
        "required": [
          "revision",
          "key",
          "product",
          "level",
          "currency",
          "monthlyPrice",
          "combination",
          "quantities",
          "optionalBlocks"
        ]
      }
    },
    "includedServices": {
      "type": "object",
      "properties": {
        "smartLinkResolutions": {
          "type": "integer"
        },
        "acceptedPushDeliveries": {
          "type": "integer"
        },
        "inAppImpressions": {
          "type": "integer"
        },
        "locationUpdates": {
          "type": "integer"
        }
      },
      "required": [
        "smartLinkResolutions",
        "acceptedPushDeliveries",
        "inAppImpressions",
        "locationUpdates"
      ]
    },
    "includedStorage": {
      "type": "object",
      "properties": {
        "releaseContentBytes": {
          "type": "integer"
        },
        "symbolUploadContentBytes": {
          "type": "integer"
        },
        "monthlyServedDownloadBytes": {
          "type": "integer"
        }
      },
      "required": [
        "releaseContentBytes",
        "symbolUploadContentBytes",
        "monthlyServedDownloadBytes"
      ]
    }
  },
  "required": [
    "agreement",
    "template",
    "packages",
    "includedServices",
    "includedStorage"
  ]
}
SetTenantOfferingRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "monthlyPrice": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
    },
    "includedSmsSegments": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "includedMaus": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "entitlements": {
      "type": [
        "array",
        "null"
      ]
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "allowancePeriod": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "serviceStartsAtUtc": {
          "type": "string",
          "format": "date-time"
        },
        "anchorDayOfMonth": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "evidenceKind": {
          "type": [
            "string",
            "null"
          ]
        },
        "serviceStartEvidenceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "calendarResetTimeZone": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "serviceStartsAtUtc",
        "anchorDayOfMonth",
        "evidenceKind",
        "serviceStartEvidenceId"
      ]
    },
    "offeringDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "catalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "key": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "visibility": {
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "monthlyPrice": {
          "type": [
            "string",
            "number"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "acceptedTelemetryRecords": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "unit": {
              "type": [
                "string",
                "null"
              ]
            },
            "limit": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              }
            },
            "usdPrice": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            }
          }
        },
        "eligibility": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "activeIdentities": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "logicalApps": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "humanOperators": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "freeGraceHours": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 24
            },
            "paidTransitionDays": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          }
        },
        "rawRetentionDays": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "aggregateRetentionMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "includedServices": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "smartLinkResolutions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "acceptedPushDeliveries": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "inAppImpressions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "locationUpdates": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "includedStorage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "releaseContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "symbolUploadContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "monthlyServedDownloadBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "capabilities": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "carrierRateRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "paymentRoute": {
          "type": [
            "string",
            "null"
          ]
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "onboardingHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": [
                "string",
                "null"
              ]
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "annualPrice": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "organizationLimit": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "revision": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      }
    },
    "telemetryAllowances": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "signals": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "mode": {
                "type": "integer",
                "default": 0
              },
              "unit": {
                "type": "integer",
                "default": 0
              },
              "monthlyUnits": {
                "type": [
                  "string",
                  "integer",
                  "null"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": null
              }
            }
          },
          "default": null
        },
        "accountUnlimited": {
          "type": "boolean"
        }
      }
    },
    "clearTelemetryAllowances": {
      "type": "boolean"
    }
  }
}
ClearTenantOfferingRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
PrepareBillingPriceNoticeRequest
{
  "type": "object",
  "properties": {
    "expectedGeneration": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "targetCatalogRevision": {
      "type": [
        "string",
        "null"
      ]
    },
    "acknowledged": {
      "type": "boolean"
    }
  }
}
CreateEnterpriseBillingAccountRequest
{
  "type": "object",
  "properties": {
    "expectedOfferingId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedMonthlyPrice": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
    },
    "contact": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "addressLine1": {
          "type": [
            "string",
            "null"
          ]
        },
        "addressLine2": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "postalCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
CreateEnterpriseInvoiceRequest
{
  "type": "object",
  "properties": {
    "expectedOfferingId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedMonthlyPrice": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
    },
    "servicePeriodStart": {
      "type": "string",
      "format": "date-time"
    },
    "servicePeriodEnd": {
      "type": "string",
      "format": "date-time"
    },
    "dueAt": {
      "type": "string",
      "format": "date-time"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
ReconcileEnterpriseBillingAccountRequest
{
  "type": "object",
  "properties": {
    "expectedAccountId": {
      "type": [
        "string",
        "null"
      ]
    },
    "providerCustomerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
CreateQuoteRequest
{
  "type": "object",
  "properties": {
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "prospect": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "leadId": {
          "type": [
            "string",
            "null"
          ]
        },
        "contactEmail": {
          "type": [
            "string",
            "null"
          ]
        },
        "intendedOrgName": {
          "type": [
            "string",
            "null"
          ]
        },
        "desiredSlug": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "lineItems": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "unitPrice": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          }
        }
      }
    },
    "discountPercent": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
    },
    "validUntil": {
      "type": "string",
      "format": "date-time"
    },
    "enterpriseOffer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "catalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "key": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "visibility": {
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "monthlyPrice": {
          "type": [
            "string",
            "number"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "acceptedTelemetryRecords": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "unit": {
              "type": [
                "string",
                "null"
              ]
            },
            "limit": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              }
            },
            "usdPrice": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            }
          }
        },
        "eligibility": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "activeIdentities": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "logicalApps": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "humanOperators": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "freeGraceHours": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 24
            },
            "paidTransitionDays": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          }
        },
        "rawRetentionDays": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "aggregateRetentionMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "includedServices": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "smartLinkResolutions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "acceptedPushDeliveries": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "inAppImpressions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "locationUpdates": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "includedStorage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "releaseContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "symbolUploadContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "monthlyServedDownloadBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "capabilities": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "carrierRateRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "paymentRoute": {
          "type": [
            "string",
            "null"
          ]
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "onboardingHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": [
                "string",
                "null"
              ]
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "annualPrice": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "organizationLimit": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "revision": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      }
    },
    "operationId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  }
}
LinkQuoteToTenantRequest
{
  "type": "object",
  "properties": {
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
QuotePreviewRequest
{
  "type": "object",
  "properties": {
    "lineItems": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "unitPrice": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          }
        }
      }
    },
    "discountPercent": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
    },
    "enterpriseOffer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "catalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "key": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "visibility": {
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "monthlyPrice": {
          "type": [
            "string",
            "number"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "acceptedTelemetryRecords": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "unit": {
              "type": [
                "string",
                "null"
              ]
            },
            "limit": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              }
            },
            "usdPrice": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            }
          }
        },
        "eligibility": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "activeIdentities": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "logicalApps": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "humanOperators": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "freeGraceHours": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 24
            },
            "paidTransitionDays": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          }
        },
        "rawRetentionDays": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "aggregateRetentionMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "includedServices": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "smartLinkResolutions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "acceptedPushDeliveries": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "inAppImpressions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "locationUpdates": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "includedStorage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "releaseContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "symbolUploadContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "monthlyServedDownloadBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "capabilities": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "carrierRateRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "paymentRoute": {
          "type": [
            "string",
            "null"
          ]
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "onboardingHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": [
                "string",
                "null"
              ]
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "annualPrice": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "organizationLimit": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "revision": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      },
      "default": null
    }
  }
}
UpdateQuoteRequest
{
  "type": "object",
  "properties": {
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "lineItems": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "quantity": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          },
          "unitPrice": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
          }
        }
      }
    },
    "discountPercent": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
    },
    "validUntil": {
      "type": "string",
      "format": "date-time"
    },
    "enterpriseOffer": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "catalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "key": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "visibility": {
          "type": [
            "string",
            "null"
          ]
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": [
            "string",
            "null"
          ]
        },
        "monthlyPrice": {
          "type": [
            "string",
            "number"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "acceptedTelemetryRecords": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "unit": {
              "type": [
                "string",
                "null"
              ]
            },
            "limit": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              }
            },
            "usdPrice": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            }
          }
        },
        "eligibility": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "activeIdentities": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "logicalApps": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "humanOperators": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "freeGraceHours": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 24
            },
            "paidTransitionDays": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          }
        },
        "rawRetentionDays": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "aggregateRetentionMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "includedServices": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "smartLinkResolutions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "acceptedPushDeliveries": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "inAppImpressions": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "locationUpdates": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "includedStorage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "releaseContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "symbolUploadContentBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            },
            "monthlyServedDownloadBytes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$"
            }
          }
        },
        "capabilities": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "carrierRateRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "paymentRoute": {
          "type": [
            "string",
            "null"
          ]
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "onboardingHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": [
                "string",
                "null"
              ]
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "annualPrice": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
        },
        "organizationLimit": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": [
                "string",
                "number"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "revision": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        }
      }
    },
    "clearEnterpriseOffer": {
      "type": "boolean"
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
OpsOfferingEntitlements
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "key": {
        "type": "string"
      },
      "label": {
        "type": "string"
      }
    },
    "required": [
      "key",
      "label"
    ]
  }
}
OpsPriceNoticeArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "noticeId": {
        "type": "string"
      },
      "planName": {
        "type": "string"
      },
      "purchaseInterval": {
        "enum": [
          "Monthly",
          "Annual"
        ]
      },
      "currentPrice": {
        "type": "number"
      },
      "targetPrice": {
        "type": "number"
      },
      "sourceCatalogRevision": {
        "type": "string"
      },
      "targetCatalogRevision": {
        "type": "string"
      },
      "sourceGeneration": {
        "type": "integer"
      },
      "state": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "noticeAcceptedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "effectiveAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      }
    },
    "required": [
      "noticeId",
      "planName",
      "purchaseInterval",
      "currentPrice",
      "targetPrice",
      "sourceCatalogRevision",
      "targetCatalogRevision",
      "sourceGeneration",
      "state",
      "createdAt",
      "noticeAcceptedAt",
      "effectiveAt"
    ]
  }
}
OpsQuoteArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "quoteId": {
        "type": "string"
      },
      "tenantId": {
        "type": [
          "string",
          "null"
        ]
      },
      "prospect": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "leadId": {
            "type": [
              "string",
              "null"
            ]
          },
          "contactEmail": {
            "type": "string"
          },
          "intendedOrgName": {
            "type": "string"
          },
          "desiredSlug": {
            "type": "string"
          }
        },
        "required": [
          "leadId",
          "contactEmail",
          "intendedOrgName",
          "desiredSlug"
        ]
      },
      "title": {
        "type": "string"
      },
      "status": {
        "enum": [
          "Draft",
          "Sent",
          "Accepted",
          "Declined",
          "Expired"
        ]
      },
      "lineItems": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "description": {
              "type": "string"
            },
            "quantity": {
              "type": "number"
            },
            "unitPrice": {
              "type": "number"
            },
            "amount": {
              "type": "number"
            },
            "billingFrequency": {
              "enum": [
                "OneTime",
                "Monthly"
              ]
            }
          },
          "required": [
            "description",
            "quantity",
            "unitPrice",
            "amount"
          ]
        }
      },
      "discountPercent": {
        "type": "number"
      },
      "subtotal": {
        "type": "number"
      },
      "discountAmount": {
        "type": "number"
      },
      "total": {
        "type": "number"
      },
      "validUntil": {
        "type": "string",
        "format": "date-time"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "createdBy": {
        "type": "string"
      },
      "enterpriseOffer": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "agreement": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "catalogRevision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "visibility": {
                "type": "string"
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "acceptedTelemetryRecords": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "telemetryOverage": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "block": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "usdPrice": {
                    "type": "number"
                  }
                },
                "required": [
                  "block",
                  "usdPrice"
                ]
              },
              "eligibility": {
                "type": "object",
                "properties": {
                  "activeIdentities": {
                    "type": "integer"
                  },
                  "logicalApps": {
                    "type": "integer"
                  },
                  "humanOperators": {
                    "type": "integer"
                  },
                  "freeGraceHours": {
                    "type": "integer",
                    "default": 24
                  },
                  "paidTransitionDays": {
                    "type": "integer",
                    "default": 30
                  },
                  "unlimited": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "activeIdentities",
                  "logicalApps",
                  "humanOperators"
                ]
              },
              "rawRetentionDays": {
                "type": "integer"
              },
              "aggregateRetentionMonths": {
                "type": "integer"
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "packageCatalogRevision": {
                "type": "string"
              },
              "carrierRateRevision": {
                "type": "string"
              },
              "paymentRoute": {
                "type": "string"
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": "integer",
                "default": 0
              },
              "onboardingHours": {
                "type": "integer",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": "integer",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "supportWindow": {
                    "type": "string"
                  },
                  "priorityQueue": {
                    "type": "boolean"
                  },
                  "namedEscalationContact": {
                    "type": "boolean"
                  },
                  "quarterlyServiceReview": {
                    "type": "boolean"
                  },
                  "slaIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "dedicatedDeploymentIncluded": {
                    "type": "boolean",
                    "default": false
                  },
                  "automaticCarrierDiscount": {
                    "type": "boolean",
                    "default": false
                  },
                  "advisoryHoursRollOver": {
                    "type": "boolean",
                    "default": false
                  },
                  "bespokeEngineeringIncluded": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "supportWindow",
                  "priorityQueue",
                  "namedEscalationContact",
                  "quarterlyServiceReview"
                ],
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "annualPrice": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "organizationLimit": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "externalAgreement": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "totalAmount": {
                    "type": "number"
                  },
                  "endsAtUtc": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "totalAmount",
                  "endsAtUtc"
                ]
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "key",
                    "revision"
                  ]
                }
              }
            },
            "required": [
              "version",
              "catalogRevision",
              "key",
              "name",
              "visibility",
              "effectiveFrom",
              "currency",
              "monthlyPrice",
              "acceptedTelemetryRecords",
              "telemetryOverage",
              "eligibility",
              "rawRetentionDays",
              "aggregateRetentionMonths",
              "includedServices",
              "includedStorage",
              "capabilities",
              "packageCatalogRevision",
              "carrierRateRevision",
              "paymentRoute",
              "requiresEnterpriseAgreement"
            ]
          },
          "template": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "catalogRevision": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "visibility": {
                "type": "string"
              },
              "effectiveFrom": {
                "type": "string",
                "format": "date-time"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              },
              "acceptedTelemetryRecords": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
              },
              "telemetryOverage": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
              },
              "eligibility": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/eligibility"
              },
              "rawRetentionDays": {
                "type": "integer"
              },
              "aggregateRetentionMonths": {
                "type": "integer"
              },
              "includedServices": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/includedServices"
              },
              "includedStorage": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
              },
              "capabilities": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/capabilities"
              },
              "packageCatalogRevision": {
                "type": "string"
              },
              "carrierRateRevision": {
                "type": "string"
              },
              "paymentRoute": {
                "type": "string"
              },
              "requiresEnterpriseAgreement": {
                "type": "boolean"
              },
              "initialTermMonths": {
                "type": "integer",
                "default": 0
              },
              "onboardingHours": {
                "type": "integer",
                "default": 0
              },
              "monthlyAdvisoryHours": {
                "type": "integer",
                "default": 0
              },
              "basedOnTemplateVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "serviceCommitments": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
                "default": null
              },
              "rawRetentionMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "annualPrice": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "organizationLimit": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "externalAgreement": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
              },
              "shareTelemetryAcrossOrganizations": {
                "type": "boolean"
              },
              "selectedPackages": {
                "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
              }
            },
            "required": [
              "version",
              "catalogRevision",
              "key",
              "name",
              "visibility",
              "effectiveFrom",
              "currency",
              "monthlyPrice",
              "acceptedTelemetryRecords",
              "telemetryOverage",
              "eligibility",
              "rawRetentionDays",
              "aggregateRetentionMonths",
              "includedServices",
              "includedStorage",
              "capabilities",
              "packageCatalogRevision",
              "carrierRateRevision",
              "paymentRoute",
              "requiresEnterpriseAgreement"
            ]
          },
          "packages": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "revision": {
                  "type": "string"
                },
                "key": {
                  "type": "string"
                },
                "product": {
                  "type": "string"
                },
                "level": {
                  "type": "string"
                },
                "currency": {
                  "type": "string"
                },
                "monthlyPrice": {
                  "type": "number"
                },
                "combination": {
                  "type": "string"
                },
                "quantities": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  }
                },
                "optionalBlocks": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "$ref": "#/components/schemas/OpsQuoteArray/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  }
                }
              },
              "required": [
                "revision",
                "key",
                "product",
                "level",
                "currency",
                "monthlyPrice",
                "combination",
                "quantities",
                "optionalBlocks"
              ]
            }
          },
          "includedServices": {
            "type": "object",
            "properties": {
              "smartLinkResolutions": {
                "type": "integer"
              },
              "acceptedPushDeliveries": {
                "type": "integer"
              },
              "inAppImpressions": {
                "type": "integer"
              },
              "locationUpdates": {
                "type": "integer"
              }
            },
            "required": [
              "smartLinkResolutions",
              "acceptedPushDeliveries",
              "inAppImpressions",
              "locationUpdates"
            ]
          },
          "includedStorage": {
            "type": "object",
            "properties": {
              "releaseContentBytes": {
                "type": "integer"
              },
              "symbolUploadContentBytes": {
                "type": "integer"
              },
              "monthlyServedDownloadBytes": {
                "type": "integer"
              }
            },
            "required": [
              "releaseContentBytes",
              "symbolUploadContentBytes",
              "monthlyServedDownloadBytes"
            ]
          }
        },
        "required": [
          "agreement",
          "template",
          "packages",
          "includedServices",
          "includedStorage"
        ]
      },
      "pricing": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "currency": {
            "type": "string"
          },
          "monthlySubtotal": {
            "type": "number"
          },
          "monthlyDiscount": {
            "type": "number"
          },
          "monthlyTotal": {
            "type": "number"
          },
          "oneTimeSubtotal": {
            "type": "number"
          },
          "oneTimeDiscount": {
            "type": "number"
          },
          "oneTimeTotal": {
            "type": "number"
          },
          "initialTermMonths": {
            "type": [
              "integer",
              "null"
            ]
          },
          "initialTermEstimate": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "currency",
          "monthlySubtotal",
          "monthlyDiscount",
          "monthlyTotal",
          "oneTimeSubtotal",
          "oneTimeDiscount",
          "oneTimeTotal",
          "initialTermMonths",
          "initialTermEstimate"
        ]
      },
      "revision": {
        "type": "integer"
      }
    },
    "required": [
      "quoteId",
      "tenantId",
      "prospect",
      "title",
      "status",
      "lineItems",
      "discountPercent",
      "subtotal",
      "discountAmount",
      "total",
      "validUntil",
      "createdAt",
      "updatedAt",
      "createdBy"
    ]
  }
}
OpsQuotePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "quoteId": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "prospect": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "leadId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "contactEmail": {
                "type": "string"
              },
              "intendedOrgName": {
                "type": "string"
              },
              "desiredSlug": {
                "type": "string"
              }
            },
            "required": [
              "leadId",
              "contactEmail",
              "intendedOrgName",
              "desiredSlug"
            ]
          },
          "title": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Draft",
              "Sent",
              "Accepted",
              "Declined",
              "Expired"
            ]
          },
          "lineItems": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "description": {
                  "type": "string"
                },
                "quantity": {
                  "type": "number"
                },
                "unitPrice": {
                  "type": "number"
                },
                "amount": {
                  "type": "number"
                },
                "billingFrequency": {
                  "enum": [
                    "OneTime",
                    "Monthly"
                  ]
                }
              },
              "required": [
                "description",
                "quantity",
                "unitPrice",
                "amount"
              ]
            }
          },
          "discountPercent": {
            "type": "number"
          },
          "subtotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "string"
          },
          "enterpriseOffer": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "agreement": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "type": "object",
                    "properties": {
                      "unit": {
                        "type": "string"
                      },
                      "limit": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "unit",
                      "limit"
                    ]
                  },
                  "telemetryOverage": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "block": {
                        "type": "object",
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      },
                      "usdPrice": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "block",
                      "usdPrice"
                    ]
                  },
                  "eligibility": {
                    "type": "object",
                    "properties": {
                      "activeIdentities": {
                        "type": "integer"
                      },
                      "logicalApps": {
                        "type": "integer"
                      },
                      "humanOperators": {
                        "type": "integer"
                      },
                      "freeGraceHours": {
                        "type": "integer",
                        "default": 24
                      },
                      "paidTransitionDays": {
                        "type": "integer",
                        "default": 30
                      },
                      "unlimited": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "activeIdentities",
                      "logicalApps",
                      "humanOperators"
                    ]
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "type": "object",
                    "properties": {
                      "smartLinkResolutions": {
                        "type": "integer"
                      },
                      "acceptedPushDeliveries": {
                        "type": "integer"
                      },
                      "inAppImpressions": {
                        "type": "integer"
                      },
                      "locationUpdates": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "smartLinkResolutions",
                      "acceptedPushDeliveries",
                      "inAppImpressions",
                      "locationUpdates"
                    ]
                  },
                  "includedStorage": {
                    "type": "object",
                    "properties": {
                      "releaseContentBytes": {
                        "type": "integer"
                      },
                      "symbolUploadContentBytes": {
                        "type": "integer"
                      },
                      "monthlyServedDownloadBytes": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "releaseContentBytes",
                      "symbolUploadContentBytes",
                      "monthlyServedDownloadBytes"
                    ]
                  },
                  "capabilities": {
                    "type": "array",
                    "items": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "supportWindow": {
                        "type": "string"
                      },
                      "priorityQueue": {
                        "type": "boolean"
                      },
                      "namedEscalationContact": {
                        "type": "boolean"
                      },
                      "quarterlyServiceReview": {
                        "type": "boolean"
                      },
                      "slaIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "dedicatedDeploymentIncluded": {
                        "type": "boolean",
                        "default": false
                      },
                      "automaticCarrierDiscount": {
                        "type": "boolean",
                        "default": false
                      },
                      "advisoryHoursRollOver": {
                        "type": "boolean",
                        "default": false
                      },
                      "bespokeEngineeringIncluded": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "supportWindow",
                      "priorityQueue",
                      "namedEscalationContact",
                      "quarterlyServiceReview"
                    ],
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "totalAmount": {
                        "type": "number"
                      },
                      "endsAtUtc": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "totalAmount",
                      "endsAtUtc"
                    ]
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "key",
                        "revision"
                      ]
                    }
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "template": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string"
                  },
                  "catalogRevision": {
                    "type": "string"
                  },
                  "key": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "visibility": {
                    "type": "string"
                  },
                  "effectiveFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "monthlyPrice": {
                    "type": "number"
                  },
                  "acceptedTelemetryRecords": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/acceptedTelemetryRecords"
                  },
                  "telemetryOverage": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage"
                  },
                  "eligibility": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/eligibility"
                  },
                  "rawRetentionDays": {
                    "type": "integer"
                  },
                  "aggregateRetentionMonths": {
                    "type": "integer"
                  },
                  "includedServices": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/includedServices"
                  },
                  "includedStorage": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/includedStorage"
                  },
                  "capabilities": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/capabilities"
                  },
                  "packageCatalogRevision": {
                    "type": "string"
                  },
                  "carrierRateRevision": {
                    "type": "string"
                  },
                  "paymentRoute": {
                    "type": "string"
                  },
                  "requiresEnterpriseAgreement": {
                    "type": "boolean"
                  },
                  "initialTermMonths": {
                    "type": "integer",
                    "default": 0
                  },
                  "onboardingHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyAdvisoryHours": {
                    "type": "integer",
                    "default": 0
                  },
                  "basedOnTemplateVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "serviceCommitments": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/serviceCommitments",
                    "default": null
                  },
                  "rawRetentionMonths": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "annualPrice": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "organizationLimit": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "externalAgreement": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/externalAgreement"
                  },
                  "shareTelemetryAcrossOrganizations": {
                    "type": "boolean"
                  },
                  "selectedPackages": {
                    "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/selectedPackages"
                  }
                },
                "required": [
                  "version",
                  "catalogRevision",
                  "key",
                  "name",
                  "visibility",
                  "effectiveFrom",
                  "currency",
                  "monthlyPrice",
                  "acceptedTelemetryRecords",
                  "telemetryOverage",
                  "eligibility",
                  "rawRetentionDays",
                  "aggregateRetentionMonths",
                  "includedServices",
                  "includedStorage",
                  "capabilities",
                  "packageCatalogRevision",
                  "carrierRateRevision",
                  "paymentRoute",
                  "requiresEnterpriseAgreement"
                ]
              },
              "packages": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "revision": {
                      "type": "string"
                    },
                    "key": {
                      "type": "string"
                    },
                    "product": {
                      "type": "string"
                    },
                    "level": {
                      "type": "string"
                    },
                    "currency": {
                      "type": "string"
                    },
                    "monthlyPrice": {
                      "type": "number"
                    },
                    "combination": {
                      "type": "string"
                    },
                    "quantities": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "unit": {
                            "type": "string"
                          },
                          "limit": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "unit",
                          "limit"
                        ]
                      }
                    },
                    "optionalBlocks": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "block": {
                            "$ref": "#/components/schemas/OpsQuotePage/properties/items/items/properties/enterpriseOffer/properties/agreement/properties/telemetryOverage/properties/block"
                          },
                          "usdPrice": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "block",
                          "usdPrice"
                        ]
                      }
                    }
                  },
                  "required": [
                    "revision",
                    "key",
                    "product",
                    "level",
                    "currency",
                    "monthlyPrice",
                    "combination",
                    "quantities",
                    "optionalBlocks"
                  ]
                }
              },
              "includedServices": {
                "type": "object",
                "properties": {
                  "smartLinkResolutions": {
                    "type": "integer"
                  },
                  "acceptedPushDeliveries": {
                    "type": "integer"
                  },
                  "inAppImpressions": {
                    "type": "integer"
                  },
                  "locationUpdates": {
                    "type": "integer"
                  }
                },
                "required": [
                  "smartLinkResolutions",
                  "acceptedPushDeliveries",
                  "inAppImpressions",
                  "locationUpdates"
                ]
              },
              "includedStorage": {
                "type": "object",
                "properties": {
                  "releaseContentBytes": {
                    "type": "integer"
                  },
                  "symbolUploadContentBytes": {
                    "type": "integer"
                  },
                  "monthlyServedDownloadBytes": {
                    "type": "integer"
                  }
                },
                "required": [
                  "releaseContentBytes",
                  "symbolUploadContentBytes",
                  "monthlyServedDownloadBytes"
                ]
              }
            },
            "required": [
              "agreement",
              "template",
              "packages",
              "includedServices",
              "includedStorage"
            ]
          },
          "pricing": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "currency": {
                "type": "string"
              },
              "monthlySubtotal": {
                "type": "number"
              },
              "monthlyDiscount": {
                "type": "number"
              },
              "monthlyTotal": {
                "type": "number"
              },
              "oneTimeSubtotal": {
                "type": "number"
              },
              "oneTimeDiscount": {
                "type": "number"
              },
              "oneTimeTotal": {
                "type": "number"
              },
              "initialTermMonths": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "initialTermEstimate": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "currency",
              "monthlySubtotal",
              "monthlyDiscount",
              "monthlyTotal",
              "oneTimeSubtotal",
              "oneTimeDiscount",
              "oneTimeTotal",
              "initialTermMonths",
              "initialTermEstimate"
            ]
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "quoteId",
          "tenantId",
          "prospect",
          "title",
          "status",
          "lineItems",
          "discountPercent",
          "subtotal",
          "discountAmount",
          "total",
          "validUntil",
          "createdAt",
          "updatedAt",
          "createdBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
RegulatedWorkloadStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "storageRequired": {
      "type": "boolean"
    },
    "approvalState": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "agreementReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "acknowledgementId": {
      "type": [
        "string",
        "null"
      ]
    },
    "bindingAppId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appDataBindingRevision": {
      "type": [
        "integer",
        "null"
      ]
    },
    "appDataBindingFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "objectStorageGenerationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "approvedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "approvedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "revokedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "revokedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "denialCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "currentBindingAcknowledgement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "acknowledgementId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "actorUserId": {
          "type": "string"
        },
        "acknowledgedAt": {
          "type": "string",
          "format": "date-time"
        },
        "noticeVersion": {
          "type": "string"
        },
        "usDataFlowNoticeVersion": {
          "type": "string"
        },
        "bindingAppId": {
          "type": [
            "string",
            "null"
          ]
        },
        "appDataBindingRevision": {
          "type": "integer"
        },
        "appDataBindingFingerprint": {
          "type": "string"
        },
        "objectStorageGenerationId": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "acknowledgementId",
        "tenantId",
        "appId",
        "actorUserId",
        "acknowledgedAt",
        "noticeVersion",
        "usDataFlowNoticeVersion",
        "bindingAppId",
        "appDataBindingRevision",
        "appDataBindingFingerprint",
        "objectStorageGenerationId"
      ]
    }
  },
  "required": [
    "tenantId",
    "appId",
    "storageRequired",
    "approvalState",
    "revision",
    "agreementReference",
    "acknowledgementId",
    "bindingAppId",
    "appDataBindingRevision",
    "appDataBindingFingerprint",
    "objectStorageGenerationId",
    "approvedBy",
    "approvedAt",
    "revokedBy",
    "revokedAt",
    "denialCode"
  ]
}
RegulatedStorageAcknowledgement
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "acknowledgementId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "actorUserId": {
      "type": "string"
    },
    "acknowledgedAt": {
      "type": "string",
      "format": "date-time"
    },
    "noticeVersion": {
      "type": "string"
    },
    "usDataFlowNoticeVersion": {
      "type": "string"
    },
    "bindingAppId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appDataBindingRevision": {
      "type": "integer"
    },
    "appDataBindingFingerprint": {
      "type": "string"
    },
    "objectStorageGenerationId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "acknowledgementId",
    "tenantId",
    "appId",
    "actorUserId",
    "acknowledgedAt",
    "noticeVersion",
    "usDataFlowNoticeVersion",
    "bindingAppId",
    "appDataBindingRevision",
    "appDataBindingFingerprint",
    "objectStorageGenerationId"
  ]
}
OrganizationBrandingWorkspace
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "permission": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "policyVersion": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "consentActive": {
          "type": "boolean"
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "verificationExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "effectiveAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "optOutAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "inUse": {
          "type": "boolean"
        },
        "removalDueAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "removalCompletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "remediationRequired": {
          "type": "boolean"
        },
        "revision": {
          "type": "integer"
        }
      },
      "required": [
        "tenantId",
        "policyVersion",
        "source",
        "consentActive",
        "verificationState",
        "verificationExpiresAt",
        "effectiveAt",
        "optOutAt",
        "inUse",
        "removalDueAt",
        "removalCompletedAt",
        "remediationRequired",
        "revision"
      ]
    },
    "logoAvailable": {
      "type": "boolean"
    },
    "history": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "eventId": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "actor": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "beforeState": {
            "type": "string"
          },
          "afterState": {
            "type": "string"
          }
        },
        "required": [
          "eventId",
          "revision",
          "actor",
          "action",
          "reason",
          "occurredAt",
          "beforeState",
          "afterState"
        ]
      }
    },
    "nextBeforeRevision": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "permission",
    "logoAvailable",
    "history",
    "nextBeforeRevision"
  ]
}
OrganizationBrandingPermission
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "policyVersion": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "consentActive": {
      "type": "boolean"
    },
    "verificationState": {
      "enum": [
        "NotApplicable",
        "Unverified",
        "PendingReview",
        "Verified",
        "Disputed",
        "Rejected",
        "Suspended"
      ]
    },
    "verificationExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "effectiveAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "optOutAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "inUse": {
      "type": "boolean"
    },
    "removalDueAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "removalCompletedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "remediationRequired": {
      "type": "boolean"
    },
    "revision": {
      "type": "integer"
    }
  },
  "required": [
    "tenantId",
    "policyVersion",
    "source",
    "consentActive",
    "verificationState",
    "verificationExpiresAt",
    "effectiveAt",
    "optOutAt",
    "inUse",
    "removalDueAt",
    "removalCompletedAt",
    "remediationRequired",
    "revision"
  ]
}
BrandingPermissionHistory
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "eventId": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "actor": {
      "type": "string"
    },
    "action": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "beforeState": {
      "type": "string"
    },
    "afterState": {
      "type": "string"
    }
  },
  "required": [
    "eventId",
    "revision",
    "actor",
    "action",
    "reason",
    "occurredAt",
    "beforeState",
    "afterState"
  ]
}
RetentionPolicy
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "telemetryDays": {
      "type": "integer"
    },
    "logDays": {
      "type": "integer"
    },
    "sessionStoryDays": {
      "type": "integer"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "acknowledgedByAdmin": {
      "type": "boolean"
    },
    "planKey": {
      "type": "string",
      "default": "free"
    },
    "maximumDays": {
      "type": "integer",
      "default": 7
    }
  },
  "required": [
    "tenantId",
    "telemetryDays",
    "logDays",
    "sessionStoryDays",
    "updatedAt",
    "updatedBy",
    "acknowledgedByAdmin"
  ]
}
FeatureFlag
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "flagKey": {
      "type": "string"
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "enabled": {
      "type": "boolean"
    },
    "description": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    }
  },
  "required": [
    "flagKey",
    "tenantId",
    "enabled",
    "description",
    "updatedAt",
    "updatedBy"
  ]
}
FeatureFlagControl
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "definition": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "prerequisites": {
          "type": "string"
        }
      },
      "required": [
        "key",
        "name",
        "description",
        "prerequisites"
      ]
    },
    "globalSetting": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "flagKey": {
          "type": "string"
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "enabled": {
          "type": "boolean"
        },
        "description": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string"
        }
      },
      "required": [
        "flagKey",
        "tenantId",
        "enabled",
        "description",
        "updatedAt",
        "updatedBy"
      ]
    },
    "organizationSetting": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "flagKey": {
          "type": "string"
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "enabled": {
          "type": "boolean"
        },
        "description": {
          "type": "string"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string"
        }
      },
      "required": [
        "flagKey",
        "tenantId",
        "enabled",
        "description",
        "updatedAt",
        "updatedBy"
      ]
    },
    "switchEnabled": {
      "type": "boolean"
    },
    "source": {
      "type": "string"
    },
    "contractAuthorized": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "definition",
    "globalSetting",
    "organizationSetting",
    "switchEnabled",
    "source",
    "contractAuthorized"
  ]
}
FeatureFlagDefinition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "prerequisites": {
      "type": "string"
    }
  },
  "required": [
    "key",
    "name",
    "description",
    "prerequisites"
  ]
}
BrandingPermissionChange
{
  "type": "object",
  "properties": {
    "revision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
UpdateRetentionRequest
{
  "type": "object",
  "properties": {
    "telemetryDays": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "logDays": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "sessionStoryDays": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "acknowledgedByAdmin": {
      "type": "boolean"
    }
  }
}
UpsertFeatureFlagRequest
{
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "global": {
      "type": "boolean",
      "default": false
    }
  }
}
ApproveRegulatedWorkloadRequest
{
  "type": "object",
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "agreementReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "acknowledgementId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "appId",
    "expectedRevision",
    "agreementReference",
    "acknowledgementId"
  ],
  "additionalProperties": false
}
RevokeRegulatedWorkloadRequest
{
  "type": "object",
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "appId",
    "expectedRevision",
    "reason"
  ],
  "additionalProperties": false
}
OpsRegulatedCommandReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "receiptId": {
      "type": "string"
    },
    "replayed": {
      "type": "boolean"
    },
    "recordedOutcome": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "storageRequired": {
          "type": "boolean"
        },
        "approvalState": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "agreementReference": {
          "type": [
            "string",
            "null"
          ]
        },
        "acknowledgementId": {
          "type": [
            "string",
            "null"
          ]
        },
        "bindingAppId": {
          "type": [
            "string",
            "null"
          ]
        },
        "appDataBindingRevision": {
          "type": [
            "integer",
            "null"
          ]
        },
        "appDataBindingFingerprint": {
          "type": [
            "string",
            "null"
          ]
        },
        "objectStorageGenerationId": {
          "type": [
            "string",
            "null"
          ]
        },
        "approvedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "approvedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "revokedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "revokedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "denialCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "currentBindingAcknowledgement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "acknowledgementId": {
              "type": "string"
            },
            "tenantId": {
              "type": "string"
            },
            "appId": {
              "type": [
                "string",
                "null"
              ]
            },
            "actorUserId": {
              "type": "string"
            },
            "acknowledgedAt": {
              "type": "string",
              "format": "date-time"
            },
            "noticeVersion": {
              "type": "string"
            },
            "usDataFlowNoticeVersion": {
              "type": "string"
            },
            "bindingAppId": {
              "type": [
                "string",
                "null"
              ]
            },
            "appDataBindingRevision": {
              "type": "integer"
            },
            "appDataBindingFingerprint": {
              "type": "string"
            },
            "objectStorageGenerationId": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "acknowledgementId",
            "tenantId",
            "appId",
            "actorUserId",
            "acknowledgedAt",
            "noticeVersion",
            "usDataFlowNoticeVersion",
            "bindingAppId",
            "appDataBindingRevision",
            "appDataBindingFingerprint",
            "objectStorageGenerationId"
          ]
        }
      },
      "required": [
        "tenantId",
        "appId",
        "storageRequired",
        "approvalState",
        "revision",
        "agreementReference",
        "acknowledgementId",
        "bindingAppId",
        "appDataBindingRevision",
        "appDataBindingFingerprint",
        "objectStorageGenerationId",
        "approvedBy",
        "approvedAt",
        "revokedBy",
        "revokedAt",
        "denialCode"
      ]
    }
  },
  "required": [
    "receiptId",
    "replayed",
    "recordedOutcome"
  ]
}
OpsConfigurationFlagArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "flagKey": {
        "type": "string"
      },
      "tenantId": {
        "type": [
          "string",
          "null"
        ]
      },
      "enabled": {
        "type": "boolean"
      },
      "description": {
        "type": "string"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      }
    },
    "required": [
      "flagKey",
      "tenantId",
      "enabled",
      "description",
      "updatedAt",
      "updatedBy"
    ]
  }
}
OpsConfigurationFlagPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "flagKey": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "flagKey",
          "tenantId",
          "enabled",
          "description",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsConfigurationFlagControlArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "definition": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "prerequisites": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "name",
          "description",
          "prerequisites"
        ]
      },
      "globalSetting": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "flagKey": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "flagKey",
          "tenantId",
          "enabled",
          "description",
          "updatedAt",
          "updatedBy"
        ]
      },
      "organizationSetting": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "flagKey": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "flagKey",
          "tenantId",
          "enabled",
          "description",
          "updatedAt",
          "updatedBy"
        ]
      },
      "switchEnabled": {
        "type": "boolean"
      },
      "source": {
        "type": "string"
      },
      "contractAuthorized": {
        "type": [
          "boolean",
          "null"
        ]
      }
    },
    "required": [
      "definition",
      "globalSetting",
      "organizationSetting",
      "switchEnabled",
      "source",
      "contractAuthorized"
    ]
  }
}
PolicyAcceptanceHistoryEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "evidenceId": {
      "type": "string"
    },
    "presentationId": {
      "type": "string"
    },
    "revisionId": {
      "type": "string"
    },
    "policyKey": {
      "type": "string"
    },
    "sha256": {
      "type": "string"
    },
    "subjectUserId": {
      "type": "string"
    },
    "purpose": {
      "type": "string"
    },
    "scopeKind": {
      "type": "string"
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "surface": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "presentedAt": {
      "type": "string",
      "format": "date-time"
    },
    "actedAt": {
      "type": "string",
      "format": "date-time"
    },
    "authorityBasis": {
      "type": "string"
    }
  },
  "required": [
    "evidenceId",
    "presentationId",
    "revisionId",
    "policyKey",
    "sha256",
    "subjectUserId",
    "purpose",
    "scopeKind",
    "tenantId",
    "surface",
    "locale",
    "presentedAt",
    "actedAt",
    "authorityBasis"
  ]
}
PolicyAcceptanceHistoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "presentationId": {
            "type": "string"
          },
          "revisionId": {
            "type": "string"
          },
          "policyKey": {
            "type": "string"
          },
          "sha256": {
            "type": "string"
          },
          "subjectUserId": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "scopeKind": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "surface": {
            "type": "string"
          },
          "locale": {
            "type": "string"
          },
          "presentedAt": {
            "type": "string",
            "format": "date-time"
          },
          "actedAt": {
            "type": "string",
            "format": "date-time"
          },
          "authorityBasis": {
            "type": "string"
          }
        },
        "required": [
          "evidenceId",
          "presentationId",
          "revisionId",
          "policyKey",
          "sha256",
          "subjectUserId",
          "purpose",
          "scopeKind",
          "tenantId",
          "surface",
          "locale",
          "presentedAt",
          "actedAt",
          "authorityBasis"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
PortalAccessDecision
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "decidedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "revision": {
      "type": "integer",
      "default": 0
    },
    "isWaitlisted": {
      "type": "boolean",
      "readOnly": true
    }
  },
  "required": [
    "status",
    "source"
  ]
}
SmartLinkDomainRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "domainId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "environmentPrefix": {
      "type": [
        "string",
        "null"
      ]
    },
    "host": {
      "type": "string"
    },
    "defaultFallbackUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "purpose": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "enum": [
        "PendingReview",
        "Approved",
        "Declined",
        "Withdrawn"
      ]
    },
    "active": {
      "type": "boolean"
    },
    "requestedAt": {
      "type": "string",
      "format": "date-time"
    },
    "requestedBy": {
      "type": "string"
    },
    "reviewedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "reviewedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "decisionReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "assignedAppId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "assignedEnvironment": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "familyHosts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "requestedForAppId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "domainId",
    "tenantId",
    "label",
    "environmentPrefix",
    "host",
    "defaultFallbackUrl",
    "purpose",
    "status",
    "active",
    "requestedAt",
    "requestedBy",
    "reviewedAt",
    "reviewedBy",
    "decisionReason",
    "updatedAt"
  ]
}
TenantEntitlement
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "planDefault": {
      "type": "boolean"
    },
    "override": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "effective": {
      "type": "boolean"
    },
    "enterpriseOnly": {
      "type": "boolean",
      "default": false
    },
    "contractAuthorized": {
      "type": "boolean",
      "default": true
    },
    "betaRequired": {
      "type": "boolean",
      "default": false
    },
    "betaGranted": {
      "type": "boolean",
      "default": true
    },
    "betaGrantExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "betaGrantRevision": {
      "type": "integer",
      "default": 0
    }
  },
  "required": [
    "key",
    "name",
    "description",
    "planDefault",
    "override",
    "effective"
  ]
}
OfferingDeclarationReviewPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "declarationId": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "environmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "type": "integer"
          },
          "sourceVersion": {
            "type": "string"
          },
          "payloadHash": {
            "type": "string"
          },
          "authorityBasis": {
            "type": "string"
          },
          "effectiveFromUtc": {
            "type": "string",
            "format": "date-time"
          },
          "declaredAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "sourceDeclarationId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "account": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "scope": {
                "type": "string"
              },
              "nonstandardContractObligations": {
                "type": "boolean"
              },
              "controlledGroupReference": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wholeScopeEmployees": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "wholeScopeAnnualUsdRevenueOrBudget": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "financialBasis": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "financialPeriodFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "financialPeriodToUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "scope",
              "nonstandardContractObligations"
            ]
          },
          "groupReview": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sourceAccountDeclarationId": {
                "type": "string",
                "format": "uuid"
              },
              "outcome": {
                "type": "string"
              },
              "controlEvidenceId": {
                "type": "string"
              },
              "canonicalGroupId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid",
                "default": null
              },
              "wholeGroupEmployees": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "wholeGroupAnnualUsdRevenueOrBudget": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "financialBasis": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "financialPeriodFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "financialPeriodToUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "sourceAccountDeclarationId",
              "outcome",
              "controlEvidenceId"
            ]
          },
          "environment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "purpose": {
                "type": "string"
              },
              "trafficBasis": {
                "type": "string"
              },
              "sharedIdentityNamespace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "userActivityEventNames": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "sharedIdentityConsentVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "purpose",
              "trafficBasis"
            ]
          },
          "exclusion": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "selectorKind": {
                "type": "string"
              },
              "classification": {
                "type": "string"
              },
              "protectedKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "comparisonDomainKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "selectorKind",
              "classification"
            ]
          }
        },
        "required": [
          "declarationId",
          "kind",
          "appId",
          "environmentId",
          "revision",
          "sourceVersion",
          "payloadHash",
          "authorityBasis",
          "effectiveFromUtc",
          "declaredAtUtc",
          "sourceDeclarationId",
          "account",
          "groupReview",
          "environment",
          "exclusion"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  },
  "required": [
    "items",
    "nextAfter"
  ]
}
OfferingDeclarationReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "declarationId": {
      "type": "string",
      "format": "uuid"
    },
    "revision": {
      "type": "integer"
    },
    "mutationId": {
      "type": "string",
      "format": "uuid"
    },
    "effectiveFromUtc": {
      "type": "string",
      "format": "date-time"
    },
    "payloadHash": {
      "type": "string"
    }
  },
  "required": [
    "declarationId",
    "revision",
    "mutationId",
    "effectiveFromUtc",
    "payloadHash"
  ]
}
PortalAccessChangeRequest
{
  "type": "object",
  "properties": {
    "approved": {
      "type": "boolean"
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  },
  "required": [
    "approved",
    "expectedRevision"
  ]
}
SmartLinkDomainReviewRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
AiClassificationRequest
{
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "classification": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}
SetEntitlementRequest
{
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean"
    }
  }
}
OfferingDeclarationHistoryReviewRequest
{
  "type": "object",
  "properties": {
    "sourceVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "reviewId": {
      "type": "string",
      "format": "uuid"
    },
    "declarationId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedPayloadHash": {
      "type": [
        "string",
        "null"
      ]
    },
    "fromUtc": {
      "type": "string",
      "format": "date-time"
    },
    "toUtc": {
      "type": "string",
      "format": "date-time"
    },
    "evidenceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "sourceVersion",
    "reviewId",
    "declarationId",
    "expectedPayloadHash",
    "fromUtc",
    "toUtc",
    "evidenceId",
    "reason"
  ]
}
OpsControlledGroupReviewRequest
{
  "type": "object",
  "properties": {
    "sourceVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "mutationId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "sourceAccountDeclarationId": {
          "type": "string",
          "format": "uuid"
        },
        "outcome": {
          "type": [
            "string",
            "null"
          ]
        },
        "controlEvidenceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "canonicalGroupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "default": null
        },
        "wholeGroupEmployees": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        },
        "wholeGroupAnnualUsdRevenueOrBudget": {
          "type": [
            "string",
            "number",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
          "default": null
        },
        "financialBasis": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "financialPeriodFromUtc": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "financialPeriodToUtc": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "sourceAccountDeclarationId",
        "outcome",
        "controlEvidenceId"
      ]
    },
    "effectiveFromUtc": {
      "type": "string",
      "format": "date-time"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "sourceVersion",
    "mutationId",
    "expectedRevision",
    "definition",
    "effectiveFromUtc",
    "reason"
  ]
}
OpsAccountDomainRequests
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "domainId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "label": {
        "type": "string"
      },
      "environmentPrefix": {
        "type": [
          "string",
          "null"
        ]
      },
      "host": {
        "type": "string"
      },
      "defaultFallbackUrl": {
        "type": [
          "string",
          "null"
        ]
      },
      "purpose": {
        "type": [
          "string",
          "null"
        ]
      },
      "status": {
        "enum": [
          "PendingReview",
          "Approved",
          "Declined",
          "Withdrawn"
        ]
      },
      "active": {
        "type": "boolean"
      },
      "requestedAt": {
        "type": "string",
        "format": "date-time"
      },
      "requestedBy": {
        "type": "string"
      },
      "reviewedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "reviewedBy": {
        "type": [
          "string",
          "null"
        ]
      },
      "decisionReason": {
        "type": [
          "string",
          "null"
        ]
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "assignedAppId": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "assignedEnvironment": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "familyHosts": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "string",
            "null"
          ]
        },
        "default": null
      },
      "requestedForAppId": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "domainId",
      "tenantId",
      "label",
      "environmentPrefix",
      "host",
      "defaultFallbackUrl",
      "purpose",
      "status",
      "active",
      "requestedAt",
      "requestedBy",
      "reviewedAt",
      "reviewedBy",
      "decisionReason",
      "updatedAt"
    ]
  }
}
OpsAccountEntitlements
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "key": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "planDefault": {
        "type": "boolean"
      },
      "override": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "effective": {
        "type": "boolean"
      },
      "enterpriseOnly": {
        "type": "boolean",
        "default": false
      },
      "contractAuthorized": {
        "type": "boolean",
        "default": true
      },
      "betaRequired": {
        "type": "boolean",
        "default": false
      },
      "betaGranted": {
        "type": "boolean",
        "default": true
      },
      "betaGrantExpiresAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "default": null
      },
      "betaGrantRevision": {
        "type": "integer",
        "default": 0
      }
    },
    "required": [
      "key",
      "name",
      "description",
      "planDefault",
      "override",
      "effective"
    ]
  }
}
OpsAiClassification
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "classification": {
      "type": "string",
      "enum": [
        "Unknown",
        "Other",
        "EuEnterprise"
      ]
    },
    "revision": {
      "type": "integer",
      "format": "int64"
    }
  },
  "required": [
    "classification",
    "revision"
  ]
}
OpsEligibilityHistoryReviewReceipt
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "reviewId": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "reviewId"
  ]
}
OpsAccountDomainReviewProblem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "detail": {
      "type": [
        "string",
        "null"
      ]
    },
    "instance": {
      "type": [
        "string",
        "null"
      ]
    },
    "code": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "traceId": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    },
    "dnsCompensationRequired": {
      "type": "boolean",
      "const": true
    }
  }
}
PlatformSdkAdoptionReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "completeness": {
      "enum": [
        "Complete",
        "Partial",
        "Unavailable"
      ]
    },
    "sourceDiscoveryComplete": {
      "type": "boolean"
    },
    "availableSourceCount": {
      "type": "integer"
    },
    "unavailableSourceCount": {
      "type": "integer"
    },
    "observedSessionCount": {
      "type": "integer"
    },
    "attributedObservedSessionCount": {
      "type": "integer"
    },
    "unattributedObservedSessionCount": {
      "type": "integer"
    },
    "sdkVersions": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "sdkName": {
            "type": "string"
          },
          "sdkVersion": {
            "type": "string"
          },
          "sessionCount": {
            "type": "integer"
          },
          "firstSeenAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "supportedVersionBaseline": {
            "type": [
              "string",
              "null"
            ]
          },
          "isStaleVersion": {
            "type": "boolean"
          }
        },
        "required": [
          "sdkName",
          "sdkVersion",
          "sessionCount",
          "firstSeenAt",
          "lastSeenAt",
          "supportedVersionBaseline",
          "isStaleVersion"
        ]
      }
    },
    "wrappers": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "sessionCount": {
            "type": "integer"
          },
          "firstSeenAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "version",
          "sessionCount",
          "firstSeenAt",
          "lastSeenAt"
        ]
      }
    },
    "runtimes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PlatformSdkAdoptionReport/properties/wrappers/items"
      }
    },
    "platforms": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "sessionCount": {
            "type": "integer"
          },
          "firstSeenAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "sessionCount",
          "firstSeenAt",
          "lastSeenAt"
        ]
      }
    },
    "formFactors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/PlatformSdkAdoptionReport/properties/platforms/items"
      }
    },
    "providers": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          },
          "observedSessionCount": {
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "availableSourceCount",
          "unavailableSourceCount",
          "observedSessionCount"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "completeness",
    "sourceDiscoveryComplete",
    "availableSourceCount",
    "unavailableSourceCount",
    "observedSessionCount",
    "attributedObservedSessionCount",
    "unattributedObservedSessionCount",
    "sdkVersions",
    "wrappers",
    "runtimes",
    "platforms",
    "formFactors",
    "providers"
  ]
}
TelemetryProvenanceAuditReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "policyVersion": {
      "type": "string"
    },
    "completeness": {
      "enum": [
        "Complete",
        "Partial",
        "Unavailable"
      ]
    },
    "sourceDiscoveryComplete": {
      "type": "boolean"
    },
    "availableSourceCount": {
      "type": "integer"
    },
    "unavailableSourceCount": {
      "type": "integer"
    },
    "observedCandidateCount": {
      "type": "integer"
    },
    "eligibleRecordCount": {
      "type": "integer"
    },
    "conflictedRecordCount": {
      "type": "integer"
    },
    "stillUnattributedRecordCount": {
      "type": "integer"
    },
    "candidateCountLowerBound": {
      "type": "integer"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "signalKind": {
            "enum": [
              "Event",
              "Log",
              "Session",
              "Rum",
              "Crash"
            ]
          },
          "disposition": {
            "enum": [
              "ExactSession",
              "InstallationCrash",
              "Conflict",
              "InsufficientEvidence"
            ]
          },
          "candidatePlatform": {
            "enum": [
              "unattributed",
              "iOS",
              "Android",
              "Windows",
              "MacCatalyst",
              "Web",
              "macOS",
              "watchOS",
              "tvOS",
              "WinUI",
              "Wpf",
              "Linux",
              "iPadOS",
              null
            ]
          },
          "recordCount": {
            "type": "integer"
          },
          "firstSeenAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeenAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "tenantId",
          "appId",
          "environmentName",
          "signalKind",
          "disposition",
          "candidatePlatform",
          "recordCount",
          "firstSeenAt",
          "lastSeenAt"
        ]
      }
    },
    "providers": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          },
          "observedCandidateCount": {
            "type": "integer"
          },
          "candidateCountLowerBound": {
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "availableSourceCount",
          "unavailableSourceCount",
          "observedCandidateCount",
          "candidateCountLowerBound"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "generatedAt",
    "policyVersion",
    "completeness",
    "sourceDiscoveryComplete",
    "availableSourceCount",
    "unavailableSourceCount",
    "observedCandidateCount",
    "eligibleRecordCount",
    "conflictedRecordCount",
    "stillUnattributedRecordCount",
    "candidateCountLowerBound",
    "scopes",
    "providers"
  ]
}
PlatformDeliveryRecordCounts
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "thisMonthFrom": {
      "type": "string",
      "format": "date-time"
    },
    "lastMonthFrom": {
      "type": "string",
      "format": "date-time"
    },
    "thisMonth": {
      "type": "integer"
    },
    "lastMonth": {
      "type": "integer"
    },
    "allTime": {
      "type": "integer"
    }
  },
  "required": [
    "observedAt",
    "thisMonthFrom",
    "lastMonthFrom",
    "thisMonth",
    "lastMonth",
    "allTime"
  ]
}
PlatformSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "totalTenants": {
      "type": "integer"
    },
    "activeTenants": {
      "type": "integer"
    },
    "inactiveTenants": {
      "type": "integer"
    },
    "monthlyRecurringRevenue": {
      "type": "number"
    },
    "planDistribution": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "planKey": {
            "type": "string"
          },
          "planName": {
            "type": "string"
          },
          "tenantCount": {
            "type": "integer"
          },
          "monthlyRevenue": {
            "type": "number"
          }
        },
        "required": [
          "planKey",
          "planName",
          "tenantCount",
          "monthlyRevenue"
        ]
      }
    }
  },
  "required": [
    "totalTenants",
    "activeTenants",
    "inactiveTenants",
    "monthlyRecurringRevenue",
    "planDistribution"
  ]
}
PlatformPlanSlice
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "planKey": {
      "type": "string"
    },
    "planName": {
      "type": "string"
    },
    "tenantCount": {
      "type": "integer"
    },
    "monthlyRevenue": {
      "type": "number"
    }
  },
  "required": [
    "planKey",
    "planName",
    "tenantCount",
    "monthlyRevenue"
  ]
}
PlatformVolumeReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "thisMonth": {
      "type": "object",
      "properties": {
        "events": {
          "type": "integer"
        },
        "exceptions": {
          "type": "integer"
        },
        "sessions": {
          "type": "integer"
        },
        "messages": {
          "type": "integer"
        }
      },
      "required": [
        "events",
        "exceptions",
        "sessions",
        "messages"
      ]
    },
    "lastMonth": {
      "type": "object",
      "properties": {
        "events": {
          "type": "integer"
        },
        "exceptions": {
          "type": "integer"
        },
        "sessions": {
          "type": "integer"
        },
        "messages": {
          "type": "integer"
        }
      },
      "required": [
        "events",
        "exceptions",
        "sessions",
        "messages"
      ]
    },
    "allTime": {
      "type": "object",
      "properties": {
        "events": {
          "type": "integer"
        },
        "exceptions": {
          "type": "integer"
        },
        "sessions": {
          "type": "integer"
        },
        "messages": {
          "type": "integer"
        }
      },
      "required": [
        "events",
        "exceptions",
        "sessions",
        "messages"
      ]
    }
  },
  "required": [
    "thisMonth",
    "lastMonth",
    "allTime"
  ]
}
PlatformVolumeMetrics
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "events": {
      "type": "integer"
    },
    "exceptions": {
      "type": "integer"
    },
    "sessions": {
      "type": "integer"
    },
    "messages": {
      "type": "integer"
    }
  },
  "required": [
    "events",
    "exceptions",
    "sessions",
    "messages"
  ]
}
PlatformObservedActivityReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "current": {
      "type": "object",
      "properties": {
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "organizations": {
          "type": "object",
          "properties": {
            "completeness": {
              "enum": [
                "Complete",
                "Partial",
                "Unavailable"
              ]
            },
            "observedCount": {
              "type": [
                "integer",
                "null"
              ]
            },
            "firstObservedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "lastObservedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          },
          "required": [
            "completeness",
            "observedCount",
            "firstObservedAt",
            "lastObservedAt"
          ]
        },
        "apps": {
          "type": "object",
          "properties": {
            "completeness": {
              "enum": [
                "Complete",
                "Partial",
                "Unavailable"
              ]
            },
            "observedCount": {
              "type": [
                "integer",
                "null"
              ]
            },
            "firstObservedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "lastObservedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          },
          "required": [
            "completeness",
            "observedCount",
            "firstObservedAt",
            "lastObservedAt"
          ]
        },
        "portalAccounts": {
          "type": "object",
          "properties": {
            "completeness": {
              "enum": [
                "Complete",
                "Partial",
                "Unavailable"
              ]
            },
            "observedCount": {
              "type": [
                "integer",
                "null"
              ]
            },
            "firstObservedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "lastObservedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            }
          },
          "required": [
            "completeness",
            "observedCount",
            "firstObservedAt",
            "lastObservedAt"
          ]
        },
        "telemetryCoverage": {
          "type": "object",
          "properties": {
            "sourceDiscoveryComplete": {
              "type": "boolean"
            },
            "completeSourceCount": {
              "type": "integer"
            },
            "partialSourceCount": {
              "type": "integer"
            },
            "unavailableSourceCount": {
              "type": "integer"
            }
          },
          "required": [
            "sourceDiscoveryComplete",
            "completeSourceCount",
            "partialSourceCount",
            "unavailableSourceCount"
          ]
        }
      },
      "required": [
        "from",
        "to",
        "organizations",
        "apps",
        "portalAccounts",
        "telemetryCoverage"
      ]
    },
    "previous": {
      "type": "object",
      "properties": {
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "organizations": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/organizations"
        },
        "apps": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/apps"
        },
        "portalAccounts": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/portalAccounts"
        },
        "telemetryCoverage": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/telemetryCoverage"
        }
      },
      "required": [
        "from",
        "to",
        "organizations",
        "apps",
        "portalAccounts",
        "telemetryCoverage"
      ]
    },
    "retained": {
      "type": "object",
      "properties": {
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "organizations": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/organizations"
        },
        "apps": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/apps"
        },
        "portalAccounts": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/portalAccounts"
        },
        "telemetryCoverage": {
          "$ref": "#/components/schemas/PlatformObservedActivityReport/properties/current/properties/telemetryCoverage"
        }
      },
      "required": [
        "from",
        "to",
        "organizations",
        "apps",
        "portalAccounts",
        "telemetryCoverage"
      ]
    },
    "comparison": {
      "type": "object",
      "properties": {
        "organizationCountChange": {
          "type": [
            "integer",
            "null"
          ]
        },
        "appCountChange": {
          "type": [
            "integer",
            "null"
          ]
        },
        "portalAccountCountChange": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "organizationCountChange",
        "appCountChange",
        "portalAccountCountChange"
      ]
    },
    "schemaVersion": {
      "type": "integer",
      "default": 1
    }
  },
  "required": [
    "observedAt",
    "current",
    "previous",
    "retained",
    "comparison"
  ]
}
PlatformObservedActivityWindow
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "organizations": {
      "type": "object",
      "properties": {
        "completeness": {
          "enum": [
            "Complete",
            "Partial",
            "Unavailable"
          ]
        },
        "observedCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "firstObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "completeness",
        "observedCount",
        "firstObservedAt",
        "lastObservedAt"
      ]
    },
    "apps": {
      "type": "object",
      "properties": {
        "completeness": {
          "enum": [
            "Complete",
            "Partial",
            "Unavailable"
          ]
        },
        "observedCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "firstObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "completeness",
        "observedCount",
        "firstObservedAt",
        "lastObservedAt"
      ]
    },
    "portalAccounts": {
      "type": "object",
      "properties": {
        "completeness": {
          "enum": [
            "Complete",
            "Partial",
            "Unavailable"
          ]
        },
        "observedCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "firstObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "completeness",
        "observedCount",
        "firstObservedAt",
        "lastObservedAt"
      ]
    },
    "telemetryCoverage": {
      "type": "object",
      "properties": {
        "sourceDiscoveryComplete": {
          "type": "boolean"
        },
        "completeSourceCount": {
          "type": "integer"
        },
        "partialSourceCount": {
          "type": "integer"
        },
        "unavailableSourceCount": {
          "type": "integer"
        }
      },
      "required": [
        "sourceDiscoveryComplete",
        "completeSourceCount",
        "partialSourceCount",
        "unavailableSourceCount"
      ]
    }
  },
  "required": [
    "from",
    "to",
    "organizations",
    "apps",
    "portalAccounts",
    "telemetryCoverage"
  ]
}
PlatformObservedActivityPopulation
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "completeness": {
      "enum": [
        "Complete",
        "Partial",
        "Unavailable"
      ]
    },
    "observedCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "firstObservedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastObservedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "completeness",
    "observedCount",
    "firstObservedAt",
    "lastObservedAt"
  ]
}
PlatformObservedActivityCoverage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "sourceDiscoveryComplete": {
      "type": "boolean"
    },
    "completeSourceCount": {
      "type": "integer"
    },
    "partialSourceCount": {
      "type": "integer"
    },
    "unavailableSourceCount": {
      "type": "integer"
    }
  },
  "required": [
    "sourceDiscoveryComplete",
    "completeSourceCount",
    "partialSourceCount",
    "unavailableSourceCount"
  ]
}
PlatformObservedActivityComparison
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "organizationCountChange": {
      "type": [
        "integer",
        "null"
      ]
    },
    "appCountChange": {
      "type": [
        "integer",
        "null"
      ]
    },
    "portalAccountCountChange": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "organizationCountChange",
    "appCountChange",
    "portalAccountCountChange"
  ]
}
PlatformAggregateCompleteness
{
  "enum": [
    "Complete",
    "Partial",
    "Unavailable"
  ]
}
PlatformVolumeHealthReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "thisMonth": {
      "type": "object",
      "properties": {
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "completeness": {
          "enum": [
            "Complete",
            "Partial",
            "Unavailable"
          ]
        },
        "sourceDiscoveryComplete": {
          "type": "boolean"
        },
        "availableSourceCount": {
          "type": "integer"
        },
        "unavailableSourceCount": {
          "type": "integer"
        },
        "availableTotals": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "events": {
              "type": "integer"
            },
            "exceptions": {
              "type": "integer"
            },
            "sessions": {
              "type": "integer"
            }
          },
          "required": [
            "events",
            "exceptions",
            "sessions"
          ]
        },
        "providers": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "provider": {
                "type": "string"
              },
              "availableSourceCount": {
                "type": "integer"
              },
              "unavailableSourceCount": {
                "type": "integer"
              }
            },
            "required": [
              "provider",
              "availableSourceCount",
              "unavailableSourceCount"
            ]
          }
        }
      },
      "required": [
        "from",
        "to",
        "completeness",
        "sourceDiscoveryComplete",
        "availableSourceCount",
        "unavailableSourceCount",
        "availableTotals",
        "providers"
      ]
    },
    "lastMonth": {
      "type": "object",
      "properties": {
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "completeness": {
          "enum": [
            "Complete",
            "Partial",
            "Unavailable"
          ]
        },
        "sourceDiscoveryComplete": {
          "type": "boolean"
        },
        "availableSourceCount": {
          "type": "integer"
        },
        "unavailableSourceCount": {
          "type": "integer"
        },
        "availableTotals": {
          "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/availableTotals"
        },
        "providers": {
          "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/providers"
        }
      },
      "required": [
        "from",
        "to",
        "completeness",
        "sourceDiscoveryComplete",
        "availableSourceCount",
        "unavailableSourceCount",
        "availableTotals",
        "providers"
      ]
    },
    "allTime": {
      "type": "object",
      "properties": {
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "completeness": {
          "enum": [
            "Complete",
            "Partial",
            "Unavailable"
          ]
        },
        "sourceDiscoveryComplete": {
          "type": "boolean"
        },
        "availableSourceCount": {
          "type": "integer"
        },
        "unavailableSourceCount": {
          "type": "integer"
        },
        "availableTotals": {
          "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/availableTotals"
        },
        "providers": {
          "$ref": "#/components/schemas/PlatformVolumeHealthReport/properties/thisMonth/properties/providers"
        }
      },
      "required": [
        "from",
        "to",
        "completeness",
        "sourceDiscoveryComplete",
        "availableSourceCount",
        "unavailableSourceCount",
        "availableTotals",
        "providers"
      ]
    },
    "schemaVersion": {
      "type": "integer",
      "default": 1
    }
  },
  "required": [
    "observedAt",
    "thisMonth",
    "lastMonth",
    "allTime"
  ]
}
PlatformVolumeHealthWindow
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "completeness": {
      "enum": [
        "Complete",
        "Partial",
        "Unavailable"
      ]
    },
    "sourceDiscoveryComplete": {
      "type": "boolean"
    },
    "availableSourceCount": {
      "type": "integer"
    },
    "unavailableSourceCount": {
      "type": "integer"
    },
    "availableTotals": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "events": {
          "type": "integer"
        },
        "exceptions": {
          "type": "integer"
        },
        "sessions": {
          "type": "integer"
        }
      },
      "required": [
        "events",
        "exceptions",
        "sessions"
      ]
    },
    "providers": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "provider": {
            "type": "string"
          },
          "availableSourceCount": {
            "type": "integer"
          },
          "unavailableSourceCount": {
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "availableSourceCount",
          "unavailableSourceCount"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "completeness",
    "sourceDiscoveryComplete",
    "availableSourceCount",
    "unavailableSourceCount",
    "availableTotals",
    "providers"
  ]
}
PlatformVolumeHealthProviderCoverage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "provider": {
      "type": "string"
    },
    "availableSourceCount": {
      "type": "integer"
    },
    "unavailableSourceCount": {
      "type": "integer"
    }
  },
  "required": [
    "provider",
    "availableSourceCount",
    "unavailableSourceCount"
  ]
}
PlatformTelemetryCounts
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "events": {
      "type": "integer"
    },
    "exceptions": {
      "type": "integer"
    },
    "sessions": {
      "type": "integer"
    }
  },
  "required": [
    "events",
    "exceptions",
    "sessions"
  ]
}
TenantDetail
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenant": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "active": {
          "type": "boolean"
        },
        "kind": {
          "enum": [
            "Personal",
            "Organization"
          ],
          "default": "Organization"
        },
        "certifiedBy": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "certifiedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ],
          "default": "Unverified"
        },
        "holdLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ],
          "default": "None"
        },
        "verificationReviewAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "verificationExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "tenantId",
        "name",
        "slug",
        "plan",
        "createdAt",
        "active"
      ]
    },
    "apps": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "environments": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "required": [
          "appId",
          "name",
          "slug",
          "environments"
        ]
      }
    },
    "teams": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "teamId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "allApps": {
            "type": "boolean"
          },
          "appIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "capabilities": {
            "type": "array",
            "items": {
              "enum": [
                "ViewAnalytics",
                "ViewCrashes",
                "ManageCrashWorkflow",
                "AssignCrashOwners",
                "ViewLogs",
                "ManageReleases",
                "AccessDistribution",
                "ManageMessaging",
                "ViewLocation",
                "ManageIssueConnections",
                "ManageTeamMembers"
              ]
            }
          },
          "members": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "userId": {
                  "type": "string"
                },
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "email": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "addedAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "userId",
                "displayName",
                "email",
                "addedAt"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "teamId",
          "tenantId",
          "name",
          "description",
          "allApps",
          "appIds",
          "capabilities",
          "members",
          "createdAt"
        ]
      }
    },
    "users": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "tenantName": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Active",
              "Invited"
            ]
          },
          "roles": {
            "type": "array",
            "items": {
              "enum": [
                "Admin",
                "AppOwner",
                "Developer",
                "ProductOwner",
                "Support",
                "PlatformOperator"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "tenantKind": {
            "enum": [
              "Personal",
              "Organization"
            ],
            "default": "Organization"
          },
          "externallyProvisioned": {
            "type": "boolean",
            "default": false
          },
          "ownerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "userId",
          "email",
          "displayName",
          "tenantId",
          "tenantSlug",
          "tenantName",
          "status",
          "roles",
          "createdAt"
        ]
      }
    },
    "planKey": {
      "type": "string"
    },
    "planName": {
      "type": "string"
    },
    "monthlyPrice": {
      "type": "number"
    },
    "featureFlags": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "flagKey": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "flagKey",
          "tenantId",
          "enabled",
          "description",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "organizationAdmissionRestricted": {
      "type": "boolean",
      "default": true
    },
    "organizationAdmissionWorkflowEnabled": {
      "type": "boolean",
      "default": false
    },
    "billedExternally": {
      "type": "boolean"
    }
  },
  "required": [
    "tenant",
    "apps",
    "teams",
    "users",
    "planKey",
    "planName",
    "monthlyPrice",
    "featureFlags"
  ]
}
BillingPlanCatalogEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "plan": {
      "type": "object",
      "properties": {
        "planKey": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "monthlyPrice": {
          "type": "number"
        },
        "includedSmsSegments": {
          "type": "integer"
        },
        "includedMaus": {
          "type": "integer"
        }
      },
      "required": [
        "planKey",
        "name",
        "monthlyPrice",
        "includedSmsSegments",
        "includedMaus"
      ]
    },
    "entitlements": {
      "type": "object",
      "properties": {
        "maxApps": {
          "type": "integer"
        },
        "maxMonthlyActiveUsers": {
          "type": "integer"
        },
        "dataRetentionDays": {
          "type": "integer"
        },
        "monthlyPushQuota": {
          "type": "integer"
        },
        "paidMessagingEnabled": {
          "type": "boolean"
        },
        "monthlyMessagingCredits": {
          "type": "integer",
          "default": 0
        },
        "telemetryAllowances": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "version": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "signals": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "mode": {
                    "type": "integer",
                    "default": 0
                  },
                  "unit": {
                    "type": "integer",
                    "default": 0
                  },
                  "monthlyUnits": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  }
                }
              },
              "default": null
            },
            "accountUnlimited": {
              "type": "boolean"
            }
          },
          "default": null
        },
        "unlimitedEligibility": {
          "type": "boolean"
        }
      },
      "required": [
        "maxApps",
        "maxMonthlyActiveUsers",
        "dataRetentionDays",
        "monthlyPushQuota",
        "paidMessagingEnabled"
      ]
    },
    "offeringDefinition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": "string"
        },
        "catalogRevision": {
          "type": "string"
        },
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "visibility": {
          "type": "string"
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "currency": {
          "type": "string"
        },
        "monthlyPrice": {
          "type": "number"
        },
        "acceptedTelemetryRecords": {
          "type": "object",
          "properties": {
            "unit": {
              "type": "string"
            },
            "limit": {
              "type": "integer"
            }
          },
          "required": [
            "unit",
            "limit"
          ]
        },
        "telemetryOverage": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "block": {
              "type": "object",
              "properties": {
                "unit": {
                  "type": "string"
                },
                "limit": {
                  "type": "integer"
                }
              },
              "required": [
                "unit",
                "limit"
              ]
            },
            "usdPrice": {
              "type": "number"
            }
          },
          "required": [
            "block",
            "usdPrice"
          ]
        },
        "eligibility": {
          "type": "object",
          "properties": {
            "activeIdentities": {
              "type": "integer"
            },
            "logicalApps": {
              "type": "integer"
            },
            "humanOperators": {
              "type": "integer"
            },
            "freeGraceHours": {
              "type": "integer",
              "default": 24
            },
            "paidTransitionDays": {
              "type": "integer",
              "default": 30
            },
            "unlimited": {
              "type": "boolean"
            }
          },
          "required": [
            "activeIdentities",
            "logicalApps",
            "humanOperators"
          ]
        },
        "rawRetentionDays": {
          "type": "integer"
        },
        "aggregateRetentionMonths": {
          "type": "integer"
        },
        "includedServices": {
          "type": "object",
          "properties": {
            "smartLinkResolutions": {
              "type": "integer"
            },
            "acceptedPushDeliveries": {
              "type": "integer"
            },
            "inAppImpressions": {
              "type": "integer"
            },
            "locationUpdates": {
              "type": "integer"
            }
          },
          "required": [
            "smartLinkResolutions",
            "acceptedPushDeliveries",
            "inAppImpressions",
            "locationUpdates"
          ]
        },
        "includedStorage": {
          "type": "object",
          "properties": {
            "releaseContentBytes": {
              "type": "integer"
            },
            "symbolUploadContentBytes": {
              "type": "integer"
            },
            "monthlyServedDownloadBytes": {
              "type": "integer"
            }
          },
          "required": [
            "releaseContentBytes",
            "symbolUploadContentBytes",
            "monthlyServedDownloadBytes"
          ]
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "packageCatalogRevision": {
          "type": "string"
        },
        "carrierRateRevision": {
          "type": "string"
        },
        "paymentRoute": {
          "type": "string"
        },
        "requiresEnterpriseAgreement": {
          "type": "boolean"
        },
        "initialTermMonths": {
          "type": "integer",
          "default": 0
        },
        "onboardingHours": {
          "type": "integer",
          "default": 0
        },
        "monthlyAdvisoryHours": {
          "type": "integer",
          "default": 0
        },
        "basedOnTemplateVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "serviceCommitments": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "supportWindow": {
              "type": "string"
            },
            "priorityQueue": {
              "type": "boolean"
            },
            "namedEscalationContact": {
              "type": "boolean"
            },
            "quarterlyServiceReview": {
              "type": "boolean"
            },
            "slaIncluded": {
              "type": "boolean",
              "default": false
            },
            "dedicatedDeploymentIncluded": {
              "type": "boolean",
              "default": false
            },
            "automaticCarrierDiscount": {
              "type": "boolean",
              "default": false
            },
            "advisoryHoursRollOver": {
              "type": "boolean",
              "default": false
            },
            "bespokeEngineeringIncluded": {
              "type": "boolean",
              "default": false
            }
          },
          "required": [
            "supportWindow",
            "priorityQueue",
            "namedEscalationContact",
            "quarterlyServiceReview"
          ],
          "default": null
        },
        "rawRetentionMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "annualPrice": {
          "type": [
            "number",
            "null"
          ]
        },
        "organizationLimit": {
          "type": [
            "integer",
            "null"
          ]
        },
        "externalAgreement": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "totalAmount": {
              "type": "number"
            },
            "endsAtUtc": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "totalAmount",
            "endsAtUtc"
          ]
        },
        "shareTelemetryAcrossOrganizations": {
          "type": "boolean"
        },
        "selectedPackages": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "revision": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "revision"
            ]
          }
        }
      },
      "required": [
        "version",
        "catalogRevision",
        "key",
        "name",
        "visibility",
        "effectiveFrom",
        "currency",
        "monthlyPrice",
        "acceptedTelemetryRecords",
        "telemetryOverage",
        "eligibility",
        "rawRetentionDays",
        "aggregateRetentionMonths",
        "includedServices",
        "includedStorage",
        "capabilities",
        "packageCatalogRevision",
        "carrierRateRevision",
        "paymentRoute",
        "requiresEnterpriseAgreement"
      ]
    }
  },
  "required": [
    "plan",
    "entitlements"
  ]
}
OpsPlanCatalogArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "plan": {
        "type": "object",
        "properties": {
          "planKey": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "includedSmsSegments": {
            "type": "integer"
          },
          "includedMaus": {
            "type": "integer"
          }
        },
        "required": [
          "planKey",
          "name",
          "monthlyPrice",
          "includedSmsSegments",
          "includedMaus"
        ]
      },
      "entitlements": {
        "type": "object",
        "properties": {
          "maxApps": {
            "type": "integer"
          },
          "maxMonthlyActiveUsers": {
            "type": "integer"
          },
          "dataRetentionDays": {
            "type": "integer"
          },
          "monthlyPushQuota": {
            "type": "integer"
          },
          "paidMessagingEnabled": {
            "type": "boolean"
          },
          "monthlyMessagingCredits": {
            "type": "integer",
            "default": 0
          },
          "telemetryAllowances": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "version": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "signals": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "mode": {
                      "type": "integer",
                      "default": 0
                    },
                    "unit": {
                      "type": "integer",
                      "default": 0
                    },
                    "monthlyUnits": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    }
                  }
                },
                "default": null
              },
              "accountUnlimited": {
                "type": "boolean"
              }
            },
            "default": null
          },
          "unlimitedEligibility": {
            "type": "boolean"
          }
        },
        "required": [
          "maxApps",
          "maxMonthlyActiveUsers",
          "dataRetentionDays",
          "monthlyPushQuota",
          "paidMessagingEnabled"
        ]
      },
      "offeringDefinition": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "catalogRevision": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "visibility": {
            "type": "string"
          },
          "effectiveFrom": {
            "type": "string",
            "format": "date-time"
          },
          "currency": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          },
          "acceptedTelemetryRecords": {
            "type": "object",
            "properties": {
              "unit": {
                "type": "string"
              },
              "limit": {
                "type": "integer"
              }
            },
            "required": [
              "unit",
              "limit"
            ]
          },
          "telemetryOverage": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "block": {
                "type": "object",
                "properties": {
                  "unit": {
                    "type": "string"
                  },
                  "limit": {
                    "type": "integer"
                  }
                },
                "required": [
                  "unit",
                  "limit"
                ]
              },
              "usdPrice": {
                "type": "number"
              }
            },
            "required": [
              "block",
              "usdPrice"
            ]
          },
          "eligibility": {
            "type": "object",
            "properties": {
              "activeIdentities": {
                "type": "integer"
              },
              "logicalApps": {
                "type": "integer"
              },
              "humanOperators": {
                "type": "integer"
              },
              "freeGraceHours": {
                "type": "integer",
                "default": 24
              },
              "paidTransitionDays": {
                "type": "integer",
                "default": 30
              },
              "unlimited": {
                "type": "boolean"
              }
            },
            "required": [
              "activeIdentities",
              "logicalApps",
              "humanOperators"
            ]
          },
          "rawRetentionDays": {
            "type": "integer"
          },
          "aggregateRetentionMonths": {
            "type": "integer"
          },
          "includedServices": {
            "type": "object",
            "properties": {
              "smartLinkResolutions": {
                "type": "integer"
              },
              "acceptedPushDeliveries": {
                "type": "integer"
              },
              "inAppImpressions": {
                "type": "integer"
              },
              "locationUpdates": {
                "type": "integer"
              }
            },
            "required": [
              "smartLinkResolutions",
              "acceptedPushDeliveries",
              "inAppImpressions",
              "locationUpdates"
            ]
          },
          "includedStorage": {
            "type": "object",
            "properties": {
              "releaseContentBytes": {
                "type": "integer"
              },
              "symbolUploadContentBytes": {
                "type": "integer"
              },
              "monthlyServedDownloadBytes": {
                "type": "integer"
              }
            },
            "required": [
              "releaseContentBytes",
              "symbolUploadContentBytes",
              "monthlyServedDownloadBytes"
            ]
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "packageCatalogRevision": {
            "type": "string"
          },
          "carrierRateRevision": {
            "type": "string"
          },
          "paymentRoute": {
            "type": "string"
          },
          "requiresEnterpriseAgreement": {
            "type": "boolean"
          },
          "initialTermMonths": {
            "type": "integer",
            "default": 0
          },
          "onboardingHours": {
            "type": "integer",
            "default": 0
          },
          "monthlyAdvisoryHours": {
            "type": "integer",
            "default": 0
          },
          "basedOnTemplateVersion": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "serviceCommitments": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "supportWindow": {
                "type": "string"
              },
              "priorityQueue": {
                "type": "boolean"
              },
              "namedEscalationContact": {
                "type": "boolean"
              },
              "quarterlyServiceReview": {
                "type": "boolean"
              },
              "slaIncluded": {
                "type": "boolean",
                "default": false
              },
              "dedicatedDeploymentIncluded": {
                "type": "boolean",
                "default": false
              },
              "automaticCarrierDiscount": {
                "type": "boolean",
                "default": false
              },
              "advisoryHoursRollOver": {
                "type": "boolean",
                "default": false
              },
              "bespokeEngineeringIncluded": {
                "type": "boolean",
                "default": false
              }
            },
            "required": [
              "supportWindow",
              "priorityQueue",
              "namedEscalationContact",
              "quarterlyServiceReview"
            ],
            "default": null
          },
          "rawRetentionMonths": {
            "type": [
              "integer",
              "null"
            ]
          },
          "annualPrice": {
            "type": [
              "number",
              "null"
            ]
          },
          "organizationLimit": {
            "type": [
              "integer",
              "null"
            ]
          },
          "externalAgreement": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "totalAmount": {
                "type": "number"
              },
              "endsAtUtc": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "totalAmount",
              "endsAtUtc"
            ]
          },
          "shareTelemetryAcrossOrganizations": {
            "type": "boolean"
          },
          "selectedPackages": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "revision": {
                  "type": "string"
                }
              },
              "required": [
                "key",
                "revision"
              ]
            }
          }
        },
        "required": [
          "version",
          "catalogRevision",
          "key",
          "name",
          "visibility",
          "effectiveFrom",
          "currency",
          "monthlyPrice",
          "acceptedTelemetryRecords",
          "telemetryOverage",
          "eligibility",
          "rawRetentionDays",
          "aggregateRetentionMonths",
          "includedServices",
          "includedStorage",
          "capabilities",
          "packageCatalogRevision",
          "carrierRateRevision",
          "paymentRoute",
          "requiresEnterpriseAgreement"
        ]
      }
    },
    "required": [
      "plan",
      "entitlements"
    ]
  }
}
OpsBrowserSession
{
  "type": "object",
  "description": "Actual anonymous OpsConsoleBffEndpoints /session projection. Nullable operator fields identify only the authenticated operator; no bearer, refresh token or full claim set.",
  "x-appportal-anonymous-source": "src/AppPortal.Admin.Api/OpsConsoleBffEndpoints.cs",
  "properties": {
    "authenticated": {
      "type": "boolean"
    },
    "operator": {
      "type": [
        "string",
        "null"
      ]
    },
    "operatorId": {
      "type": [
        "string",
        "null"
      ]
    },
    "entraEnabled": {
      "type": "boolean"
    },
    "devLoginEnabled": {
      "type": "boolean"
    }
  },
  "required": [
    "authenticated",
    "operator",
    "operatorId",
    "entraEnabled",
    "devLoginEnabled"
  ]
}
OpsBrowserMutationError
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "type": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "integer",
        "null"
      ]
    },
    "detail": {
      "type": [
        "string",
        "null"
      ]
    },
    "instance": {
      "type": [
        "string",
        "null"
      ]
    },
    "code": {
      "type": "string",
      "enum": [
        "ops_cross_site_mutation_denied",
        "ops_csrf_token_required"
      ]
    },
    "message": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "traceId": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  },
  "description": "Explicit Ops browser mutation-guard problem. The legacy error alias equals message/detail; no cookie, token or request value is returned.",
  "required": [
    "type",
    "title",
    "status",
    "detail",
    "instance",
    "code",
    "message",
    "error",
    "traceId"
  ]
}
LeadRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "leadId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "workEmail": {
      "type": "string"
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "teamSize": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "submittedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "leadId",
    "name",
    "workEmail",
    "company",
    "teamSize",
    "message",
    "source",
    "submittedAt"
  ]
}
PortalAuditEvent
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "auditEventId": {
      "type": "string"
    },
    "actor": {
      "type": "string"
    },
    "action": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "result": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ]
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "beforeState": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "afterState": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "correlationId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "auditEventId",
    "actor",
    "action",
    "subject",
    "result",
    "tenantId",
    "appId",
    "environmentName",
    "deploymentTarget",
    "occurredAt"
  ]
}
OperationsDisputedOrganization
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenant": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "active": {
          "type": "boolean"
        },
        "kind": {
          "enum": [
            "Personal",
            "Organization"
          ],
          "default": "Organization"
        },
        "certifiedBy": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "certifiedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ],
          "default": "Unverified"
        },
        "holdLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ],
          "default": "None"
        },
        "verificationReviewAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "verificationExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "tenantId",
        "name",
        "slug",
        "plan",
        "createdAt",
        "active"
      ]
    },
    "adminUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "adminEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "enum": [
        "CorporateDomainCollision",
        "FreeEmailBrandSlug"
      ]
    },
    "explanation": {
      "type": "string"
    },
    "blockedClaimantCount": {
      "type": "integer"
    }
  },
  "required": [
    "tenant",
    "adminUserId",
    "adminEmail",
    "reason",
    "explanation",
    "blockedClaimantCount"
  ]
}
DisputedOrganization
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenant": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "active": {
          "type": "boolean"
        },
        "kind": {
          "enum": [
            "Personal",
            "Organization"
          ],
          "default": "Organization"
        },
        "certifiedBy": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "certifiedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ],
          "default": "Unverified"
        },
        "holdLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ],
          "default": "None"
        },
        "verificationReviewAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "verificationExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "tenantId",
        "name",
        "slug",
        "plan",
        "createdAt",
        "active"
      ]
    },
    "adminUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "adminEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "enum": [
        "CorporateDomainCollision",
        "FreeEmailBrandSlug"
      ]
    },
    "explanation": {
      "type": "string"
    },
    "blockedClaimants": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "email"
        ]
      }
    }
  },
  "required": [
    "tenant",
    "adminUserId",
    "adminEmail",
    "reason",
    "explanation",
    "blockedClaimants"
  ]
}
DisputedClaimant
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "userId": {
      "type": "string"
    },
    "email": {
      "type": "string"
    }
  },
  "required": [
    "userId",
    "email"
  ]
}
TelemetryQuarantineItem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "archiveId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "recordKind": {
      "type": "string"
    },
    "reasonCode": {
      "type": "string"
    },
    "disposition": {
      "type": "string"
    },
    "payloadState": {
      "type": "string"
    },
    "routePinned": {
      "type": "boolean"
    },
    "archivedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "operation": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "operationId": {
          "type": "string"
        },
        "archiveId": {
          "type": "string"
        },
        "requestedDisposition": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "requestedAt": {
          "type": "string",
          "format": "date-time"
        },
        "startedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "completedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "attemptCount": {
          "type": "integer"
        },
        "outcomeCode": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "operationId",
        "archiveId",
        "requestedDisposition",
        "status",
        "requestedAt",
        "startedAt",
        "completedAt",
        "attemptCount",
        "outcomeCode"
      ]
    }
  },
  "required": [
    "archiveId",
    "tenantId",
    "appId",
    "environmentName",
    "recordKind",
    "reasonCode",
    "disposition",
    "payloadState",
    "routePinned",
    "archivedAt",
    "updatedAt",
    "operation"
  ]
}
TelemetryRecoveryOperationView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "operationId": {
      "type": "string"
    },
    "archiveId": {
      "type": "string"
    },
    "requestedDisposition": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "requestedAt": {
      "type": "string",
      "format": "date-time"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "attemptCount": {
      "type": "integer"
    },
    "outcomeCode": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "operationId",
    "archiveId",
    "requestedDisposition",
    "status",
    "requestedAt",
    "startedAt",
    "completedAt",
    "attemptCount",
    "outcomeCode"
  ]
}
RenameOrganizationRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OrganizationRemediationRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DestructiveRemediationRequest
{
  "type": "object",
  "properties": {
    "confirmText": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OpsEvidenceLeadArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "leadId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "workEmail": {
        "type": "string"
      },
      "company": {
        "type": [
          "string",
          "null"
        ]
      },
      "teamSize": {
        "type": [
          "string",
          "null"
        ]
      },
      "message": {
        "type": [
          "string",
          "null"
        ]
      },
      "source": {
        "type": [
          "string",
          "null"
        ]
      },
      "submittedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "leadId",
      "name",
      "workEmail",
      "company",
      "teamSize",
      "message",
      "source",
      "submittedAt"
    ]
  }
}
OpsEvidenceLeadPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "leadId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "workEmail": {
            "type": "string"
          },
          "company": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamSize": {
            "type": [
              "string",
              "null"
            ]
          },
          "message": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "leadId",
          "name",
          "workEmail",
          "company",
          "teamSize",
          "message",
          "source",
          "submittedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsEvidenceAuditArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "auditEventId": {
        "type": "string"
      },
      "actor": {
        "type": "string"
      },
      "action": {
        "type": "string"
      },
      "subject": {
        "type": "string"
      },
      "result": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": [
          "string",
          "null"
        ]
      },
      "environmentName": {
        "type": [
          "string",
          "null"
        ]
      },
      "deploymentTarget": {
        "type": [
          "string",
          "null"
        ]
      },
      "occurredAt": {
        "type": "string",
        "format": "date-time"
      },
      "beforeState": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "afterState": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "correlationId": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "auditEventId",
      "actor",
      "action",
      "subject",
      "result",
      "tenantId",
      "appId",
      "environmentName",
      "deploymentTarget",
      "occurredAt"
    ]
  }
}
OpsEvidenceAuditPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "auditEventId": {
            "type": "string"
          },
          "actor": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "environmentName": {
            "type": [
              "string",
              "null"
            ]
          },
          "deploymentTarget": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "beforeState": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "afterState": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "correlationId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "auditEventId",
          "actor",
          "action",
          "subject",
          "result",
          "tenantId",
          "appId",
          "environmentName",
          "deploymentTarget",
          "occurredAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsEvidenceDisputedArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "tenant": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "plan": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "kind": {
            "enum": [
              "Personal",
              "Organization"
            ],
            "default": "Organization"
          },
          "certifiedBy": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "certifiedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "ownerUserId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "verificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ],
            "default": "Unverified"
          },
          "holdLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ],
            "default": "None"
          },
          "verificationReviewAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "verificationExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug",
          "plan",
          "createdAt",
          "active"
        ]
      },
      "adminUserId": {
        "type": [
          "string",
          "null"
        ]
      },
      "adminEmail": {
        "type": [
          "string",
          "null"
        ]
      },
      "reason": {
        "enum": [
          "CorporateDomainCollision",
          "FreeEmailBrandSlug"
        ]
      },
      "explanation": {
        "type": "string"
      },
      "blockedClaimants": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "userId": {
              "type": "string"
            },
            "email": {
              "type": "string"
            }
          },
          "required": [
            "userId",
            "email"
          ]
        }
      }
    },
    "required": [
      "tenant",
      "adminUserId",
      "adminEmail",
      "reason",
      "explanation",
      "blockedClaimants"
    ]
  }
}
OpsEvidenceDisputedPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenant": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "plan": {
                "type": "string"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "active": {
                "type": "boolean"
              },
              "kind": {
                "enum": [
                  "Personal",
                  "Organization"
                ],
                "default": "Organization"
              },
              "certifiedBy": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "certifiedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "ownerUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "verificationState": {
                "enum": [
                  "NotApplicable",
                  "Unverified",
                  "PendingReview",
                  "Verified",
                  "Disputed",
                  "Rejected",
                  "Suspended"
                ],
                "default": "Unverified"
              },
              "holdLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension"
                ],
                "default": "None"
              },
              "verificationReviewAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "verificationExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "tenantId",
              "name",
              "slug",
              "plan",
              "createdAt",
              "active"
            ]
          },
          "adminUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "adminEmail": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "enum": [
              "CorporateDomainCollision",
              "FreeEmailBrandSlug"
            ]
          },
          "explanation": {
            "type": "string"
          },
          "blockedClaimantCount": {
            "type": "integer"
          }
        },
        "required": [
          "tenant",
          "adminUserId",
          "adminEmail",
          "reason",
          "explanation",
          "blockedClaimantCount"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsEvidenceClaimantPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "email"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsEvidenceQuarantinePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "archiveId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "recordKind": {
            "type": "string"
          },
          "reasonCode": {
            "type": "string"
          },
          "disposition": {
            "type": "string"
          },
          "payloadState": {
            "type": "string"
          },
          "routePinned": {
            "type": "boolean"
          },
          "archivedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "operation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "operationId": {
                "type": "string"
              },
              "archiveId": {
                "type": "string"
              },
              "requestedDisposition": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "requestedAt": {
                "type": "string",
                "format": "date-time"
              },
              "startedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "completedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "attemptCount": {
                "type": "integer"
              },
              "outcomeCode": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "operationId",
              "archiveId",
              "requestedDisposition",
              "status",
              "requestedAt",
              "startedAt",
              "completedAt",
              "attemptCount",
              "outcomeCode"
            ]
          }
        },
        "required": [
          "archiveId",
          "tenantId",
          "appId",
          "environmentName",
          "recordKind",
          "reasonCode",
          "disposition",
          "payloadState",
          "routePinned",
          "archivedAt",
          "updatedAt",
          "operation"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CapacityCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "asOf": {
      "type": "string",
      "format": "date-time"
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "Personal",
              "Organization"
            ]
          },
          "planKey": {
            "type": "string"
          },
          "limitBasis": {
            "type": "string"
          },
          "priority": {
            "type": "string"
          },
          "billingState": {
            "type": "string"
          },
          "entitled": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "paidThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recoveryDeadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recordedCreditBalance": {
            "type": [
              "number",
              "null"
            ]
          },
          "grace": {
            "type": "object",
            "properties": {
              "state": {
                "type": "string"
              },
              "startedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "deadline": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastObservedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "recoveredThrough": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "state",
              "startedAt",
              "deadline",
              "lastObservedAt",
              "recoveredThrough"
            ]
          },
          "telemetryEnforcement": {
            "type": "string"
          },
          "metrics": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "measurement": {
                  "type": "string"
                },
                "used": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "limit": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "limitSource": {
                  "type": "string"
                },
                "observed": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "observationUnit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "periodStart": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "periodEnd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "observationStart": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                },
                "observationEnd": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "format": "date-time",
                  "default": null
                }
              },
              "required": [
                "key",
                "unit",
                "state",
                "measurement",
                "used",
                "limit",
                "limitSource",
                "observed",
                "observationUnit",
                "reason"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "name",
          "slug",
          "kind",
          "planKey",
          "limitBasis",
          "priority",
          "billingState",
          "entitled",
          "paidThrough",
          "recoveryDeadline",
          "recordedCreditBalance",
          "grace",
          "telemetryEnforcement",
          "metrics"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "rankingBasis": {
      "type": "string"
    },
    "usageCoverage": {
      "type": "string"
    }
  },
  "required": [
    "asOf",
    "items",
    "nextCursor",
    "totalCount",
    "rankingBasis",
    "usageCoverage"
  ]
}
OrganizationBrandingWorkspacePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "permission": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "policyVersion": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "consentActive": {
          "type": "boolean"
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "verificationExpiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "effectiveAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "optOutAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "inUse": {
          "type": "boolean"
        },
        "removalDueAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "removalCompletedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "remediationRequired": {
          "type": "boolean"
        },
        "revision": {
          "type": "integer"
        }
      },
      "required": [
        "tenantId",
        "policyVersion",
        "source",
        "consentActive",
        "verificationState",
        "verificationExpiresAt",
        "effectiveAt",
        "optOutAt",
        "inUse",
        "removalDueAt",
        "removalCompletedAt",
        "remediationRequired",
        "revision"
      ]
    },
    "logoAvailable": {
      "type": "boolean"
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "eventId": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "actor": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "beforeState": {
            "type": "string"
          },
          "afterState": {
            "type": "string"
          }
        },
        "required": [
          "eventId",
          "revision",
          "actor",
          "action",
          "reason",
          "occurredAt",
          "beforeState",
          "afterState"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "permission",
    "logoAvailable",
    "items",
    "nextCursor"
  ]
}
OpsVerificationCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "caseId": {
            "type": "string"
          },
          "caseNumber": {
            "type": "string"
          },
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "subjectSlug": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Open",
              "EvidenceRequested",
              "UnderReview",
              "DecisionPending",
              "Resolved",
              "Appealed",
              "Closed"
            ]
          },
          "openedByUserId": {
            "type": [
              "string",
              "null"
            ]
          },
          "assignedOperatorId": {
            "type": [
              "string",
              "null"
            ]
          },
          "openReason": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "closedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "version": {
            "type": "integer"
          },
          "openedByOperatorId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "caseId",
          "caseNumber",
          "tenantId",
          "subjectSlug",
          "state",
          "openedByUserId",
          "assignedOperatorId",
          "openReason",
          "createdAt",
          "updatedAt",
          "resolvedAt",
          "closedAt",
          "version"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsDecisionApprovalCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "approvalId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "expectedCaseVersion": {
            "type": "integer"
          },
          "decision": {
            "type": "object",
            "properties": {
              "decisionType": {
                "enum": [
                  "VerifyAndActivatePendingTenant",
                  "VerifyExistingTenantAndRejectClaim",
                  "RestoreAdministrator",
                  "RequireRename",
                  "MaintainHold",
                  "EscalateHold",
                  "RejectClaim",
                  "SuspendTenant",
                  "BanUser",
                  "ApproveAppeal"
                ]
              },
              "reason": {
                "type": "string"
              },
              "typedConfirmation": {
                "type": "string"
              },
              "expectedVersion": {
                "type": "integer"
              },
              "requestedHoldLevel": {
                "enum": [
                  "None",
                  "ProvisioningHold",
                  "ManagementReadOnly",
                  "FullSuspension",
                  null
                ],
                "default": null
              },
              "targetUserId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "newTenantSlug": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "supersedesDecisionId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "appealId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "approvalId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "renamePreviewFingerprint": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "newTenantName": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "decisionType",
              "reason",
              "typedConfirmation",
              "expectedVersion"
            ]
          },
          "payloadHash": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Approved",
              "Rejected",
              "Expired",
              "Invalidated",
              "Consumed"
            ]
          },
          "proposedBy": {
            "type": "string"
          },
          "proposedAt": {
            "type": "string",
            "format": "date-time"
          },
          "proposerAuthenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewerAuthenticatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "decisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "approvalId",
          "caseId",
          "expectedCaseVersion",
          "decision",
          "payloadHash",
          "state",
          "proposedBy",
          "proposedAt",
          "proposerAuthenticatedAt",
          "expiresAt",
          "reviewedBy",
          "reviewedAt",
          "reviewerAuthenticatedAt",
          "reviewReason",
          "consumedBy",
          "consumedAt",
          "decisionId",
          "version"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsDomainReviewCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "domainId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "environmentPrefix": {
            "type": [
              "string",
              "null"
            ]
          },
          "host": {
            "type": "string"
          },
          "defaultFallbackUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "purpose": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "PendingReview",
              "Approved",
              "Declined",
              "Withdrawn"
            ]
          },
          "active": {
            "type": "boolean"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "requestedBy": {
            "type": "string"
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "assignedAppId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "assignedEnvironment": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "familyHosts": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "requestedForAppId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "domainId",
          "tenantId",
          "label",
          "environmentPrefix",
          "host",
          "defaultFallbackUrl",
          "purpose",
          "status",
          "active",
          "requestedAt",
          "requestedBy",
          "reviewedAt",
          "reviewedBy",
          "decisionReason",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsOfferingReviewSourceCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "declarationId": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "environmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "revision": {
            "type": "integer"
          },
          "sourceVersion": {
            "type": "string"
          },
          "payloadHash": {
            "type": "string"
          },
          "authorityBasis": {
            "type": "string"
          },
          "effectiveFromUtc": {
            "type": "string",
            "format": "date-time"
          },
          "declaredAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "sourceDeclarationId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid"
          },
          "account": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "scope": {
                "type": "string"
              },
              "nonstandardContractObligations": {
                "type": "boolean"
              },
              "controlledGroupReference": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wholeScopeEmployees": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "wholeScopeAnnualUsdRevenueOrBudget": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "financialBasis": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "financialPeriodFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "financialPeriodToUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "scope",
              "nonstandardContractObligations"
            ]
          },
          "groupReview": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sourceAccountDeclarationId": {
                "type": "string",
                "format": "uuid"
              },
              "outcome": {
                "type": "string"
              },
              "controlEvidenceId": {
                "type": "string"
              },
              "canonicalGroupId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid",
                "default": null
              },
              "wholeGroupEmployees": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "wholeGroupAnnualUsdRevenueOrBudget": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "financialBasis": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "financialPeriodFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "financialPeriodToUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "sourceAccountDeclarationId",
              "outcome",
              "controlEvidenceId"
            ]
          },
          "environment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "purpose": {
                "type": "string"
              },
              "trafficBasis": {
                "type": "string"
              },
              "sharedIdentityNamespace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "userActivityEventNames": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "sharedIdentityConsentVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "purpose",
              "trafficBasis"
            ]
          },
          "exclusion": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "selectorKind": {
                "type": "string"
              },
              "classification": {
                "type": "string"
              },
              "protectedKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "comparisonDomainKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "selectorKind",
              "classification"
            ]
          }
        },
        "required": [
          "declarationId",
          "kind",
          "appId",
          "environmentId",
          "revision",
          "sourceVersion",
          "payloadHash",
          "authorityBasis",
          "effectiveFromUtc",
          "declaredAtUtc",
          "sourceDeclarationId",
          "account",
          "groupReview",
          "environment",
          "exclusion"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsRegistryHistoryCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "revisionId": {
            "type": "string"
          },
          "parentRevisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "sha256": {
            "type": "string"
          },
          "matcherVersion": {
            "type": "string"
          },
          "normalizationBasis": {
            "type": "string"
          },
          "publishedBy": {
            "type": "string"
          },
          "publishedAt": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "current": {
            "type": "boolean"
          }
        },
        "required": [
          "revisionId",
          "parentRevisionId",
          "sha256",
          "matcherVersion",
          "normalizationBasis",
          "publishedBy",
          "publishedAt",
          "reason",
          "current"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
OpsVerificationCaseWorkspace
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "case": {
      "type": "object",
      "properties": {
        "caseId": {
          "type": "string"
        },
        "caseNumber": {
          "type": "string"
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "subjectSlug": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Open",
            "EvidenceRequested",
            "UnderReview",
            "DecisionPending",
            "Resolved",
            "Appealed",
            "Closed"
          ]
        },
        "openedByUserId": {
          "type": [
            "string",
            "null"
          ]
        },
        "assignedOperatorId": {
          "type": [
            "string",
            "null"
          ]
        },
        "openReason": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "resolvedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "closedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "version": {
          "type": "integer"
        },
        "openedByOperatorId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "caseId",
        "caseNumber",
        "tenantId",
        "subjectSlug",
        "state",
        "openedByUserId",
        "assignedOperatorId",
        "openReason",
        "createdAt",
        "updatedAt",
        "resolvedAt",
        "closedAt",
        "version"
      ]
    },
    "requiredConfirmation": {
      "type": "string"
    },
    "parties": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "partyId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Claimant",
              "ExistingTenantRepresentative",
              "AuthorizedRepresentative",
              "AppPortalOperator"
            ]
          },
          "displayLabel": {
            "type": "string"
          },
          "authoritySnapshot": {
            "type": "string"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "removedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "partyId",
          "userId",
          "role",
          "displayLabel",
          "authoritySnapshot",
          "addedBy",
          "addedAt",
          "removedAt"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "tickets": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "partyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "ClaimantCommunication",
              "ExistingTenantCommunication",
              "Evidence",
              "Appeal",
              "Internal"
            ]
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "ticketId",
          "partyId",
          "role",
          "addedBy",
          "addedAt"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "evidenceRequests": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceRequestId": {
            "type": "string"
          },
          "partyId": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Requested",
              "Submitted",
              "Verified",
              "Rejected",
              "Expired",
              "Withdrawn"
            ]
          },
          "requestedBy": {
            "type": "string"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "submittedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "evidenceRequestId",
          "partyId",
          "description",
          "state",
          "requestedBy",
          "requestedAt",
          "dueAt",
          "submittedAt",
          "reviewedBy",
          "reviewedAt"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "findings": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "findingId": {
            "type": "string"
          },
          "evidenceRequestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "supersedesFindingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "findingType": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "SupportsClaim",
              "ContradictsClaim",
              "Inconclusive"
            ]
          },
          "source": {
            "type": "string"
          },
          "recordedBy": {
            "type": "string"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "findingId",
          "evidenceRequestId",
          "supersedesFindingId",
          "findingType",
          "summary",
          "outcome",
          "source",
          "recordedBy",
          "recordedAt"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "decisions": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "decisionId": {
            "type": "string"
          },
          "supersedesDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionType": {
            "enum": [
              "VerifyAndActivatePendingTenant",
              "VerifyExistingTenantAndRejectClaim",
              "RestoreAdministrator",
              "RequireRename",
              "MaintainHold",
              "EscalateHold",
              "RejectClaim",
              "SuspendTenant",
              "BanUser",
              "ApproveAppeal"
            ]
          },
          "reason": {
            "type": "string"
          },
          "beforeVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "afterVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "beforeHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "afterHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "decidedBy": {
            "type": "string"
          },
          "secondApproverId": {
            "type": [
              "string",
              "null"
            ]
          },
          "authenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "decidedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "decisionId",
          "supersedesDecisionId",
          "decisionType",
          "reason",
          "beforeVerificationState",
          "afterVerificationState",
          "beforeHoldLevel",
          "afterHoldLevel",
          "decidedBy",
          "secondApproverId",
          "authenticatedAt",
          "decidedAt",
          "resultingCaseVersion"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "holdHistory": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "holdEventId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "fromHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "toHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "reason": {
            "type": "string"
          },
          "actorId": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "holdEventId",
          "tenantId",
          "fromHoldLevel",
          "toHoldLevel",
          "reason",
          "actorId",
          "occurredAt",
          "resultingCaseVersion"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "appeals": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appealId": {
            "type": "string"
          },
          "ticketId": {
            "type": "string"
          },
          "submittedByUserId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Submitted",
              "UnderReview",
              "Approved",
              "Rejected",
              "Withdrawn"
            ]
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "resolutionDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "appealId",
          "ticketId",
          "submittedByUserId",
          "reason",
          "state",
          "submittedAt",
          "resolvedAt",
          "resolutionDecisionId",
          "version"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "collectionsIncluded": {
      "type": "boolean",
      "const": false
    },
    "activeApproval": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "approvalId": {
          "type": "string"
        },
        "caseId": {
          "type": "string"
        },
        "expectedCaseVersion": {
          "type": "integer"
        },
        "decision": {
          "type": "object",
          "properties": {
            "decisionType": {
              "enum": [
                "VerifyAndActivatePendingTenant",
                "VerifyExistingTenantAndRejectClaim",
                "RestoreAdministrator",
                "RequireRename",
                "MaintainHold",
                "EscalateHold",
                "RejectClaim",
                "SuspendTenant",
                "BanUser",
                "ApproveAppeal"
              ]
            },
            "reason": {
              "type": "string"
            },
            "typedConfirmation": {
              "type": "string"
            },
            "expectedVersion": {
              "type": "integer"
            },
            "requestedHoldLevel": {
              "enum": [
                "None",
                "ProvisioningHold",
                "ManagementReadOnly",
                "FullSuspension",
                null
              ],
              "default": null
            },
            "targetUserId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "newTenantSlug": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "supersedesDecisionId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "appealId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "approvalId": {
              "type": [
                "string",
                "null"
              ]
            },
            "renamePreviewFingerprint": {
              "type": [
                "string",
                "null"
              ]
            },
            "newTenantName": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "decisionType",
            "reason",
            "typedConfirmation",
            "expectedVersion"
          ]
        },
        "payloadHash": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Pending",
            "Approved",
            "Rejected",
            "Expired",
            "Invalidated",
            "Consumed"
          ]
        },
        "proposedBy": {
          "type": "string"
        },
        "proposedAt": {
          "type": "string",
          "format": "date-time"
        },
        "proposerAuthenticatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "reviewedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "reviewedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "reviewerAuthenticatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "reviewReason": {
          "type": [
            "string",
            "null"
          ]
        },
        "consumedBy": {
          "type": [
            "string",
            "null"
          ]
        },
        "consumedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "decisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "approvalId",
        "caseId",
        "expectedCaseVersion",
        "decision",
        "payloadHash",
        "state",
        "proposedBy",
        "proposedAt",
        "proposerAuthenticatedAt",
        "expiresAt",
        "reviewedBy",
        "reviewedAt",
        "reviewerAuthenticatedAt",
        "reviewReason",
        "consumedBy",
        "consumedAt",
        "decisionId",
        "version"
      ]
    },
    "hasApprovalHistory": {
      "type": "boolean"
    },
    "activeAppeal": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "appealId": {
          "type": "string"
        },
        "ticketId": {
          "type": "string"
        },
        "submittedByUserId": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "state": {
          "enum": [
            "Submitted",
            "UnderReview",
            "Approved",
            "Rejected",
            "Withdrawn"
          ]
        },
        "submittedAt": {
          "type": "string",
          "format": "date-time"
        },
        "resolvedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "resolutionDecisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "appealId",
        "ticketId",
        "submittedByUserId",
        "reason",
        "state",
        "submittedAt",
        "resolvedAt",
        "resolutionDecisionId",
        "version"
      ]
    },
    "latestDecision": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "decisionId": {
          "type": "string"
        },
        "supersedesDecisionId": {
          "type": [
            "string",
            "null"
          ]
        },
        "decisionType": {
          "enum": [
            "VerifyAndActivatePendingTenant",
            "VerifyExistingTenantAndRejectClaim",
            "RestoreAdministrator",
            "RequireRename",
            "MaintainHold",
            "EscalateHold",
            "RejectClaim",
            "SuspendTenant",
            "BanUser",
            "ApproveAppeal"
          ]
        },
        "reason": {
          "type": "string"
        },
        "beforeVerificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "afterVerificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "beforeHoldLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ]
        },
        "afterHoldLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ]
        },
        "decidedBy": {
          "type": "string"
        },
        "secondApproverId": {
          "type": [
            "string",
            "null"
          ]
        },
        "authenticatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "decidedAt": {
          "type": "string",
          "format": "date-time"
        },
        "resultingCaseVersion": {
          "type": "integer"
        }
      },
      "required": [
        "decisionId",
        "supersedesDecisionId",
        "decisionType",
        "reason",
        "beforeVerificationState",
        "afterVerificationState",
        "beforeHoldLevel",
        "afterHoldLevel",
        "decidedBy",
        "secondApproverId",
        "authenticatedAt",
        "decidedAt",
        "resultingCaseVersion"
      ]
    },
    "tenant": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "verificationState": {
          "enum": [
            "NotApplicable",
            "Unverified",
            "PendingReview",
            "Verified",
            "Disputed",
            "Rejected",
            "Suspended"
          ]
        },
        "holdLevel": {
          "enum": [
            "None",
            "ProvisioningHold",
            "ManagementReadOnly",
            "FullSuspension"
          ]
        }
      },
      "required": [
        "tenantId",
        "active",
        "verificationState",
        "holdLevel"
      ]
    },
    "dualControlRequired": {
      "type": "boolean"
    },
    "approvals": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "approvalId": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "expectedCaseVersion": {
            "type": "integer"
          },
          "decision": {
            "$ref": "#/components/schemas/OpsVerificationCaseWorkspace/properties/activeApproval/properties/decision"
          },
          "payloadHash": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Approved",
              "Rejected",
              "Expired",
              "Invalidated",
              "Consumed"
            ]
          },
          "proposedBy": {
            "type": "string"
          },
          "proposedAt": {
            "type": "string",
            "format": "date-time"
          },
          "proposerAuthenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewerAuthenticatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "consumedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "decisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "approvalId",
          "caseId",
          "expectedCaseVersion",
          "decision",
          "payloadHash",
          "state",
          "proposedBy",
          "proposedAt",
          "proposerAuthenticatedAt",
          "expiresAt",
          "reviewedBy",
          "reviewedAt",
          "reviewerAuthenticatedAt",
          "reviewReason",
          "consumedBy",
          "consumedAt",
          "decisionId",
          "version"
        ]
      },
      "maxItems": 0,
      "description": "Not included in this representation. Read the independent bounded collection; this empty array does not assert an empty complete history."
    },
    "approvalsNextBefore": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "case",
    "requiredConfirmation",
    "parties",
    "tickets",
    "evidenceRequests",
    "findings",
    "decisions",
    "holdHistory",
    "appeals",
    "collectionsIncluded",
    "hasApprovalHistory",
    "activeApproval",
    "activeAppeal",
    "latestDecision"
  ],
  "description": "Finite current case workspace. collectionsIncluded is false: empty embedded histories/approvals are deliberately not complete-empty evidence. Current activeApproval, activeAppeal and latestDecision are authoritative value-or-null, independent of loaded history pages; hasApprovalHistory does not grant approval."
}
OrganizationVerificationParty
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "partyId": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "role": {
      "enum": [
        "Claimant",
        "ExistingTenantRepresentative",
        "AuthorizedRepresentative",
        "AppPortalOperator"
      ]
    },
    "displayLabel": {
      "type": "string"
    },
    "authoritySnapshot": {
      "type": "string"
    },
    "addedBy": {
      "type": "string"
    },
    "addedAt": {
      "type": "string",
      "format": "date-time"
    },
    "removedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "partyId",
    "userId",
    "role",
    "displayLabel",
    "authoritySnapshot",
    "addedBy",
    "addedAt",
    "removedAt"
  ]
}
OpsVerificationPartiesPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "partyId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "role": {
            "enum": [
              "Claimant",
              "ExistingTenantRepresentative",
              "AuthorizedRepresentative",
              "AppPortalOperator"
            ]
          },
          "displayLabel": {
            "type": "string"
          },
          "authoritySnapshot": {
            "type": "string"
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          },
          "removedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "partyId",
          "userId",
          "role",
          "displayLabel",
          "authoritySnapshot",
          "addedBy",
          "addedAt",
          "removedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OrganizationVerificationTicketLink
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "partyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "role": {
      "enum": [
        "ClaimantCommunication",
        "ExistingTenantCommunication",
        "Evidence",
        "Appeal",
        "Internal"
      ]
    },
    "addedBy": {
      "type": "string"
    },
    "addedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "ticketId",
    "partyId",
    "role",
    "addedBy",
    "addedAt"
  ]
}
OpsVerificationTicketsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ticketId": {
            "type": "string"
          },
          "partyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "enum": [
              "ClaimantCommunication",
              "ExistingTenantCommunication",
              "Evidence",
              "Appeal",
              "Internal"
            ]
          },
          "addedBy": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "ticketId",
          "partyId",
          "role",
          "addedBy",
          "addedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OrganizationVerificationEvidenceRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "evidenceRequestId": {
      "type": "string"
    },
    "partyId": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Requested",
        "Submitted",
        "Verified",
        "Rejected",
        "Expired",
        "Withdrawn"
      ]
    },
    "requestedBy": {
      "type": "string"
    },
    "requestedAt": {
      "type": "string",
      "format": "date-time"
    },
    "dueAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "submittedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "reviewedBy": {
      "type": [
        "string",
        "null"
      ]
    },
    "reviewedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "evidenceRequestId",
    "partyId",
    "description",
    "state",
    "requestedBy",
    "requestedAt",
    "dueAt",
    "submittedAt",
    "reviewedBy",
    "reviewedAt"
  ]
}
OpsVerificationEvidenceRequestsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceRequestId": {
            "type": "string"
          },
          "partyId": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Requested",
              "Submitted",
              "Verified",
              "Rejected",
              "Expired",
              "Withdrawn"
            ]
          },
          "requestedBy": {
            "type": "string"
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "dueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "submittedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "reviewedBy": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "evidenceRequestId",
          "partyId",
          "description",
          "state",
          "requestedBy",
          "requestedAt",
          "dueAt",
          "submittedAt",
          "reviewedBy",
          "reviewedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OrganizationVerificationFinding
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "findingId": {
      "type": "string"
    },
    "evidenceRequestId": {
      "type": [
        "string",
        "null"
      ]
    },
    "supersedesFindingId": {
      "type": [
        "string",
        "null"
      ]
    },
    "findingType": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "outcome": {
      "enum": [
        "SupportsClaim",
        "ContradictsClaim",
        "Inconclusive"
      ]
    },
    "source": {
      "type": "string"
    },
    "recordedBy": {
      "type": "string"
    },
    "recordedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "findingId",
    "evidenceRequestId",
    "supersedesFindingId",
    "findingType",
    "summary",
    "outcome",
    "source",
    "recordedBy",
    "recordedAt"
  ]
}
OpsVerificationFindingsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "findingId": {
            "type": "string"
          },
          "evidenceRequestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "supersedesFindingId": {
            "type": [
              "string",
              "null"
            ]
          },
          "findingType": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "outcome": {
            "enum": [
              "SupportsClaim",
              "ContradictsClaim",
              "Inconclusive"
            ]
          },
          "source": {
            "type": "string"
          },
          "recordedBy": {
            "type": "string"
          },
          "recordedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "findingId",
          "evidenceRequestId",
          "supersedesFindingId",
          "findingType",
          "summary",
          "outcome",
          "source",
          "recordedBy",
          "recordedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OpsVerificationDecisionsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "decisionId": {
            "type": "string"
          },
          "supersedesDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "decisionType": {
            "enum": [
              "VerifyAndActivatePendingTenant",
              "VerifyExistingTenantAndRejectClaim",
              "RestoreAdministrator",
              "RequireRename",
              "MaintainHold",
              "EscalateHold",
              "RejectClaim",
              "SuspendTenant",
              "BanUser",
              "ApproveAppeal"
            ]
          },
          "reason": {
            "type": "string"
          },
          "beforeVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "afterVerificationState": {
            "enum": [
              "NotApplicable",
              "Unverified",
              "PendingReview",
              "Verified",
              "Disputed",
              "Rejected",
              "Suspended"
            ]
          },
          "beforeHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "afterHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "decidedBy": {
            "type": "string"
          },
          "secondApproverId": {
            "type": [
              "string",
              "null"
            ]
          },
          "authenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "decidedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "decisionId",
          "supersedesDecisionId",
          "decisionType",
          "reason",
          "beforeVerificationState",
          "afterVerificationState",
          "beforeHoldLevel",
          "afterHoldLevel",
          "decidedBy",
          "secondApproverId",
          "authenticatedAt",
          "decidedAt",
          "resultingCaseVersion"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OrganizationVerificationHoldEvent
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "holdEventId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "fromHoldLevel": {
      "enum": [
        "None",
        "ProvisioningHold",
        "ManagementReadOnly",
        "FullSuspension"
      ]
    },
    "toHoldLevel": {
      "enum": [
        "None",
        "ProvisioningHold",
        "ManagementReadOnly",
        "FullSuspension"
      ]
    },
    "reason": {
      "type": "string"
    },
    "actorId": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "resultingCaseVersion": {
      "type": "integer"
    }
  },
  "required": [
    "holdEventId",
    "tenantId",
    "fromHoldLevel",
    "toHoldLevel",
    "reason",
    "actorId",
    "occurredAt",
    "resultingCaseVersion"
  ]
}
OpsVerificationHoldHistoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "holdEventId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "fromHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "toHoldLevel": {
            "enum": [
              "None",
              "ProvisioningHold",
              "ManagementReadOnly",
              "FullSuspension"
            ]
          },
          "reason": {
            "type": "string"
          },
          "actorId": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "resultingCaseVersion": {
            "type": "integer"
          }
        },
        "required": [
          "holdEventId",
          "tenantId",
          "fromHoldLevel",
          "toHoldLevel",
          "reason",
          "actorId",
          "occurredAt",
          "resultingCaseVersion"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OrganizationVerificationAppeal
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appealId": {
      "type": "string"
    },
    "ticketId": {
      "type": "string"
    },
    "submittedByUserId": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Submitted",
        "UnderReview",
        "Approved",
        "Rejected",
        "Withdrawn"
      ]
    },
    "submittedAt": {
      "type": "string",
      "format": "date-time"
    },
    "resolvedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "resolutionDecisionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "appealId",
    "ticketId",
    "submittedByUserId",
    "reason",
    "state",
    "submittedAt",
    "resolvedAt",
    "resolutionDecisionId",
    "version"
  ]
}
OpsVerificationAppealsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appealId": {
            "type": "string"
          },
          "ticketId": {
            "type": "string"
          },
          "submittedByUserId": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Submitted",
              "UnderReview",
              "Approved",
              "Rejected",
              "Withdrawn"
            ]
          },
          "submittedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "resolutionDecisionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "integer"
          }
        },
        "required": [
          "appealId",
          "ticketId",
          "submittedByUserId",
          "reason",
          "state",
          "submittedAt",
          "resolvedAt",
          "resolutionDecisionId",
          "version"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "description": "Bounded actual family records. nextCursor is opaque or null; totalCount is null (unknown), not a zero total or snapshot. Forward the exact cursor with unchanged selection."
}
OrganizationRenamePreview
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "caseId": {
      "type": "string"
    },
    "caseVersion": {
      "type": "integer"
    },
    "tenantId": {
      "type": "string"
    },
    "currentSlug": {
      "type": "string"
    },
    "requestedSlug": {
      "type": "string"
    },
    "proposedSlug": {
      "type": "string"
    },
    "currentName": {
      "type": "string"
    },
    "requestedName": {
      "type": [
        "string",
        "null"
      ]
    },
    "proposedName": {
      "type": "string"
    },
    "fingerprint": {
      "type": "string"
    },
    "legacyIdentityReserved": {
      "type": "boolean"
    },
    "dashboardPaths": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "beforePath": {
            "type": "string"
          },
          "afterPath": {
            "type": "string"
          }
        },
        "required": [
          "beforePath",
          "afterPath"
        ]
      }
    },
    "dashboardPathsComplete": {
      "type": "boolean"
    },
    "publicPagesImpact": {
      "type": "string"
    },
    "smartLinkDomainsImpact": {
      "type": "string"
    },
    "externalInventory": {
      "type": "string"
    }
  },
  "required": [
    "caseId",
    "caseVersion",
    "tenantId",
    "currentSlug",
    "requestedSlug",
    "proposedSlug",
    "currentName",
    "requestedName",
    "proposedName",
    "fingerprint",
    "legacyIdentityReserved",
    "dashboardPaths",
    "dashboardPathsComplete",
    "publicPagesImpact",
    "smartLinkDomainsImpact",
    "externalInventory"
  ]
}
OrganizationRenamePathImpact
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "beforePath": {
      "type": "string"
    },
    "afterPath": {
      "type": "string"
    }
  },
  "required": [
    "beforePath",
    "afterPath"
  ]
}
PreviewOrganizationRenameRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "newTenantSlug": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "newTenantName": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}