Current documentation. Version and compatibility notes.

Dashboard browser API reference

Signed-in application management and reporting through the Dashboard BFF.

Workflow guide · Download OpenAPI JSON

API origin
https://dashboard.appportal.io
API version
1.0.0
Reference source
8bda8e8302d4ea5bd005ef1132f7267e82e6337c
Download SHA-256
1d257f23b37506d96203aacd5d01edc3aa504b2744767713720b7189c1471d07

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.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 the complete small raw account audit array

Raw PortalAuditEvent beforeState/afterState/correlation fields remain distinct from sanitized activity. Current organization Admin retains organization-wide access; current AppOwner sees only existing apps authorized by current AppOwner roles or active external role grants. Organization-wide AppOwner authorizes apps, never null-app organization records. Ordinary membership, view/team capabilities, record authorship and selected app IDs grant no audit access. Validated token access intersects current authority; organization/app denials win. Scope and filters precede timestamp-descending, C-collated ID-descending SQL limit+1. Current authority and app existence are rechecked before return. ReadExistingData policy applies to GET. Read audit contains counts only; totalCount:null is unknown. Original array only when complete within min(selected limit,100); overflow or supplied cursor409 pagination_required. Use /audit/page for traversal.

Access: browserSession

Authenticated current customer organization Admin or authorized app owner; current role/visibility/denial intersection, never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (query, optional)
Optional exact app selector, not authority.
{
  "type": "string",
  "maxLength": 256
}
action (query, optional)
Optional literal action prefix.
{
  "type": "string",
  "maxLength": 128
}
limit (query, optional)
Legacy size hint: source reads at most100+1; smaller hints cannot truncate a complete collection.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000,
  "default": 100
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGovernanceAudit"
    }
  }
}
400
Invalid selectors, changed authority/selection or tampered/expired continuation: audit_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current audit authority cannot be verified: audit_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy array unavailable: 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current ReadExistingData operational policy denies this safe 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
Existing sanitized internal_error response; no raw exception or substitute projection.

Response headers

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

Link to this operation

GET/api/admin/admin/audit/activity

Read customer-safe organization audit activity

Requires current customer Admin, AllApps scope and a validated subject; selected app must remain viewable. Independently enforces ReadExistingData even for safe GET. The actual sanitized who/what projection excludes raw before/after state, private targets and correlation payloads; this is distinct from the legacy audit stream. Reads are audited. PagedResult totalCount:null remains unknown. Protected cursor binds subject/account, normalized filters, denied apps and page limit; no expiry is invented. Native query parsing validates recognized fields and repeated recognized values; unknown query names are not newly rejected.

Access: browserSession

Authenticated current customer account scope and customer Admin; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
q (query, optional)
Optional single control-free value, trimmed; blank becomes absent. Search is literal, not SQL wildcard authority.
{
  "type": "string",
  "maxLength": 128
}
actor (query, optional)
Optional single control-free value, trimmed; blank becomes absent. Search is literal, not SQL wildcard authority.
{
  "type": "string",
  "maxLength": 256
}
action (query, optional)
Optional single control-free value, trimmed; blank becomes absent. Search is literal, not SQL wildcard authority.
{
  "type": "string",
  "maxLength": 128
}
result (query, optional)
Optional single control-free value, trimmed; blank becomes absent. Search is literal, not SQL wildcard authority.
{
  "type": "string",
  "maxLength": 64
}
appId (query, optional)
Optional single control-free value, trimmed; blank becomes absent. Search is literal, not SQL wildcard authority.
{
  "type": "string",
  "maxLength": 256
}
cursor (query, optional)
Optional single control-free value, trimmed; blank becomes absent. Search is literal, not SQL wildcard authority.
{
  "type": "string",
  "maxLength": 8192
}
from (query, optional)
Optional UTC timestamp containing T and ending Z or +00:00; from<=to. Actual source uses inclusive from and exclusive to.
{
  "type": "string",
  "maxLength": 64
}
to (query, optional)
Optional UTC timestamp containing T and ending Z or +00:00; from<=to. Actual source uses inclusive from and exclusive to.
{
  "type": "string",
  "maxLength": 64
}
limit (query, optional)
Native integer parser; invalid/repeated bounds reject400, not clamped.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 50
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGovernanceActivityPage"
    }
  }
}
400
Malformed recognized filters: audit_activity_query_invalid; changed/malformed continuation: audit_activity_cursor_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current ReadExistingData operational policy denies this safe read; preserve native compatibility aliases.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/admin/admin/audit/page

Read protected raw account audit pages

Raw PortalAuditEvent beforeState/afterState/correlation fields remain distinct from sanitized activity. Current organization Admin retains organization-wide access; current AppOwner sees only existing apps authorized by current AppOwner roles or active external role grants. Organization-wide AppOwner authorizes apps, never null-app organization records. Ordinary membership, view/team capabilities, record authorship and selected app IDs grant no audit access. Validated token access intersects current authority; organization/app denials win. Scope and filters precede timestamp-descending, C-collated ID-descending SQL limit+1. Current authority and app existence are rechecked before return. ReadExistingData policy applies to GET. Read audit contains counts only; totalCount:null is unknown.

Access: browserSession

Authenticated current customer organization Admin or authorized app owner; current role/visibility/denial intersection, never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (query, optional)
Optional exact app selector, not authority.
{
  "type": "string",
  "maxLength": 256
}
action (query, optional)
Optional literal action prefix.
{
  "type": "string",
  "maxLength": 128
}
limit (query, optional)
Page size1..100; default25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque30minute continuation binds subject, account, app/action, page size, source/order and effective current role/visibility/denial authority; recheck on each page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGovernanceAuditPage"
    }
  }
}
400
Invalid selectors, changed authority/selection or tampered/expired continuation: audit_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current audit authority cannot be verified: audit_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current ReadExistingData operational policy denies this safe 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
Existing sanitized internal_error response; no raw exception or substitute projection.

Response headers

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

Link to this operation

GET/api/admin/admin/entitlements

Read effective customer product capabilities

The selected authenticated account's current effective offering, matching custom-offering source, staff overrides and actual beta access resolve the finite entitlement catalog. Override:null differs from false. Contract/beta authorization and nullable expiry/revision remain native evidence; an override cannot manufacture commercial authority. Missing or changing offering is503 dependency_unavailable, never an empty catalog or assumed free offering.

Access: browserSession

Existing authenticated customer account scope and owning operational-policy checks; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGovernanceEntitlements"
    }
  }
}
400
Invalid selected account: account_scope_required; original native input errors remain.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Existing sanitized internal_error response; no raw exception or substitute projection.

Response headers

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

Response headers

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

Link to this operation

GET/api/admin/admin/feature-flags

Read complete small account feature-flag arrays

Includes both current account override rows and global rows; a global flag has tenantId:null, and equal flag keys can retain both scopes. This read does not require the mutation Admin role. Current stored account membership and source authority are rechecked around the bounded SQL read and audited. Protected page order is C-collated flagKey then scope. Null totalCount is unknown, never zero. Source failure503 management_page_unavailable; lost current access403 management_page_access_denied. Legacy reads at most100+1 and returns its original array only when complete within100; overflow409 pagination_required directs to /feature-flags/page. Legacy query values remain ignored by this branch, not a new supported continuation protocol.

Access: browserSession

Existing authenticated customer account scope and owning operational-policy checks; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGovernanceFlags"
    }
  }
}
400
Invalid page selection or protected continuation: management_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Legacy collection exceeds the complete-array boundary: pagination_required. Dashboard session-changed is a separate pre-dispatch 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
Existing sanitized internal_error response; no raw exception or substitute projection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current feature flags could not be verified: management_page_unavailable; not an empty 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

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

Delete an account feature-flag override

Current account Admin is required. Optional native boolean global=true is403 global_feature_flag_access_denied; only the selected account's override can be deleted. Missing override404 resource_not_found. Successful deletion audits the prior value and returns204 with no body; global baseline rows remain independent.

Access: browserSession + csrfToken

Authenticated current customer account scope and customer Admin; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
flagKey (path, required)
{
  "type": "string"
}
global (query, optional)
Optional native boolean selector; true cannot grant platform scope.
{
  "type": "boolean"
}

Responses

204
Completed; no response body.
400
Invalid selected account: account_scope_required; original native input errors remain.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Selected account override absent: 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy blocks this mutation; preserve native errorCode compatibility aliases.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

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

Save an account-scoped feature flag

Current account Admin is required. Blank flagKey400 feature_flag_key_required. global:true is403 global_feature_flag_access_denied; a customer body cannot write a platform flag. Description:null retains the existing description or uses an empty string for a new row. Enabled:false remains an actual false value. Writes record actor/time and before/after audit. There is no added command key, CAS or provider operation.

Access: browserSession + csrfToken

Authenticated current customer account scope and customer Admin; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
flagKey (path, required)
{
  "type": "string"
}

Request body

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

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/FeatureFlag"
    }
  }
}
400
Invalid selected account: account_scope_required; original native input errors remain.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Native JSON binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy blocks the mutation; preserve native errorCode compatibility aliases.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

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

Read protected account feature-flag pages

Includes both current account override rows and global rows; a global flag has tenantId:null, and equal flag keys can retain both scopes. This read does not require the mutation Admin role. Current stored account membership and source authority are rechecked around the bounded SQL read and audited. Protected page order is C-collated flagKey then scope. Null totalCount is unknown, never zero. Source failure503 management_page_unavailable; lost current access403 management_page_access_denied.

Access: browserSession

Existing authenticated customer account scope and owning operational-policy checks; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned invariant decimal, no whitespace or sign.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque nonblank/control-free continuation bound to current subject/authority/account/source/limit; no invented expiry.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGovernanceFlagPage"
    }
  }
}
400
Invalid page selection or protected continuation: management_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Existing sanitized internal_error response; no raw exception or substitute projection.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current feature flags could not be verified: management_page_unavailable; not an empty 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/admin/admin/retention

Read the effective account retention policy

Read-only evaluation resolves the actual active offering's raw-retention maximum. An absent stored policy yields the actual service default at that maximum, UpdatedAt minimum timestamp, UpdatedBy system and AcknowledgedByAdmin:false. A stored policy is bounded to the current maximum in the returned projection; this GET does not persist a clamp. Returned planKey/maximumDays are effective evidence, not the DTO's compatibility defaults or a promise that physical purge has completed. Unavailable offering returns503 retention_policy_unavailable.

Access: browserSession

Existing authenticated customer account scope and owning operational-policy checks; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/RetentionPolicy"
    }
  }
}
400
Invalid selected account: account_scope_required; original native input errors remain.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Existing sanitized internal_error response; no raw exception or substitute projection.

Response headers

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

Response headers

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

Link to this operation

PUT/api/admin/admin/retention

Save acknowledged account retention windows

Current account Admin is required. All three requested windows must be between1 and the server-resolved offering maximum, with acknowledgedByAdmin:true; rejection400 retention_request_invalid. The service resolves/persists any prior plan clamp with its audit, saves the selected shorter/equal windows and actual actor/time, and records retention.updated. No fixed commercial retention or purge-completion claim is made. The existing body has no command key or revision-precondition protocol.

Access: browserSession + csrfToken

Authenticated current customer account scope and customer Admin; never staff Operations authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual owning customer projection; false/null/unknown distinctions retained.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/RetentionPolicy"
    }
  }
}
400
Invalid selected account: account_scope_required; original native input errors remain.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Existing role/current authority or browser origin/CSRF boundary denied; native errors remain 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Native JSON binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy blocks the mutation; preserve native errorCode compatibility aliases.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/billing/billing/account

Read provider account contact and one invoice page

The provider customer is resolved from the selected account. An absent customer association is a disconnected-account result with null contact/cursor and empty invoices. Provider failures remain errors. Invoice amounts retain integer minor units; nextCursor is opaque, not an offset or total count.

Access: browserSession

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Page size, default 20; values outside 1–50 are rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 50,
  "default": 20
}
cursor (query, optional)
Optional opaque provider cursor, at most 255 UTF-16 code units after trimming; only letters, digits, underscore and hyphen are accepted. Blank means no cursor.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 255
}

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingAccountOverview"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
502
Provider failure or uncertain mutation outcome; inspect the specific code and explicit nonexecution flag. Preserve the original uncertain request/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/account-qualification

Read owner-declared account facts and current policy

No query parameters. Additional current-data owner authority is required independently of token role labels, app selection or billing-owner consent. Facts can be declared while current pinned policy is unknown. Latest and current declarations can differ; fingerprints are observations, not command receipts or permission. The read records its audit event without changing account metadata, plans or payment.

Access: browserSession

Actual Personal owner or organization-wide Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OfferingAccountQualificationView"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies this operation. The management problem retains its errorCode alias.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

PUT/api/billing/billing/account-qualification

Declare account qualification facts

No query parameters. Body mutationId and expectedRevision bind an exact prospective declaration; no Idempotency-Key header is required. Replay preserves the original receipt. A 409 may replace mutationId only when retryWithFreshMutationId is explicitly true; mismatched original requests remain unresolved. Declaring facts does not change account metadata, choose an offering or grant access.

Access: browserSession + csrfToken

Actual Personal owner or organization-wide Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OfferingDeclarationReceipt"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

PUT/api/billing/billing/billing-contact

Update the provider billing contact

Current provider association and validated normalized contact are required. The account scope and provider customer are server-derived. The audit lists changed field names without contact PII. Retry an uncertain update with its original request and key.

Access: browserSession + csrfToken

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One header value; the trimmed, non-whitespace key is at most 200 UTF-16 code units. Repeated values and control characters in the normalized key are rejected; established trimming remains unchanged. Retain the exact original command/key after uncertainty rather than silently selecting fresh terms.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 200
}

Request body

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

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingContact"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
502
Provider failure or uncertain mutation outcome; inspect the specific code and explicit nonexecution flag. Preserve the original uncertain request/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

POST/api/billing/billing/checkout-session

Create a secure provider Checkout session

Select existing public paid terms using the original catalog revision/key. Custom agreements are operator-managed; an existing nonterminal subscription uses the portal instead. Package pricing requiring reconciliation is unavailable, not zero. A redirect session is not payment confirmation or an entitlement grant. The provider URL is server-returned; no browser-supplied return destination is accepted.

Access: browserSession + csrfToken

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One header value; the trimmed, non-whitespace key is at most 255 UTF-16 code units. Repeated values and control characters in the normalized key are rejected; established trimming remains unchanged. Retain the exact original command/key after uncertainty rather than silently selecting fresh terms.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 255
}

Request body

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

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingRedirectSession"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
502
Provider failure or uncertain mutation outcome; inspect the specific code and explicit nonexecution flag. Preserve the original uncertain request/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/effective-offering

Read current effective offering configuration

Current membership, active user and account-level authority are rechecked after source work. State/definition/composition preserve unavailable or unmapped pinned configuration; cancellation progress is separate from current terms. Enterprise telemetry coverage gives the selected organization its shared monthly record allowance, exclusive agreement end, and next UTC reset when another period begins before expiry. Audited configuration read, not a payment, usage, retention or entitlement change.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EffectiveOffering"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies this operation. The management problem retains its errorCode alias.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/invoice-preview

Read the legacy invoice preview projection

Both year and month are required and validated before pinned-source work. A valid current selection still cannot establish legacy credit/SMS liability, so the handler returns offering_configuration_unavailable. No 200 invoice, fabricated prices, credit grant or zero-liability assertion is advertised.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
year (query, required)
Required year.
{
  "type": "integer",
  "minimum": 2000,
  "maximum": 2100
}
month (query, required)
Required month.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 12
}

Responses

400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

POST/api/billing/billing/marketplace/purchase-link-intents

Record an explicit Marketplace purchase association intent

Record the billing owner’s request to link a purchase. The receipt is historical. Activation and payment are separate. To retry, send the original request with the same idempotency key. The current billing owner and revision must still match.

Access: browserSession + csrfToken

Current Dashboard Admin and active recorded billing owner at the exact persisted revision

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one non-whitespace header value, at most 200 UTF-16 code units and no controls. The exact value is retained for command identity without trimming. Repeated values are rejected; do not replace an uncertain original key.
{
  "type": "string",
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/MarketplacePurchaseLinkIntentRequest"
      }
    }
  },
  "description": "Send a JSON object up to 32,768 UTF-8 bytes and four levels deep. Include each required field once. Pass the decoded purchase token. AppPortal does not store or return the token."
}

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MarketplacePurchaseLinkReceipt"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

POST/api/billing/billing/marketplace/purchase-preview

Preview a Microsoft Marketplace purchase

Preview the Marketplace purchase for the selected account. Send the decoded purchase token in the request body. Preview returns purchase details and leaves billing and access unchanged.

Access: browserSession + csrfToken

Current Dashboard session and selected-account Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/MarketplacePurchasePreviewRequest"
      }
    }
  },
  "description": "Send a JSON object up to 32,768 UTF-8 bytes and four levels deep. Include each required field once. Pass the decoded purchase token. AppPortal does not store or return the token."
}

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MarketplacePurchasePreview"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/overage-consent

Read overage terms and consent

Selected-account billing authority comes from the validated principal and current stores. Caller headers do not grant ownership. Plan inclusion, beta enablement and billing consent remain separate.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Current selected-account result. no-store, private. Configured consent is not proof of live enforcement or billing activation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OverageConsentView"
    }
  }
}
400
Missing selected account, malformed input or invalid command. Handler errors use shared problem details; domain error preserves its machine-code alias. Parsing/binding can also 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/ProblemDetails"
    }
  }
}
401
No authenticated Dashboard session/current principal. Shared management normalization may supply problem details; a body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
403
Current billing authority required; history and mutations additionally check actual ownership. Handler errors use shared problem details. BFF CSRF/origin failures retain error JSON; authorization 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingConsentErrorResponse"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Unexpected dependency failure. Shared bounded problem details disclose no exception, token or private source details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
503
Stored consent or current authority is unavailable. Handler errors use shared problem details. Preserve an uncertain original mutation and its idempotency key; this is not an empty or unlimited offering.

Response headers

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

Link to this operation

PUT/api/billing/billing/overage-consent

Record bounded overage consent

Selected-account billing authority comes from the validated principal and current stores. Caller headers do not grant ownership. Plan inclusion, beta enablement and billing consent remain separate.

Access: browserSession + csrfToken

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
Retain the exact original key and request after an uncertain outcome. Reuse with a different command conflicts. A 409 is not proof that a fresh key is safe.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ChangeOverageConsentRequest"
      }
    }
  },
  "description": "Actual JSON-bound request DTO. Domain acceptance, revisions, ownership and disclosed terms are checked separately."
}

Responses

200
Current selected-account result. no-store, private. Configured consent is not proof of live enforcement or billing activation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OverageConsentSnapshot"
    }
  }
}
400
Missing selected account, malformed input or invalid command. Handler errors use shared problem details; domain error preserves its machine-code alias. Parsing/binding can also 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/ProblemDetails"
    }
  }
}
401
No authenticated Dashboard session/current principal. Shared management normalization may supply problem details; a body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
403
Current billing authority required; history and mutations additionally check actual ownership. Handler errors use shared problem details. BFF CSRF/origin failures retain error JSON; authorization 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingConsentErrorResponse"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Owner/consent revision, terms or idempotency conflict uses shared problem details. The BFF session-changed precondition is a separate representation added by the ingress generator. Refresh/reconcile without silently rebasing or replacing an uncertain original key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
JSON media type required by the existing request binder. Unsupported media types do not execute 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/ProblemDetails"
    }
  }
}
423
Current account operational policy denies the mutation using the established errorCode/error JSON. This filter does not apply to these safe GET reads.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
500
Unexpected dependency failure. Shared bounded problem details disclose no exception, token or private source details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
503
Stored consent or current authority is unavailable. Handler errors use shared problem details. Preserve an uncertain original mutation and its idempotency key; this is not an empty or unlimited offering. Operational-policy unavailability retains the established errorCode/error 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}

Link to this operation

GET/api/billing/billing/overage-consent/history

Read current-owner consent history

Current billing owner only. Returns at most 50 snapshots in descending revision order. beforeRevision is an exclusive revision bound, not an offset or an opaque cursor. An empty page does not prove an absent owner or available offering.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
beforeRevision (query, optional)
Only revisions strictly less than this value. Omit for the latest page.
{
  "type": "integer",
  "format": "int64"
}

Responses

200
Current selected-account result. no-store, private. Configured consent is not proof of live enforcement or billing activation.
{
  "application/json": {
    "schema": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OverageConsentSnapshot"
      },
      "maxItems": 50
    }
  }
}
400
Missing selected account, malformed input or invalid command. Handler errors use shared problem details; domain error preserves its machine-code alias. Parsing/binding can also 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/ProblemDetails"
    }
  }
}
401
No authenticated Dashboard session/current principal. Shared management normalization may supply problem details; a body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
403
Current billing authority required; history and mutations additionally check actual ownership. Handler errors use shared problem details. BFF CSRF/origin failures retain error JSON; authorization 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingConsentErrorResponse"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Unexpected dependency failure. Shared bounded problem details disclose no exception, token or private source details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
503
Stored consent or current authority is unavailable. Handler errors use shared problem details. Preserve an uncertain original mutation and its idempotency key; this is not an empty or unlimited offering.

Response headers

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

Link to this operation

GET/api/billing/billing/overage-consent/history/page

Page current-owner approval history

Current billing owner only. Receipts are ordered by descending revision. Continue with the opaque cursor and the same limit. Cursors expire after 30 minutes or become invalid if the owner revision or Business data source changes.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 50
}
cursor (query, optional)
Opaque continuation returned by the preceding page.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Current selected-account result. no-store, private. Configured consent is not proof of live enforcement or billing activation.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "items",
        "nextCursor",
        "totalCount"
      ],
      "properties": {
        "items": {
          "type": "array",
          "maxItems": 100,
          "items": {
            "$ref": "#/components/schemas/OverageConsentSnapshot"
          }
        },
        "nextCursor": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 8192
        },
        "totalCount": {
          "type": "null",
          "description": "Total history size is unavailable."
        }
      }
    }
  }
}
400
Missing selected account, malformed input or invalid command. Handler errors use shared problem details; domain error preserves its machine-code alias. Parsing/binding can also 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/ProblemDetails"
    }
  }
}
401
No authenticated Dashboard session/current principal. Shared management normalization may supply problem details; a body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
403
Current billing authority required; history and mutations additionally check actual ownership. Handler errors use shared problem details. BFF CSRF/origin failures retain error JSON; authorization 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingConsentErrorResponse"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Unexpected dependency failure. Shared bounded problem details disclose no exception, token or private source details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
503
Stored consent or current authority is unavailable. Handler errors use shared problem details. Preserve an uncertain original mutation and its idempotency key; this is not an empty or unlimited offering.

Response headers

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

Link to this operation

GET/api/billing/billing/owner

Read billing ownership

Selected-account billing authority comes from the validated principal and current stores. Caller headers do not grant ownership. Plan inclusion, beta enablement and billing consent remain separate.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Current selected-account result. no-store, private. Configured consent is not proof of live enforcement or billing activation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingOwnerStatus"
    }
  }
}
400
Missing selected account, malformed input or invalid command. Handler errors use shared problem details; domain error preserves its machine-code alias. Parsing/binding can also 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/ProblemDetails"
    }
  }
}
401
No authenticated Dashboard session/current principal. Shared management normalization may supply problem details; a body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
403
Current billing authority required; history and mutations additionally check actual ownership. Handler errors use shared problem details. BFF CSRF/origin failures retain error JSON; authorization 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingConsentErrorResponse"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Unexpected dependency failure. Shared bounded problem details disclose no exception, token or private source details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
503
Stored consent or current authority is unavailable. Handler errors use shared problem details. Preserve an uncertain original mutation and its idempotency key; this is not an empty or unlimited offering.

Response headers

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

Link to this operation

PUT/api/billing/billing/owner

Configure billing ownership

Selected-account billing authority comes from the validated principal and current stores. Caller headers do not grant ownership. Plan inclusion, beta enablement and billing consent remain separate.

Access: browserSession + csrfToken

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
Retain the exact original key and request after an uncertain outcome. Reuse with a different command conflicts. A 409 is not proof that a fresh key is safe.
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/ConfigureBillingOwnerRequest"
      }
    }
  },
  "description": "Actual JSON-bound request DTO. Domain acceptance, revisions, ownership and disclosed terms are checked separately."
}

Responses

200
Current selected-account result. no-store, private. Configured consent is not proof of live enforcement or billing activation.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingOwnerStatus"
    }
  }
}
400
Missing selected account, malformed input or invalid command. Handler errors use shared problem details; domain error preserves its machine-code alias. Parsing/binding can also 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/ProblemDetails"
    }
  }
}
401
No authenticated Dashboard session/current principal. Shared management normalization may supply problem details; a body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
403
Current billing authority required; history and mutations additionally check actual ownership. Handler errors use shared problem details. BFF CSRF/origin failures retain error JSON; authorization 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingConsentErrorResponse"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Owner/consent revision, terms or idempotency conflict uses shared problem details. The BFF session-changed precondition is a separate representation added by the ingress generator. Refresh/reconcile without silently rebasing or replacing an uncertain original key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
JSON media type required by the existing request binder. Unsupported media types do not execute 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/ProblemDetails"
    }
  }
}
423
Current account operational policy denies the mutation using the established errorCode/error JSON. This filter does not apply to these safe GET reads.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}
500
Unexpected dependency failure. Shared bounded problem details disclose no exception, token or private source details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/ProblemDetails"
    }
  }
}
503
Stored consent or current authority is unavailable. Handler errors use shared problem details. Preserve an uncertain original mutation and its idempotency key; this is not an empty or unlimited offering. Operational-policy unavailability retains the established errorCode/error 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/ProblemDetails"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantOperationDeniedResponse"
    }
  }
}

Link to this operation

GET/api/billing/billing/plan

Read the actual pinned public plan assignment

Only a valid actual pinned public assignment fits this legacy response. Missing/unmapped authority or an overriding custom agreement returns offering_configuration_unavailable; no implicit Free assignment, mutable catalog repricing or stale public plan is substituted.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TenantPlanAssignment"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/plans

Read the plan catalog

Returns catalog entries pairing the actual plan and entitlements, with optional offering definitions. These reference choices do not replace an account's pinned current terms or grant a plan.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual plan catalog entries.
{
  "application/json": {
    "schema": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BillingPlanCatalogEntry"
      }
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

POST/api/billing/billing/portal-session

Create a provider billing portal session

No request body or required Idempotency-Key. Uses the selected account's provider customer, never a caller-supplied customer ID. Custom agreements, missing association and a provider-account mismatch are distinct conflicts. The returned URL is a short-lived provider destination, not proof that a billing change completed.

Access: browserSession + csrfToken

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingRedirectSession"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies this operation. The management problem retains its errorCode alias.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
502
Provider failure or uncertain mutation outcome; inspect the specific code and explicit nonexecution flag. Preserve the original uncertain request/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/spend-alerts

Read configured spend alerts

Returns saved settings, or the existing default with null cap and warning threshold 80. A missing cap is not a balance, grant or unlimited paid-service authorization. Existing emergency-stop fields remain independent.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SpendAlertConfig"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

PUT/api/billing/billing/spend-alerts

Update configured spend alerts

No required Idempotency-Key or optimistic revision header. Sets only warning/cap fields on existing/default settings and records actor/time/audit. Null clears the cap; emergency-stop state is preserved. This neither grants credits nor enables telemetry enforcement or provider charging.

Access: browserSession + csrfToken

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SpendAlertConfig"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/subscription

Read the provider subscription projection

Actual selected-account HTTP workflow.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Current durable projection, or literal JSON null when no subscription exists.
{
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/TenantBillingSubscription"
        },
        {
          "type": "null"
        }
      ]
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

DELETE/api/billing/billing/subscription/plan-change

Reverse a scheduled subscription change

No request body. Exact recorded successful receipt replay wins before current-cycle/precondition checks, even if a later cycle exists. New reversal work requires a currently scheduled change. Optional If-Match binds the displayed generation/target/renewal boundary using the existing brv1 algorithm; it is a snapshot precondition, not an authentication credential. No GET ETag is invented. A changed generation cannot be cleared by a late provider response. Unknown outcome requires reconciliation; only explicit fresh-key permission establishes confirmed nonexecution.

Access: browserSession + csrfToken

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One header value; the trimmed, non-whitespace key is at most 200 UTF-16 code units. Repeated values and control characters in the normalized key are rejected; established trimming remains unchanged. Retain the exact original command/key after uncertainty rather than silently selecting fresh terms.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 200
}
If-Match (header, optional)
Optional single exact BillingScheduledReversalVersion snapshot. Older clients may omit it. Repeated values are invalid; mismatched current snapshot returns 412 without provider mutation.
{
  "type": "string",
  "pattern": "^\"brv1_[0-9a-f]{64}\"$"
}

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPlanChangeResult"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
502
Provider failure or uncertain mutation outcome; inspect the specific code and explicit nonexecution flag. Preserve the original uncertain request/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

POST/api/billing/billing/subscription/plan-change

Request a provider-backed subscription plan change

Current pinned public terms, provider subscription and supported cadence/timing are required. Paid downgrades and cancellation use renewal; a paid upgrade uses immediate provider payment. Existing scheduled cancellation must be reversed before another paid change. Durable reservations serialize competing changes and exact receipts replay. ProviderConfirmationPending/PaymentRequired do not grant new entitlements. Unknown provider outcome keeps the original reservation and key; only explicit retryWithFreshIdempotencyKey:true establishes nonexecution permitting a new attempt.

Access: browserSession + csrfToken

Admin

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One header value; the trimmed, non-whitespace key is at most 200 UTF-16 code units. Repeated values and control characters in the normalized key are rejected; established trimming remains unchanged. Retain the exact original command/key after uncertainty rather than silently selecting fresh terms.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 200
}

Request body

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

Responses

200
Actual selected-account result.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/BillingPlanChangeResult"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
502
Provider failure or uncertain mutation outcome; inspect the specific code and explicit nonexecution flag. Preserve the original uncertain request/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/telemetry-status

Read observed telemetry collection evidence

No query parameters. Requires the Portal audience and current all-app account authority without denied apps; caller selectors cannot grant scope. Authority is rechecked after async source work and auditing. enforcement stays not-verified. Null/unknown counts, coverage and period remain distinct from verified zero. recentAdmission is a bounded historical sample (up to three retained examples per signal), not current collection state or a traffic census; reset hints do not promise resumption.

Access: browserSession

Current account-wide Admin or AppOwner; exact Personal owner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual selected-account result.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Includes no-store and private."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TelemetryCollectionStatus"
    }
  }
}
400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies this operation. The management problem retains its errorCode alias.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/billing/billing/usage

Read the legacy billing usage projection

Current pinned offerings cannot populate this legacy credit/included-SMS response truthfully. The handler fails closed with offering_configuration_unavailable rather than returning an invented zero wallet, monetary usage or implicit Free assignment. No current 200 success body is advertised. Use independently versioned account/observed-status evidence for its own stated coverage.

Access: browserSession

Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

400
Missing account selection, invalid input or a route-specific command/query failure. Binding can 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/DashboardBillingAccountProblem"
    }
  }
}
401
No valid current Dashboard session/principal. A response body is not guaranteed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
403
Current route-specific account authority is required. Shared management problems and browser CSRF/origin error JSON remain separate; some authorization failures are 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/DashboardBillingAccountProblem"
    }
  },
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountBrowserError"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The existing BFF session-changed precondition is a separate JSON alternative supplied by the browser generator. Route-specific domain conflicts, where applicable, use management problem details.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardBillingAccountProblem"
    }
  }
}
503
Current source, policy or provider authority is unavailable. Unknown does not mean an empty, Free, zero-priced or unlimited 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/DashboardBillingAccountProblem"
    }
  }
}

Link to this operation

GET/api/branding/permission

Read current organization marketing permission

Current active organization verification and retained opt-out/use evidence determine consentActive. An unrecorded default may have effectiveAt:null and revision0; this is not a historical customer grant. Nullable verification/use/removal timestamps and false flags retain actual semantics. Read records a core audit event. This finite permission record is distinct from Downloads logo identity, public brand matching, staff-use history and an Operations workspace.

Access: browserSession

Actual AppPortal audience, selected account and fresh active user/effective organization Admin. App-scoped Admin/AppOwner and claimed staff roles cannot grant organization authority. Existing browser cookie/session/origin/conditional CSRF and account policy remain independent.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual OrganizationBrandingPermission projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationBrandingPermission"
    }
  }
}
400
Recognized branding validation error: organization_branding_invalid; sanitized owning message.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Wrong audience or fresh organization-admin authority denied may be bodyless; service rejection uses organization_branding_forbidden. Browser CSRF/origin failures retain their own envelope.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Personal workspace or stale revision: organization_branding_conflict. The browser session-changed conflict is 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
Existing sanitized internal_error for an unexpected failure; no raw exception or invented permission.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Existing shared authority/operation-policy dependency unavailable; no assumed permission 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/branding/permission/opt-out

Opt out of organization marketing use

Body revision must match the current stored revision; mismatch409 organization_branding_conflict. Trimmed reason must be8..500characters; invalid400 organization_branding_invalid. The existing transaction locks the organization row, records retained permission/history/core audit and increments revision. Repeated intentional opt-out with a fresh revision preserves original optOutAt/removalDueAt, not command-key replay. Existing in-use state sets the source-owned30-day removal due date; this records an obligation, not proof removal completed. It neither opts in nor changes verification. Existing RevokeAccess classification preserves safety revocation under account restrictions; there is no new idempotency/proof header or provider call.

Access: browserSession + csrfToken

Actual AppPortal audience, selected account and fresh active user/effective organization Admin. App-scoped Admin/AppOwner and claimed staff roles cannot grant organization authority. Existing browser cookie/session/origin/conditional CSRF and account policy remain independent.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual OrganizationBrandingPermission projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationBrandingPermission"
    }
  }
}
400
Recognized branding validation error: organization_branding_invalid; sanitized owning message.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Wrong audience or fresh organization-admin authority denied may be bodyless; service rejection uses organization_branding_forbidden. Browser CSRF/origin failures retain their own envelope.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Personal workspace or stale revision: organization_branding_conflict. The browser session-changed conflict is 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder rejects unsupported media type; no permission change.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing RevokeAccess operation policy may deny unusable current account state; ordinary marketing opt-out remains permitted under management holds.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Existing shared authority/operation-policy dependency unavailable; no assumed permission 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/core/alerts/notifications

Read retained in-app alert transitions

Only limit and cursor query keys, each occurring once. This is the current environment's bounded in-app Firing/Recovered history, not email/provider delivery. Current retention and metric capability filter it. Unsupported/unavailable source returns 503 alerts_unavailable, never a successful empty history. Reads are audited and private no-store.

Access: browserSession

Current AppPortal-audience active user/account/app and concrete environment. The current stored effective ViewAnalytics/ViewCrashes/ViewLogs capability controls each metric; platform/target-narrowed rules are rejected. Authority is rechecked after reads and inside the save transaction. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One integer 1–100, default 25. Keep the same limit throughout continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation, at most 4096 UTF-16 code units. Bound to actor, account/app/environment, current metric/configuration authority, collection and limit. Rules and notification cursors are not interchangeable.
{
  "type": "string",
  "x-appportal-max-utf16-code-units": 4096
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Cache-Control": {
    "description": "private, no-store",
    "schema": {
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreTelemetryAlertNotificationPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
503
alerts_unavailable: notifications are unavailable for this data source; no empty or delivered result 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/CoreProblem"
    }
  }
}

Link to this operation

GET/api/core/alerts/rules

Read current telemetry alert rules

Only limit and cursor query keys, each occurring once. Current environment and visible metric authority bound the result; no total count is invented. Disabled, Unknown and NotEvaluated remain distinct. Null observations are not zero or healthy state. Reads are audited and private no-store. Free supported telemetry alerts do not grant configurable BI.

Access: browserSession

Current AppPortal-audience active user/account/app and concrete environment. The current stored effective ViewAnalytics/ViewCrashes/ViewLogs capability controls each metric; platform/target-narrowed rules are rejected. Authority is rechecked after reads and inside the save transaction. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One integer 1–100, default 25. Keep the same limit throughout continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation, at most 4096 UTF-16 code units. Bound to actor, account/app/environment, current metric/configuration authority, collection and limit. Rules and notification cursors are not interchangeable.
{
  "type": "string",
  "x-appportal-max-utf16-code-units": 4096
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Cache-Control": {
    "description": "private, no-store",
    "schema": {
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreTelemetryAlertPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/alerts/rules/{ruleId}

Create or revise a telemetry alert rule

No query string. ruleId is exactly 32 lowercase hexadecimal GUID N characters. Name must be nonblank, at most 80 UTF-16 code units and contain no controls; the stored name is trimmed. Choose a supported metric, explicit comparator, integer occurrence threshold and 5–1440 minute window within current retained history. Optional muteUntil must be a future timestamp. Unknown body members are rejected. One strong quoted nonnegative Int64 If-Match revision is required (maxInt64 rejected); use 0 for create. An identical retry by the same actor can return its existing receipt. Changed/stale/invalid/unavailable intent is 412 alert_rule_not_saved, not an overwrite. Missing or repeated If-Match values return bodyless 428; a malformed single value is 400. Configuration and audit commit atomically. This saves configuration; it does not claim any provider send or healthy observation.

Access: browserSession + csrfToken

Current AppPortal-audience active user/account/app and concrete environment. The current stored effective ViewAnalytics/ViewCrashes/ViewLogs capability controls each metric; platform/target-narrowed rules are rejected. Authority is rechecked after reads and inside the save transaction. Configuration additionally requires a current stored Admin/AppOwner role and ManageOrganization policy; team metric access alone cannot configure. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ruleId (path, required)
Exactly 32 lowercase hexadecimal GUID N characters.
{
  "type": "string"
}
If-Match (header, required)
One strong quoted current nonnegative Int64 rule revision; 0 creates, maxInt64 is invalid.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Cache-Control": {
    "description": "private, no-store",
    "schema": {
      "const": "private, no-store"
    }
  },
  "ETag": {
    "description": "Strong quoted saved rule revision.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreTelemetryAlertSaved"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
412
alert_rule_not_saved: invalid, unavailable or changed rule; refresh current state before trying again.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
428
Missing or repeated If-Match precondition values; no response body.
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/analytics/breakdown

Read an event dimension breakdown

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. A nonblank dimension is required; this is a ranked aggregate rather than a complete entity catalog.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
dimension (query, required)
Source-supported event breakdown dimension.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreDimensionBreakdowns"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/event-catalog

Read observed event catalog

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreEventCatalog"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/event-catalog/{eventKey}

Read an observed event detail

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
eventKey (path, required)
Exact event key returned by this catalog.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreEventDetail"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/event-catalog/{eventKey}/property

Read an observed event property distribution

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Property name must pass current TelemetryEventValidation; unavailable event/property returns404.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
eventKey (path, required)
Exact event key.
{
  "type": "string"
}
property (query, required)
Required valid event property name.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreEventPropertyDistribution"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/events

Read retained event occurrences

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Follow only nextCursor; preserve unknown totalCount and native page semantics.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreEventsPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/platforms

Read platform breakdown

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreDimensionBreakdowns"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/series

Read selected metric series

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. metric is sessions, events or crashes; positive bucketMinutes is used, otherwise60.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
metric (query, required)
Required recognized metric.
{
  "type": "string",
  "pattern": "^(?:[sS][eE][sS][sS][iI][oO][nN][sS]|[eE][vV][eE][nN][tT][sS]|[cC][rR][aA][sS][hH][eE][sS])$"
}
bucketMinutes (query, optional)
Positive bucket width; otherwise60.
{
  "type": "integer"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreMetricSeries"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/analytics/summary

Read app metric summaries

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreMetricSummaries"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/api/ai/configuration

Read current authorized AI invocation configuration

Concrete current app/environment and investigation authority required. Returns source-validated current policy revision/provider disclosure; not a successful inference receipt.

Access: browserSession

Current authenticated selected organization/account, AiCurrentAuthorization and existing source-transaction operational checks. No new AI activation, credential access or provider grant. Current app visibility, valid observability selection and actual ViewAnalytics, ViewLogs and ViewCrashes investigation capabilities. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAiInvocationConfiguration"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/api/ai/invoke

Invoke the selected authorized AI investigation

No query string. JSON object bounded by configured MaximumRequestBytes(owning range1024..8388608), depth16, duplicate-property rejection. Current disclosure/revision/classification/subject/investigation and daily allowance rechecked. RequestId is source-reserved once: ai_request_already_used does not recontact provider and an earlier outcome may be unknown. HTTP200 can carry Unknown/NotSent/non-success outcome with no model text; preserve actual provider usage/outcome and never equate transport success with successful inference.

Access: browserSession + csrfToken

Current authenticated selected organization/account, AiCurrentAuthorization and existing source-transaction operational checks. No new AI activation, credential access or provider grant. Current ViewAnalytics, ViewLogs and ViewCrashes investigation capabilities and app observability scope. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAiInvocationResponse"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/api/ai/policy

Read selected account AI policy

Administrative current-source AI policy/disclosure state; no invocation is sent.

Access: browserSession

Current authenticated selected organization/account, AiCurrentAuthorization and existing source-transaction operational checks. No new AI activation, credential access or provider grant. Current Admin role and current admin authority required. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAiPolicyStatus"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/api/ai/policy

Update selected account AI policy

JSON object maximum65536bytes/depth16; no query string and case-insensitive duplicate names rejected. Actual provider disclosure/profile/revision/classification validation remains in source. A new reference does not authorize enablement or selection.

Access: browserSession + csrfToken

Current authenticated selected organization/account, AiCurrentAuthorization and existing source-transaction operational checks. No new AI activation, credential access or provider grant. Current Admin role/current admin authority required. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAiPolicyStatus"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/api/ai/providers

Read current configured AI provider disclosures

runtimeAvailable reflects configured runtime option, not current account-policy enablement or successful inference. Catalog filters valid unique profiles; customer-owned profiles remain restricted to their account.

Access: browserSession

Current authenticated selected organization/account, AiCurrentAuthorization and existing source-transaction operational checks. No new AI activation, credential access or provider grant. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAiProviders"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/api/organization/app-data-bindings

Read customer-owned app-data binding visibility

Safe configuration/capability metadata only; no connection material, secret references or provider credentials. Current EnterpriseAuthorized proof required, no-store audited current-source read. Opaque customer-door actor/account/limit continuation; actual nextCursor/null retained.

Access: browserSession

Current AppPortal audience user, active user/organization/membership, current effective OrgAdmin and authorized Enterprise custom offering ByoDatabase entitlement. Current authority rechecked across source awaits. Actor/roles never accepted from request body/header. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25; range1..50.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 50,
  "default": 25
}
cursor (query, optional)
Opaque customer binding continuation; unchanged current authority/selection required.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindings"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/api/organization/app-data-bindings

Configure a customer-owned app-data binding candidate

No query parameters. Actual typed request carries scoped requestId/revision/provider/transient credential input; secrets are not returned in operation metadata. Pending/Provisioning/Unknown/CleanupPending202, otherwise200. Retry identical frozen request on uncertain outcome; no automatic destructive cleanup, migration or retention changes. Missing body expectedRevision returns428 app_data_binding_precondition_required. Existing ChangeProviderConnection policy applies.

Access: browserSession + csrfToken

Current AppPortal audience user, active user/organization/membership, current effective OrgAdmin and authorized Enterprise custom offering ByoDatabase entitlement. Current authority rechecked across source awaits. Actor/roles never accepted from request body/header. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingOperation"
    }
  }
}
202
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingOperation"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
428
The owning revision/precondition header is 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/api/organization/app-data-bindings/operations/{operationId}

Read one binding operation outcome

No query parameters. Exact scoped operationId must parseGUID; missing/foreign operation404. Current safe candidate state/expected-current revision only; unknown outcome is not success.

Access: browserSession

Current AppPortal audience user, active user/organization/membership, current effective OrgAdmin and authorized Enterprise custom offering ByoDatabase entitlement. Current authority rechecked across source awaits. Actor/roles never accepted from request body/header. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
operationId (path, required)
Scoped operation GUID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingOperation"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/api/organization/app-data-bindings/operations/{operationId}/cleanup

Retry explicit candidate binding cleanup

No query parameters. Typed cleanup request carries no credential/provider/secret reference. CleanupPending202, otherwise200. Exact previous candidate/source ownership and RevokeAccess operational policy are preserved; this does not activate a general purge or retained-data cleanup.

Access: browserSession + csrfToken

Current AppPortal audience user, active user/organization/membership, current effective OrgAdmin and authorized Enterprise custom offering ByoDatabase entitlement. Current authority rechecked across source awaits. Actor/roles never accepted from request body/header. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
operationId (path, required)
Scoped operation GUID.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingOperation"
    }
  }
}
202
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingOperation"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/api/organization/app-data-bindings/scope

Read one current customer binding scope

Only one optional appId; absent means organization default. Current scope/source revisions and latest candidate operation are safe metadata, not proof of provider connectivity. Source repeatable-read transaction and final authority recheck.

Access: browserSession

Current AppPortal audience user, active user/organization/membership, current effective OrgAdmin and authorized Enterprise custom offering ByoDatabase entitlement. Current authority rechecked across source awaits. Actor/roles never accepted from request body/header. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (query, optional)
Optional exact app ID, max1024; absent means organization default.
{
  "type": "string",
  "maxLength": 1024
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingScope"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/api/organization/app-data-bindings/test-connection

Probe the existing authorized app-data connection

No query parameters. Point-in-time network/authentication probe only; not schema, retained-data or write-access certification. Existing authorized binding credentials remain server-side. No new credentials, provider creation or migration is implied.

Access: browserSession + csrfToken

Current AppPortal audience user, active user/organization/membership, current effective OrgAdmin and authorized Enterprise custom offering ByoDatabase entitlement. Current authority rechecked across source awaits. Actor/roles never accepted from request body/header. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDataBindingConnectionResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/api/organization/regulated-workload

Read selected customer regulated-workload evidence

Only optional appId; valid trimmed identifier max200. Durable policy/binding/acknowledgement evidence, not certification that stored credentials remain usable.

Access: browserSession

Current authorized customer organization/account administrator under IRegulatedWorkloadCustomerAuthorization plus source-owned regulated-workload policy; customer attestation cannot approve/revoke a staff agreement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (query, optional)
Optional exact app selection max200.
{
  "type": "string",
  "maxLength": 200
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreRegulatedWorkloadStatus"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/api/organization/regulated-workload/acknowledgements

Record explicit customer regulated-storage attestation

Required untrimmed single Idempotency-Key max200; no query parameters. Strict case-sensitive JSON object max8192bytes/depth8, required constructor members and no unknown/duplicate fields. Frozen scoped command replay/CAS current policy/binding revisions;409 conflict must be reconciled. Customer acknowledgement is not staff approval or independent cloud-ownership verification.

Access: browserSession + csrfToken

Current authorized customer organization/account administrator under IRegulatedWorkloadCustomerAuthorization plus source-owned regulated-workload policy; customer attestation cannot approve/revoke a staff agreement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One trimmed, nonempty bounded command key max200; surrounding whitespace invalid.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreRegulatedStorageAcknowledgementReceipt"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/app-lifecycle

List application lifecycle states

Returns up to 25 visible apps with their recovery and deletion dates. Pass the returned cursor to read the next page.

Access: browserSession

Requires current organization administrator access. App grants and denials limit the result. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
cursor (query, optional)
Continuation from the same account and access selection.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreApplicationLifecyclePage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/apps

Read current visible app directory

No query returns the original array only after a bounded current-authority source query proves the whole authorized collection fits100; otherwise409 app_directory_pagination_required directs /apps?limit=25. Query-bearing requests accept only one limit/cursor/search. Page defaults25/max100, searchmax200; current-source user/membership/app grants and denials checked before and after. Current actor/selection/limit/search-bound protected keyset; unknown totalCount is preserved. This response bound is not an application resource quota.

Access: browserSession

Current selected account and actual current app visibility; browser authority derives from the authenticated session, not actor/role headers. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Explicit page size1..100 default25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque app-directory cursor; unchanged scope/current authority/filters required.
{
  "type": "string"
}
search (query, optional)
Optional literal app selection search, max200.
{
  "type": "string",
  "maxLength": 200
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDirectoryResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. app_directory_pagination_required: the legacy collection cannot be represented completely within100 authorized rows. No partial success or business resource quota. Read /apps?limit=25 and its unchanged continuation. This is the native read conflict; the browser session-changed response is 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": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoreProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "app_directory_pagination_required"
            }
          }
        }
      ]
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/apps

Create an application

Name nonblank; slug lowercase kebab-case and immutable app ID. Environments/targets must be valid unique scoped pairs; default environment semantics remain native. Current effective app allowance unavailable503, allowance exhausted402; duplicate/tombstonedslug409. Source transaction rechecks activation policy and offering declarations. This reference grants no activation/provider access.

Access: browserSession + csrfToken

Current account/app visibility; existing Admin or AppOwner role and classified operational policy. Route appId must match the authoritative selected app; hidden/foreign resources return404. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDirectoryEntry"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

DELETE/api/core/apps/{appId}

Delete selected application metadata

Existing role/policy/fences govern deletion and credential revocation; app slug tombstone prevents reuse. Success204 has no JSON body. This is not a new retained-history purge operation.

Access: browserSession + csrfToken

Current account/app visibility; existing Admin or AppOwner role and classified operational policy. Route appId must match the authoritative selected app; hidden/foreign resources return404. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/apps/{appId}

Read one selected app

directorySelection=1 performs current-source bounded directory selection; when present it is the sole query parameter. Otherwise legacy detail behavior remains. Missing or hidden app returns404. Response private no-store and canonical selected account header.

Access: browserSession

Current selected account and actual current app visibility; browser authority derives from the authenticated session, not actor/role headers. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact app ID.
{
  "type": "string"
}
directorySelection (query, optional)
Exactly1 selects the current-source authorized directory representation.
{
  "type": "string",
  "const": "1"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDirectoryEntry"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

PUT/api/core/apps/{appId}

Update an application

App ID/slug immutable. Omitted environment/target sets preserve existing values; provided sets replace after current scope and credential checks. Cannot remove environments with active credentials. Offering declaration conflicts409; no implicit retained telemetry move or environment-data deletion.

Access: browserSession + csrfToken

Current account/app visibility; existing Admin or AppOwner role and classified operational policy. Route appId must match the authoritative selected app; hidden/foreign resources return404. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppDirectoryEntry"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/apps/{appId}/eligibility-environments

Read current owner environment-purpose declarations

Owner-only fenced source read; purpose never inferred from environment names, SDK or traffic. Default50/max100. after is an existing exact environment ID(max256), not the generic protected cursor. Returns current/latest declaration snapshots and observedAt.

Access: browserSession

Current account/app visibility; existing Admin or AppOwner role and classified operational policy. Route appId must match the authoritative selected app; hidden/foreign resources return404. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}
limit (query, optional)
Default50/max100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 50
}
after (query, optional)
Exact previously returned environment ID, max256.
{
  "type": "string",
  "maxLength": 256
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreEnvironmentDeclarations"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/apps/{appId}/eligibility-environments/{environmentId}

Append an owner environment-purpose declaration

Declaration-only replay cannot overwrite app metadata. Existing mutation ID/revision/payload/scope CAS and current ownership are source-owned.409 offering_declaration_conflict includes retryWithFreshMutationId only when nonexecution is confirmed; do not guess a fresh key after an uncertain result.

Access: browserSession + csrfToken

Current account/app visibility; existing Admin or AppOwner role and classified operational policy. Route appId must match the authoritative selected app; hidden/foreign resources return404. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}
environmentId (path, required)
Exact existing environment ID.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreOfferingDeclarationReceipt"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

DELETE/api/core/apps/{appId}/icon

Remove the app icon

Requires application access and an Admin or App Owner role. Removing an already absent icon succeeds.

Access: browserSession + csrfToken

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
{
  "type": "string"
}

Responses

204
No app icon is set.
400
The request has no active organization.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  }
}
401
A Dashboard session is required.
403
A cross-site mutation or invalid CSRF token returns a problem body. The current role can cause a bodyless denial.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The icon changed during the operation. For upload, the storage destination may also have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/core/apps/{appId}/icon

Read the app icon

Returns the saved image for an app visible in the current organization.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
{
  "type": "string"
}

Responses

200
The stored image bytes. The response is private and must not be cached.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "const": "nosniff"
    }
  }
}
{
  "image/png": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/jpeg": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/webp": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  }
}
400
The request has no active organization.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "type": "string"
        }
      }
    }
  }
}
401
A Dashboard session is required.
404
The app or its icon is unavailable in the current organization.
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Refresh the workspace when the Dashboard session version changes.

Response headers

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

Link to this operation

PUT/api/core/apps/{appId}/icon

Upload or replace the app icon

Requires application access and an Admin or App Owner role. Send up to 2 MiB of raw PNG, JPEG, or WebP bytes. The API checks the bytes regardless of the declared media type.

Access: browserSession + csrfToken

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "image/png": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "image/jpeg": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "image/webp": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    },
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

204
The app icon was saved.
400
The submitted image is missing or unsupported, or the request has no active organization.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  }
}
401
A Dashboard session is required.
403
A cross-site mutation or invalid CSRF token returns a problem body. The current role can cause a bodyless denial.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The icon changed during the operation. For upload, the storage destination may also have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
The image exceeds 2 MiB.

Response headers

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

Link to this operation

GET/api/core/apps/{appId}/release-health

Read release-health summaries

Existing shared semantic rollup over the selected environment/deployment targets. Retain unknown/unsupported metric states and actual comparison denominators; no inferred current release health from missing samples.

Access: browserSession

Current app visibility, ManageReleases and valid selected observability scope. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Selected app ID.
{
  "type": "string"
}
from (query, optional)
Optional lower timestamp.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Optional upper timestamp.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReleaseHealthSummaries"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/apps/{appId}/releases

Read complete small release compatibility array

Original native descending compatibility array only when a SQL query proves complete selected source<=100 after target-set filtering. Otherwise409 release_pagination_required directs /apps/{appId}/releases/page?limit=25. No silent partial success or business resource cap.

Access: browserSession

Current selected app visibility, ManageReleases capability, valid observability selection and existing operational policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}
environment (query, optional)
Optional existing exact environment selection.
{
  "type": "string"
}
target (query, optional)
Optional deployment target.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReleaseArray"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. release_pagination_required: the legacy collection cannot be represented completely within100 authorized rows. No partial success or business resource quota. Read /apps/{appId}/releases/page?limit=25 with unchanged scope and selectors. This is the native read conflict; the browser session-changed response is 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": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoreProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "release_pagination_required"
            }
          }
        }
      ]
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/apps/{appId}/releases

Create a release

Environment, version and buildNumber required; notes max16000. Source validates concrete app environment/target. Optional keyed frozen create replay preserves existing receipt; keyless legacy create retained.409 conflicts must not be retried with a new command blindly.

Access: browserSession + csrfToken

Current selected app visibility, ManageReleases capability, valid observability selection and existing operational policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional single nonblank opaque key, at most 128 UTF-16 code units; the exact value is preserved. Repeated/control-bearing/malformed keys are invalid. Original 201/Location/body replays only for the same current user/account/app/action and request; changed content409. Omission retains legacy create behavior.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 128
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReleaseRecord"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/apps/{appId}/releases/page

Read selected release page

Protected current-authority release page; keep all selectors unchanged. Unknown totalCount remains unknown; invalid cursor400 and unavailable source503.

Access: browserSession

Current selected app visibility, ManageReleases capability, valid observability selection and existing operational policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (path, required)
Exact selected app ID.
{
  "type": "string"
}
environment (query, optional)
Optional existing exact environment selection.
{
  "type": "string"
}
target (query, optional)
Optional deployment target.
{
  "type": "string"
}
limit (query, optional)
Default25/max100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque subject/app/current-scope/environment/target/filter/limit-bound release continuation.
{
  "type": "string"
}
version (query, optional)
Exact app version.
{
  "type": "string"
}
build (query, optional)
Exact build number.
{
  "type": "string"
}
state (query, optional)
Existing release-state selector.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReleasePage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/apps/usage

Read loaded app launcher usage

windowDays clamps1..90(default30). Repeated appId selects1..100loaded IDs (max1024each) with no other query keys besides windowDays; current source-authorized subset is rechecked. Omitted appId (including windowDays-only) proves the current authorized app source fits100 before any provider fanout; otherwise409 launcher_pagination_required directs /apps?limit=25 then up to100loaded appId selections. Per-app source availability and all-time SDK activity distinguish never-connected/unavailable from verified zero.

Access: browserSession

Current selected account and actual current app visibility; browser authority derives from the authenticated session, not actor/role headers. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
windowDays (query, optional)
Window days, clamped1..90, default30.
{
  "type": "integer",
  "default": 30
}
appId (query, optional)
Repeated loaded app IDs,1..100 values.
{
  "type": "array",
  "minItems": 1,
  "maxItems": 100,
  "items": {
    "type": "string",
    "maxLength": 1024
  }
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreAppLauncherSummary"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. launcher_pagination_required: the legacy collection cannot be represented completely within100 authorized rows. No partial success or business resource quota. Read /apps?limit=25, then select up to100 loaded appId values before usage provider fanout. This is the native read conflict; the browser session-changed response is 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": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoreProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "launcher_pagination_required"
            }
          }
        }
      ]
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/assignees

Read complete small collaborator compatibility array

Bounded SQL proof at100. If another row exists,409 pagination_required directs callers to assignees/page; never a silent partial success. Complete small legacy result retains displayName/email case-insensitive order.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashAssignees"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/assignees/page

Read eligible crash collaborators

Current source permissions checked before and after the query. Protected live keyset order userId COLLATE C ascending; totalCount remains unknown. No broader user directory grant.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque current-authority/source/app/environment/platform/target/limit-bound keyset cursor, max8192.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashAssigneesPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/buckets

Read crash/error buckets

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set. Product-protected nextCursor binds the actor, collection and all query selectors.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashBucketsPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}

Read selected crash/error bucket

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
bucketId (path, required)
Exact visible bucket ID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashBucket"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}/activity

Read durable crash triage activity

Control-plane history can outlive telemetry retention. An active target/platform selector still requires visible bucket evidence. Closed one-value limit/cursor query; limit is a literal integer1..200, default200. Opaque continuation expires after30minutes and binds immutable subject, bucket path, current selected scope/grant claims, size and physical Business source. Forward unchanged; invalid, expired or changed selection400 requires refresh. Native occurred-at/id descending keysets survive boundary deletion and newer insertion; this is not a snapshot and totalCount is unknown. Activity is privacy-safe operator-authored metadata, not the raw diagnostic stream.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Exact bucket ID; owning alias reconciliation preserves history.
{
  "type": "string"
}
limit (query, optional)
Literal page size1..200; default200.
{
  "type": "integer",
  "default": 200,
  "minimum": 1,
  "maximum": 200
}
cursor (query, optional)
Opaque expiring durable activity continuation; keep selection unchanged.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashActivityPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}/impact

Read selected bucket impact

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
bucketId (path, required)
Exact visible bucket ID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashImpact"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/crashes/buckets/{bucketId}/issue

Create and link an issue through an existing connection

connectionId required. Uses configured app/provider target, current per-user GitHub authorization/scopes and privacy-safe aggregate issue payload. Existing linked issue409 includes existingIssueUrl/existingIssueId/historyReconciled extensions. Provider/auth-recovery or link persistence failures502 have distinct native recovery codes; do not blindly recreate an issue after uncertain external success.

Access: browserSession + csrfToken

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Additionally Admin, AppOwner or Developer; existing issue-connection/provider and actor authorization. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Exact visible bucket ID.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueLink"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
502
The configured upstream failed; actual management problem details preserve the native recovery 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/crashes/buckets/{bucketId}/issue-connection-request

Request configured issue-tracking access

Requires existing RequestNotificationsEnabled configuration; otherwise503. Required Idempotency-Key max200. Existing configured connection or no eligible manager recipient409. Existing cooldown429 with Retry-After. Accepted means durable manager notification request, not mail delivery or provider setup. No request JSON body.

Access: browserSession + csrfToken

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Exact visible bucket ID.
{
  "type": "string"
}
Idempotency-Key (header, required)
One valid request key max200.
{
  "type": "string"
}

Responses

202
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnectionRequestReceipt"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "integer",
      "minimum": 1
    },
    "description": "Existing cooldown seconds."
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/crashes/buckets/{bucketId}/notes

Append a crash triage note

Nonblank note max4000characters. Optional single nonempty Idempotency-Key max200 preserves exact durable note/audit receipt; same key/different note409. Keyless legacy behavior remains.

Access: browserSession + csrfToken

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Additionally Admin, AppOwner or Developer. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Exact visible bucket ID.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional same-command recovery key; max200.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashActivity"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}/occurrences/{crashId}/attachments

Read retained occurrence attachment manifest

Exact occurrence ReceivedAt/storage generation must be verified; unavailable generation is503. A valid occurrence without an attachment scope returns items[] and totalSizeBytes0. Current attachment metadata is not a successful malware/symbol processing claim.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Additionally Admin, AppOwner or Developer. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Selected visible bucket ID.
{
  "type": "string"
}
crashId (path, required)
Exact retained occurrence ID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashDiagnosticAttachments"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}/occurrences/{crashId}/attachments/{attachmentRef}

Download one retained diagnostic attachment

Streams the retained attachment content type/filename after exact occurrence/generation ownership proof. Range processing disabled; server-written bytes/outcome are measured, not asserted client receipt. Missing reference/scope returns404; unavailable generation503.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Additionally Admin, AppOwner or Developer. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Selected visible bucket ID.
{
  "type": "string"
}
crashId (path, required)
Exact retained occurrence ID.
{
  "type": "string"
}
attachmentRef (path, required)
Exact manifest attachment reference.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Content-Disposition": {
    "description": "Attachment disposition with server-generated/retained filename.",
    "schema": {
      "type": "string"
    }
  },
  "Content-Type": {
    "description": "Actual stored/export content type.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "*/*": {
    "schema": {
      "type": "string",
      "format": "binary",
      "description": "Exact retained attachment bytes; response Content-Type is the stored attachment type."
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}/occurrences/{crashId}/raw

Download sanitized retained occurrence envelope

JSON file download, credential scrubbed again on export; at most1MiB serialized bytes. This preserves retained identifiers under the existing diagnostic policy and is not a promise of anonymization or arbitrary raw provider access. Audited read with derived safe filename.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Additionally Admin, AppOwner or Developer. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Selected visible bucket ID.
{
  "type": "string"
}
crashId (path, required)
Exact retained occurrence ID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Content-Disposition": {
    "description": "Attachment disposition with server-generated/retained filename.",
    "schema": {
      "type": "string"
    }
  },
  "Content-Type": {
    "description": "Actual stored/export content type.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json; charset=utf-8": {
    "schema": {
      "$ref": "#/components/schemas/CoreSanitizedCrashEnvelope"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/crashes/buckets/{bucketId}/occurrences/{crashId}/story

Read occurrence and anchored session story

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set. Audited sensitive read. Session context is bounded and anchored by this exact visible occurrence; no independent analytics permission escalation.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Selected visible bucket ID.
{
  "type": "string"
}
crashId (path, required)
Exact retained occurrence ID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashOccurrenceStory"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
422
Retained report metadata or selected source cannot support this representation; no empty data 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/crashes/buckets/{bucketId}/workflow

Apply a crash bucket workflow command

Required valid Idempotency-Key max200. Owner/unassigned are mutually exclusive; owner max320. External issue fields cannot be changed through this endpoint. Durable reserved same-command replay and current bucket/evidence checks can return409 on conflict/abandonment;503 permits unchanged-command recovery.

Access: browserSession + csrfToken

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Additionally Admin or AppOwner, with current assignee policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
bucketId (path, required)
Exact visible bucket ID.
{
  "type": "string"
}
Idempotency-Key (header, required)
One bounded workflow command key; max200.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashBucket"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/crashes/occurrences

Read crash/error occurrences

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set. A bucketId or userId is required. Product cursor/window continuation preserves exact selected scope.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}
bucketId (query, optional)
Exact bucket ID; either this or userId is required.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashOccurrencesPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/overview

Read crash dashboard

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashDashboard"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/crashes/symbol-needs

Read the crash symbol recovery queue

Groups retained unresolved crash evidence by captured artifact identity, release and target. Only the listed single-value query selectors are accepted. Each page reads one retained source snapshot; the continuation advances a live group order, with unknown totalCount. An unavailable source or retention policy does not produce an empty page.

Access: browserSession

Current selected app visibility and ViewCrashes, verified before and after the audited read. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-AppId (header, required)
One selected app visible to the current account.
{
  "type": "string"
}
X-AppPortal-Environment (header, required)
One concrete environment for the selected app.
{
  "type": "string"
}
X-AppPortal-Platform (header, optional)
Optional selected telemetry platform.
{
  "type": "string"
}
X-AppPortal-DeploymentTarget (header, optional)
Optional selected deployment target.
{
  "type": "string"
}
from (query, optional)
Lower timestamp bound. The read cannot precede the resolved retention cutoff.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Upper timestamp bound; defaults to the observation time. Must be at or after from.
{
  "type": "string",
  "format": "date-time"
}
version (query, optional)
Filter by app version.
{
  "type": "string"
}
build (query, optional)
Filter by app build.
{
  "type": "string"
}
sessionId (query, optional)
Filter by exact session ID.
{
  "type": "string"
}
userId (query, optional)
Filter by exact opaque user ID.
{
  "type": "string"
}
sdkName (query, optional)
Filter by SDK name.
{
  "type": "string"
}
sdkVersion (query, optional)
Filter by SDK version.
{
  "type": "string"
}
limit (query, optional)
One literal integer between 1 and 100; defaults to 25.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque continuation bound to the current account, permission, source, selection and page size. Keep it and all selectors unchanged.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashSymbolNeedsPage"
    }
  }
}
400
symbol_queue_invalid: invalid scope, selector or unchanged 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility or capability denied. management_page_access_denied reports a failed current authority check by the queue.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
503
Source or retention is unavailable, changed, or could not be verified within the reader deadline. No empty queue 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/CoreProblem"
    }
  }
}

Link to this operation

GET/api/core/crashes/triage

Read ranked crash triage snapshot

Actual retained product crash/error projection. Preserve source status, incomplete/unknown measurements and retained raw evidence; a dependency failure is never an empty crash set. Ranked bounded triage snapshot; capture/coverage fields are not a complete-catalog count.

Access: browserSession

Current selected app visibility, ViewCrashes, valid observability selection and existing operational policy; no separate ViewAnalytics grant is required for the occurrence-anchored session story. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreCrashTriage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/intelligence/dashboards

Read eligible dashboard descriptors

Finite compiled dashboard descriptor vocabulary filtered by current entitlement and actual app capability; this is not an unbounded stored-entity catalog.

Access: browserSession

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreDashboardDescriptors"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/intelligence/dashboards/{dashboardKey}

Compose a selected diagnostic dashboard

Actual composer result with typed cards/tables/funnel/retention/availability semantics. Invalid funnel filters400; missing/disabled/hidden descriptor404.

Access: browserSession

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
dashboardKey (path, required)
Existing compiled descriptor key.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreDashboardResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/intelligence/dashboards/{dashboardKey}/export.csv

Export the selected composed dashboard as CSV

Existing DashboardCsvExporter text/csv projection of the exact composed dashboard; no background export job or provider capability is implied.

Access: browserSession

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
dashboardKey (path, required)
Existing compiled descriptor key.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "text/csv": {
    "schema": {
      "type": "string",
      "description": "Actual exported CSV text."
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/intelligence/views

Read saved diagnostic views

Existing advanced-bi and descriptor-specific authority. Query-bearing list only accepts limit/cursor, default25/max100; current source grants/entitlements rechecked and opaque continuation preserves selection. Query-free compatibility array is returned only after bounded SQL proves the whole currently authorized collection fits100; otherwise409 saved_view_pagination_required directs /intelligence/views?limit=25. Native original name ordering is preserved; no business resource quota.

Access: browserSession

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25/max100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque current subject/app/eligible-descriptor/limit continuation.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSavedViewsResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. saved_view_pagination_required: the legacy collection cannot be represented completely within100 authorized rows. No partial success or business resource quota. Read /intelligence/views?limit=25 and its unchanged continuation. This is the native read conflict; the browser session-changed response is 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": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CoreProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "saved_view_pagination_required"
            }
          }
        }
      ]
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/intelligence/views

Create a saved diagnostic view

Existing view/filter/dashboard entitlement validation; app/current-authority enforced. Optional Idempotency-Key preserves frozen source create receipt. Returns actual stored view, not a BI dashboard definition.

Access: browserSession + csrfToken

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Existing editor role policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional one bounded current core create-command key, max200.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSavedView"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

DELETE/api/core/intelligence/views/{viewId}

Delete one saved diagnostic view

Existing source visibility, version precondition and compare/exchange; stale412/concurrent409.204 bodyless success. BI saved definitions are excluded from this legacy view operation.

Access: browserSession + csrfToken

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Existing editor role policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
viewId (path, required)
Exact selected saved view ID.
{
  "type": "string"
}
If-Match (header, optional)
Existing optional strong current-version precondition.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/intelligence/views/{viewId}

Read one saved diagnostic view

No query parameters; viewId max1024. Rechecks current eligible descriptor keys and source authority before returning; foreign/hidden resource404. Advanced-bi entitlement required.

Access: browserSession

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
viewId (path, required)
Exact saved view ID, max1024.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSavedView"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/intelligence/views/{viewId}

Update a saved diagnostic view

Retains exact existing saved-view validation and compare/exchange. When If-Match is supplied it must be a single strong quoted current version; stale412, concurrent409 saved_view_changed. Does not replace a BI definition via the legacy view endpoint.

Access: browserSession + csrfToken

Current selected app visibility, ViewAnalytics, valid observability scope and existing dashboard-specific entitlement/capabilities; crash dashboard additionally requires ViewCrashes. Existing operational policy remains. Existing editor role policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
viewId (path, required)
Exact selected saved view ID.
{
  "type": "string"
}
If-Match (header, optional)
Existing optional strong current-version precondition.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSavedView"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/issue-connections

Read complete small issue-connection catalog

No query parameters. SQL limit+1 proof at100; overflow409 pagination_required guides the separate issue-connections/page contract. Current source permissions rechecked. Safe configuration/masked hints only, never secret-store references or raw credentials.

Access: browserSession

Current selected app visibility and current ViewCrashes OR ManageIssueConnections capability. Existing ChangeProviderConnection operational policy and browser session/selection checks remain. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnections"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/issue-connections

Create a selected app issue-tracker connection

GitHub uses the actor's retained AppPortal OAuth identity and catalog-validated repositories. A matching Idempotency-Key returns 201 with the same Location and the current authorized connection. Changed input returns 409 idempotency_conflict. If that connection was deleted, 409 issue_connection_removed ends the retry without recreating it. A 503 issue_connection_result_unavailable may be retried with the original key and input. The header is optional for all supported providers. identityChoices=page uses the provider-account page for identity choices. The reply excludes provider credentials.

Access: browserSession + csrfToken

Current selected app visibility and current ManageIssueConnections capability; existing ChangeProviderConnection operational policy. Per-user provider grant/selected identity is independently revalidated. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
identityChoices (query, optional)
Omit for compatible complete choices; exact page suppresses embedded choices and uses the provider-account page.
{
  "type": "string",
  "enum": [
    "page"
  ]
}
Idempotency-Key (header, optional)
One optional key of at most 200 characters for any supported provider, bound to the signed-in user and selected app scope.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnection"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
502
The configured upstream failed; actual management problem details preserve the native recovery 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

DELETE/api/core/issue-connections/{connectionId}

Delete one selected issue-tracker connection

Deletes only the existing current app-scoped connection and its associated server secret when present; audited. Success204 bodyless. Does not revoke arbitrary AppPortal identity provider accounts or delete external issues.

Access: browserSession + csrfToken

Current selected app visibility and current ManageIssueConnections capability; existing ChangeProviderConnection operational policy. Per-user provider grant/selected identity is independently revalidated. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
Exact selected app-scoped connection ID.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/issue-connections/{connectionId}/authorize

Prepare existing non-GitHub provider OAuth authorization

Only an existing per-user OAuth connection can authorize; GitHub deliberately directs users to retained AppPortal provider-connections start instead. Return URL must be an approved Dashboard URL. Single-use server state binds original user/selected organization/session and PKCE; no secret or code is returned here. Missing OAuth runtime configuration500, invalid request400, hidden connection404.

Access: browserSession

Current selected app visibility and current ViewCrashes OR ManageIssueConnections capability. Existing ChangeProviderConnection operational policy and browser session/selection checks remain. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
Exact existing app connection ID.
{
  "type": "string"
}
returnUrl (query, optional)
Optional approved Dashboard return URL.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueAuthorizeUrl"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
500
The existing operation could not resolve required server configuration; preserve its native error code and do not invent credentials.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/issue-connections/{connectionId}/catalog-entry

Read a saved issue connection

Requires a current session and permission to view crashes or manage issue connections in the selected app. The connection must belong to the selected app and match the selected environment when one is supplied.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-AppId (header, required)
The selected application. The current session must have access to it.
{
  "type": "string"
}
X-AppPortal-Environment (header, optional)
Optionally limit the catalog to the selected application environment.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string",
  "minLength": 1,
  "maxLength": 512
}

Responses

200
The selected connection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnection"
    }
  }
}
400
Malformed query, selection or 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/DashboardPageProblem"
    }
  }
}
401
A Dashboard session is required.
403
The current user cannot read this catalog or the selected authority 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/DashboardPageProblem"
    }
  }
}
404
The connection is unavailable in the current selection.
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Reload the workspace after a session change.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/issue-connections/{connectionId}/me

Read the acting user's issue connection status

GitHub status comes from the actor's current retained provider authorization/required scopes, with independently selected providerConnectionId where supported. Other per-user providers retain their existing token status projection. Embedded available identities are complete<=100 or409; identityChoices=page omits them explicitly. Connected status is not an app permission grant.

Access: browserSession

Current selected app visibility and current ViewCrashes OR ManageIssueConnections capability. Existing ChangeProviderConnection operational policy and browser session/selection checks remain. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
Exact app-scoped connection ID.
{
  "type": "string"
}
providerConnectionId (query, optional)
Optional exact retained provider account selection.
{
  "type": "string"
}
identityChoices (query, optional)
Exact page omits embedded identity choices.
{
  "type": "string",
  "enum": [
    "page"
  ]
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnectionIdentity"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
502
The configured upstream failed; actual management problem details preserve the native recovery 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

PUT/api/core/issue-connections/{connectionId}/routing

Update catalog-validated issue routing

In-place routing upgrade only for existing GitHub connections. Concrete unique platform mappings and nonempty destinations are required; every repository must be available through the selected current per-user GitHub account. Uses existing identityChoices=page omission or complete<=100 legacy choices; provider failure502, invalid identity/targets400.

Access: browserSession + csrfToken

Current selected app visibility and current ManageIssueConnections capability; existing ChangeProviderConnection operational policy. Per-user provider grant/selected identity is independently revalidated. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
Exact app-scoped connection ID.
{
  "type": "string"
}
identityChoices (query, optional)
Exact page omits embedded identity choices.
{
  "type": "string",
  "enum": [
    "page"
  ]
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnection"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
502
The configured upstream failed; actual management problem details preserve the native recovery 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/issue-connections/github/repositories

Read a complete small GitHub repository catalog

Current acting-user retained GitHub OAuth grant and scopes. Legacy repositories/owners must each fit<=100; otherwise409 pagination_required directs repositories/page. Available identities similarly require complete<=100 or explicit identityChoices=page. Provider failure502 is not an empty catalog. source authorizationRequired/identitySelectionRequired remain explicit.

Access: browserSession

Current selected app visibility and current ManageIssueConnections capability; existing ChangeProviderConnection operational policy. Per-user provider grant/selected identity is independently revalidated. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
providerConnectionId (query, optional)
Optional selected current GitHub provider account.
{
  "type": "string"
}
identityChoices (query, optional)
Exact page omits embedded choices and points to the protected provider account page.
{
  "type": "string",
  "enum": [
    "page"
  ]
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreGitHubRepositoryCatalog"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
502
The configured upstream failed; actual management problem details preserve the native recovery 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/issue-connections/github/repositories/page

List GitHub repositories

Requires permission to manage issue connections in the selected app and environment. Uses the current linked GitHub account or the selected provider connection.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-AppId (header, required)
The selected application. The current session must have access to it.
{
  "type": "string"
}
X-AppPortal-Environment (header, required)
The selected application environment.
{
  "type": "string"
}
limit (query, optional)
Page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Continuation from the preceding page. Reuse the same app, account and page size.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
providerConnectionId (query, optional)
Optional linked GitHub account.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 512
}

Responses

200
A page of repositories, with the current GitHub connection status.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardGitHubRepositoryPage"
    }
  }
}
400
Malformed query, selection or 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/DashboardPageProblem"
    }
  }
}
401
A Dashboard session is required.
403
The current user cannot read this catalog or the selected authority 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/DashboardPageProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Reconnect the selected GitHub account if its authorization 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
502
GitHub could not confirm the page. Retry the 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": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  }
}
503
The catalog is temporarily unavailable. Retry the same request.

Response headers

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

Link to this operation

GET/api/core/issue-connections/oauth-availability

Read configured platform OAuth registrations

Finite supported provider enum filtered to configured platform registrations; Jira excluded by current source. Absence means no platform registration, not an invitation to use a different account or invent credentials.

Access: browserSession

Current selected app visibility and current ViewCrashes OR ManageIssueConnections capability. Existing ChangeProviderConnection operational policy and browser session/selection checks remain. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueOAuthAvailability"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/issue-connections/oauth/callback

Complete an existing provider OAuth authorization

Requires nonblank code/state unless provider returns error. Existing single-use state binds the original acting user, organization and BFF session; actor mismatch400, session change409, policy denial423. Existing connection/provider credentials resolved only server-side; token exchange failure502. No new role gate substitutes for state/session binding. Returns connected:true when no retained ReturnUrl, otherwise302 to the validated stored URL.

Access: browserSession

Existing signed-in browser actor must match original server-issued single-use OAuth state and current organization/session; original provider-connection operation policy is rechecked. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

code (query, optional)
Provider-issued short-lived authorization code; never log or persist in documentation.
{
  "type": "string"
}
state (query, optional)
Opaque existing single-use authorization state; never log.
{
  "type": "string"
}
error (query, optional)
Provider denial/error indicator.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreIssueConnected"
    }
  }
}
302
Successful existing flow redirects to its approved retained Dashboard return URL; no body contract.

Response headers

{
  "Location": {
    "description": "Previously validated Dashboard return URL.",
    "schema": {
      "type": "string",
      "format": "uri"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the current browser session or organization differs from the server-issued OAuth state. Restart authorization; no code exchange or token write is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
502
The configured upstream failed; actual management problem details preserve the native recovery 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/issue-connections/page

List issue connections

Requires a current session and permission to view crashes or manage issue connections in the selected app. Use the returned cursor to continue within the same selection.

Access: browserSession

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-AppId (header, required)
The selected application. The current session must have access to it.
{
  "type": "string"
}
X-AppPortal-Environment (header, optional)
Optionally limit the catalog to the selected application environment.
{
  "type": "string"
}
limit (query, optional)
Page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Continuation from the preceding page. Reuse the same app, account and page size.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
A scoped page of issue connections.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIssueConnectionPage"
    }
  }
}
400
Malformed query, selection or 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/DashboardPageProblem"
    }
  }
}
401
A Dashboard session is required.
403
The current user cannot read this catalog or the selected authority 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/DashboardPageProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Reload the workspace after a session change.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/logs

Read retained logs

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility, ViewLogs and valid observability selection. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreLogsPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/logs/{logId}

Read a retained log

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Raw product log ID or a valid subject/scope-bound protected log handle may be read; invalid protected handles return404.

Access: browserSession

Current selected app visibility, ViewLogs and valid observability selection. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
logId (path, required)
Exact log ID/handle.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreLog"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/onboarding/checklist

Read source-backed onboarding checklist

No query parameters. Current integration/invitation/alert/dashboard evidence and user/app preference, not client-declared success. Audited private no-store; ETag is quoted preference revision.

Access: browserSession

Current AppPortal-audience active user/account/app and source effective ViewAnalytics. Current app scope remains active and current authority is rechecked after source reads; no client-supplied completion or identity. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "ETag": {
    "description": "Quoted current preference revision.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreOnboardingChecklist"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/onboarding/checklist/dismissal

Dismiss or restore the current user's checklist

No query string. Exactly one lowercase dismissed boolean property; max256JSONbytes/depth2. Required one strong quoted nonnegative Int64 If-Match revision; maxInt64 invalid. Missing428, stale412. Changes only this authorized user/app visibility preference; actual completion remains source-owned.

Access: browserSession + csrfToken

Current AppPortal-audience active user/account/app and source effective ViewAnalytics. Current app scope remains active and current authority is rechecked after source reads; no client-supplied completion or identity. Existing ManageOrganization operational policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
If-Match (header, required)
One quoted current nonnegative preference revision.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "ETag": {
    "description": "Quoted saved preference revision.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreOnboardingPreference"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
428
The owning revision/precondition header is 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/onboarding/test-observation

Read one submitted SDK-test observation

Exactly two query keys: kind plus observation or recordId. kind is event/handled/fatal. observation allowed only for event and must be canonical lowercase GUID D; recordId nonblank/max512/no controls. Existing per-kind current telemetry permission rechecked. Retained observed status is not local-package/native hardware qualification.

Access: browserSession

Current active AppPortal user/account/app, valid concrete environment and actual capability required by the selected SDK-test kind, rechecked after read. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
kind (query, required)
Required event, handled or fatal.
{
  "type": "string",
  "enum": [
    "event",
    "handled",
    "fatal"
  ]
}
observation (query, optional)
Canonical GUID D event observation, mutually exclusive with recordId.
{
  "type": "string"
}
recordId (query, optional)
Exact retained record ID max512.
{
  "type": "string",
  "maxLength": 512
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSdkTestObservation"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/releases/{releaseId}/notes

Update release notes

Notes max16000characters; current source compare/exchange can return409 release_notes_conflict. The response is the actual current release with saved notes.

Access: browserSession + csrfToken

Current selected app visibility, ManageReleases capability, valid observability selection and existing operational policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
releaseId (path, required)
Exact selected release ID.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReleaseRecord"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

POST/api/core/releases/{releaseId}/transition

Apply an allowed release state transition

toState must be a defined state and transition must satisfy existing ReleaseLifecycle. Invalid transition400; unavailable source release404. No inferred dev/staging/production promotion capability.

Access: browserSession + csrfToken

Current selected app visibility, ManageReleases capability, valid observability selection and existing operational policy. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
releaseId (path, required)
Exact selected release ID.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReleaseRecord"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/catalog

Read current product BI query catalog

Actual product measure/dimension/template/capability catalog. Exactly one model=structured selects structured form. This documents source capabilities, not an entitlement or current-data availability grant.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
model (query, optional)
Use structured for structured capability representation.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiCatalog"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/dashboards

Read saved BI dashboards

Live source definitions, not an atomic cross-page snapshot. Unsupported saved definitions return409 rather than silently disappear. Only limit/cursor; current source access rechecked.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25/range1..50.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 50,
  "default": 25
}
cursor (query, optional)
Opaque actor/app/environment/platform/target/limit-bound live keyset cursor.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiDashboardPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/reporting/v1/dashboards

Create a saved BI dashboard

JSON definition max65536bytes/depth24; duplicate properties rejected. Existing validator requires schema1 or2, nonblank name,1..90dayrange and1..12 uniquely named supported widgets. Schema2 supports configured typed series/funnel/geography; visualization and query combinations are validated, and stacks require disjoint additive counts. Optional Idempotency-Key preserves frozen create receipt. No provider activation or query execution implied.

Access: browserSession + csrfToken

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Additionally Admin or AppOwner. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional single bounded current core create-command key, max200.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiDashboardResource"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

DELETE/api/core/reporting/v1/dashboards/{dashboardId}

Delete one saved BI dashboard

Required current strong If-Match; missing428/stale412/concurrent409. Success204 has no body, and only the selected saved definition is deleted.

Access: browserSession + csrfToken

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Additionally Admin or AppOwner. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact selected dashboard ID.
{
  "type": "string"
}
If-Match (header, required)
Required current version.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
428
The owning revision/precondition header is 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/dashboards/{dashboardId}

Read one saved BI dashboard

Only optional revision query. A revision different from current opaque version returns409. Actual strong quoted ETag contains current version; hidden/wrong-app resource404, unsupported definition409.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact current saved dashboard ID.
{
  "type": "string"
}
revision (query, optional)
Optional exact current version from the selected saved dashboard.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "ETag": {
    "description": "Opaque saved dashboard version.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiDashboardResource"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

PUT/api/core/reporting/v1/dashboards/{dashboardId}

Replace a saved BI dashboard definition

Same bounded JSON definition validation as create. Required strong quoted If-Match of current version; missing428, stale412, concurrent409. Unsupported prior definition is409 and is not overwritten.

Access: browserSession + csrfToken

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Additionally Admin or AppOwner. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact selected dashboard ID.
{
  "type": "string"
}
If-Match (header, required)
Required strong quoted current version.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "ETag": {
    "description": "New saved dashboard version.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiDashboardResource"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
428
The owning revision/precondition header is 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/dashboards/{dashboardId}/widgets/{widgetId}/query

Read a legacy saved dashboard widget

Read-only execution of the exact stored widget definition. Only from/to/dashboardVersion accepted once; callers cannot override measure/filter/account. Current original revision/access rechecked after provider read; changed409, hidden404. Legacy schema1 remains separate from structured schema2.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact saved dashboard ID.
{
  "type": "string"
}
widgetId (path, required)
Exact widget ID from the stored definition.
{
  "type": "string"
}
from (query, required)
Required explicit offset start.
{
  "type": "string",
  "format": "date-time"
}
to (query, required)
Required explicit offset end, later than from; max90days.
{
  "type": "string",
  "format": "date-time"
}
dashboardVersion (query, required)
Required original saved dashboard revision.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiQueryResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/reporting/v1/dashboards/{dashboardId}/widgets/{widgetId}/query

Read a structured saved dashboard widget

Read-only execution of the exact stored widget query. No query string. Strict JSON from/to/dashboardVersion only, max65536bytes/depth16; caller query/authority overrides rejected. Current saved revision/scope/access rechecked after provider work; role-scoped link grants no new permission. No share grant or embedding activation.

Access: browserSession + csrfToken

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact saved dashboard ID.
{
  "type": "string"
}
widgetId (path, required)
Exact widget ID from the stored definition.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiStructuredQueryResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
422
Retained report metadata or selected source cannot support this representation; no empty data 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/embeds/{dashboardId}

Navigate to an authenticated read-only dashboard frame

Same-site authenticated read-only source boundary; not an anonymous/public link, export grant, cross-site integration or customer activation. Exact query selectors revision and environment required; platform and target optional, no duplicates or extras. Caller app/account headers convey no authority. Errors use generic unavailable data with frame-ancestors none, private no-store, nosniff and no-referrer. Unknown authority must clear cached sensitive content, not become zero or stale success. Only exact GET document/iframe navigation bootstraps the nonsecret session correlation hash without its normal header; adjacent data routes retain the normal version/CSRF fences. Browser Fetch Metadata is required. Successful CSP frame-ancestors comes exclusively from exact HTTPS operator origins/explicit self. Cookies and SameSite are unchanged. The fixed versioned loader permits only the dedicated same-origin production MPA entry; missing/stale entry fails closed, never the normal editor App.

Access: browserSession

Actual Dashboard opaque cookie plus validated Product user in that session's account; agent, S2S and development bearer alone are denied. App is derived exclusively from the saved dashboard. Fresh persisted session, active user/account/app, current effective ViewAnalytics and portfolio-dashboards entitlement, concrete directory selectors and original revision are rechecked before and after reads. Operator account policy defaults deny; established trusted HTTPS Dashboard source URL supplies origin, optional explicit PublicOrigin must match, and invalid/conflicting sources deny. Request Host/forwarded headers never define browser authority. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

dashboardId (path, required)
Exact saved dashboard ID; conveys no access.
{
  "type": "string"
}
revision (query, required)
Required fixed saved dashboard version.
{
  "type": "string"
}
environment (query, required)
Required concrete environment in the stored dashboard's app.
{
  "type": "string"
}
platform (query, optional)
Optional supported telemetry platform.
{
  "type": "string"
}
target (query, optional)
Optional concrete target in the selected environment, or explicit unattributed bucket.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "text/html": {
    "schema": {
      "type": "string"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
Generic unavailable response for absent, hidden, changed, invalid or disabled scope. No resource name or authority is disclosed.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "const": "Dashboard unavailable."
        }
      }
    }
  }
}
409
Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/embeds/{dashboardId}/state

Recheck the original dashboard frame authority

Same-site authenticated read-only source boundary; not an anonymous/public link, export grant, cross-site integration or customer activation. Exact query selectors revision and environment required; platform and target optional, no duplicates or extras. Caller app/account headers convey no authority. Errors use generic unavailable data with frame-ancestors none, private no-store, nosniff and no-referrer. Unknown authority must clear cached sensitive content, not become zero or stale success. Requires the document's exact X-AppPortal-Session-Version; never adopt a changed cookie version. The frame checks visible authority at most 30 seconds between heartbeats and on focus/visibility; this is bounded revalidation, not instantaneous server push. Hidden or invalidated frames clear sensitive data. The same-origin channel carries only the literal invalidate and grants nothing.

Access: browserSession

Actual Dashboard opaque cookie plus validated Product user in that session's account; agent, S2S and development bearer alone are denied. App is derived exclusively from the saved dashboard. Fresh persisted session, active user/account/app, current effective ViewAnalytics and portfolio-dashboards entitlement, concrete directory selectors and original revision are rechecked before and after reads. Operator account policy defaults deny; established trusted HTTPS Dashboard source URL supplies origin, optional explicit PublicOrigin must match, and invalid/conflicting sources deny. Request Host/forwarded headers never define browser authority. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact saved dashboard ID; conveys no access.
{
  "type": "string"
}
revision (query, required)
Required fixed saved dashboard version.
{
  "type": "string"
}
environment (query, required)
Required concrete environment in the stored dashboard's app.
{
  "type": "string"
}
platform (query, optional)
Optional supported telemetry platform.
{
  "type": "string"
}
target (query, optional)
Optional concrete target in the selected environment, or explicit unattributed bucket.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiEmbedState"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
Generic unavailable response for absent, hidden, changed, invalid or disabled scope. No resource name or authority is disclosed.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "const": "Dashboard unavailable."
        }
      }
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/reporting/v1/embeds/{dashboardId}/widgets/{widgetId}/query

Read one stored dashboard frame widget

Same-site authenticated read-only source boundary; not an anonymous/public link, export grant, cross-site integration or customer activation. Exact query selectors revision and environment required; platform and target optional, no duplicates or extras. Caller app/account headers convey no authority. Errors use generic unavailable data with frame-ancestors none, private no-store, nosniff and no-referrer. Unknown authority must clear cached sensitive content, not become zero or stale success. Strict bounded JSON from/to/dashboardVersion only. Requires normal fixed document version and matching readable CSRF cookie/header. Executes the exact stored widget through existing aggregate/source fences and returns typed unavailable states under fresh authority; no editor, schedule, recipient or export actions.

Access: browserSession + csrfToken

Actual Dashboard opaque cookie plus validated Product user in that session's account; agent, S2S and development bearer alone are denied. App is derived exclusively from the saved dashboard. Fresh persisted session, active user/account/app, current effective ViewAnalytics and portfolio-dashboards entitlement, concrete directory selectors and original revision are rechecked before and after reads. Operator account policy defaults deny; established trusted HTTPS Dashboard source URL supplies origin, optional explicit PublicOrigin must match, and invalid/conflicting sources deny. Request Host/forwarded headers never define browser authority. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dashboardId (path, required)
Exact saved dashboard ID; conveys no access.
{
  "type": "string"
}
revision (query, required)
Required fixed saved dashboard version.
{
  "type": "string"
}
environment (query, required)
Required concrete environment in the stored dashboard's app.
{
  "type": "string"
}
platform (query, optional)
Optional supported telemetry platform.
{
  "type": "string"
}
target (query, optional)
Optional concrete target in the selected environment, or explicit unattributed bucket.
{
  "type": "string"
}
widgetId (path, required)
Exact widget ID from the saved definition.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiStructuredQueryResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
Generic unavailable response for absent, hidden, changed, invalid or disabled scope. No resource name or authority is disclosed.
{
  "application/json": {
    "schema": {
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "const": "Dashboard unavailable."
        }
      }
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/platforms

Read reporting platforms dataset

SchemaVersion1 typed REST report with metric/unit/denominator provenance, observedAt and actual rowCount. Explicit timestamps required, from<to, max90days. Only from/to/limit/cursor accepted once. Summary metrics retain their actual units; platform dataset is ranked20plus explicit __remaining_platforms__ row when needed. Total rows describe this report representation, not all raw events.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
from (query, required)
Required explicit offset timestamp.
{
  "type": "string",
  "format": "date-time"
}
to (query, required)
Required explicit offset timestamp, later than from; window max90days.
{
  "type": "string",
  "format": "date-time"
}
limit (query, optional)
Default100; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}
cursor (query, optional)
Opaque report/subject/app/environment/platform/target/window/limit-bound cursor. Changed source selection returns400, never a silently partial report.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReportingDatasetPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/query

Execute a legacy catalog BI query

Only from/to/measure/dimension/version/limit/compare accepted once. Explicit offset window max90days. Supported dimensions require sessions and no comparison. Preserve actual metric state, unit, denominator and unavailable reasons; unknown is not zero.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
from (query, required)
Required explicit offset timestamp.
{
  "type": "string",
  "format": "date-time"
}
to (query, required)
Required explicit offset timestamp, later than from; window max90days.
{
  "type": "string",
  "format": "date-time"
}
measure (query, required)
Existing catalog key/selection; measure required, version max128.
{
  "type": "string"
}
dimension (query, optional)
Existing catalog key/selection; measure required, version max128.
{
  "type": "string"
}
version (query, optional)
Existing catalog key/selection; measure required, version max128.
{
  "type": "string"
}
compare (query, optional)
Only previous or omitted; previous comparison requires ungrouped measure.
{
  "type": "string"
}
limit (query, optional)
Ranked group count default10/range1..20; grouping only supported catalog combinations.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 20,
  "default": 10
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiQueryResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

POST/api/core/reporting/v1/query

Execute a structured product BI query

No query string. JSON object at most65536bytes/depth16; case-insensitive duplicate properties and unknown members rejected. Actual compiler validates selected measure/filter/grouping/offset window and source capabilities; response metric states remain typed, not fabricated available values. Typed UTC series are bounded to 512 intersected buckets (5/15/60/1440 minutes), ordered funnels to 2–8 steps and 1–720 conversion hours, and coarse geography to 300 countries/12 cities with explicit unknown counts. Generic rows remain limit-bounded independently of typed payloads. This is an existing read operation, not a new analytics write.

Access: browserSession + csrfToken

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreBiStructuredQueryResult"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
422
Retained report metadata or selected source cannot support this representation; no empty data 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/CoreProblem"
    }
  }
}
423
Current account operational policy denies this classified operation.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-links/{jobId}

Read bytes for an authenticated Portal report viewer

No app/environment headers or query are needed. The Portal viewer bootstraps its authenticated session and supplies the Dashboard BFF's current X-AppPortal-Session-Version header; a raw API anchor is not a replacement for that flow. Account and user come exclusively from the validated Product bearer; the stored report selector and current report/source permissions are resolved and rechecked. Private no-store inline bytes with actual-byte accounting.

Access: browserSession

Validated Product user and token account, current report View permission and that recipient's own current stored-selector/source/BI authority; never creator privilege, SDK identity or public URL authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Cache-Control": {
    "description": "Private report bytes are never cached.",
    "schema": {
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "const": "nosniff"
    }
  },
  "Content-Security-Policy": {
    "description": "Sandboxed inline report content.",
    "schema": {
      "const": "default-src 'none'; sandbox"
    }
  }
}
{
  "application/pdf": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "text/markdown; charset=utf-8": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "text/csv; charset=utf-8": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "application/json": {
    "schema": {
      "type": "string",
      "format": "binary"
    },
    "x-appportal-decoded-json-schema": {
      "$ref": "#/components/schemas/CoreReportDocument"
    },
    "x-appportal-max-artifact-bytes": 2000000
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-recipient-lists

Discover account report recipient lists

Bounded account-scoped summary catalog under current actor source/BI authority. Current steward determines canManage; names do not grant report/source access. Preserve nextAfter.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
after (query, optional)
Original GUID-D keyset continuation; unknown/duplicate query keys rejected. Empty visible page can retain nextAfter; no total count is implied.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportRecipientListPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-recipient-lists/{listId}

Read a managed recipient list

No query. Current list steward only; members are exact Portal users/groups, not mailbox addresses or SDK users.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
listId (path, required)
Stable client-chosen GUID; expectedVersion0 creates, otherwise current version is required.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportRecipientList"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

PUT/api/core/reporting/v1/report-recipient-lists/{listId}

Apply a reusable report recipient list

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Exact preview confirmation and current list stewardship/version/management eligibility required. Current live membership is resolved at use; changing a list cannot confer underlying app/BI permission.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
listId (path, required)
Stable client-chosen GUID; expectedVersion0 creates, otherwise current version is required.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}
X-AppPortal-Report-Confirmation (header, required)
Exact original five-minute preview token binding owner/scope/action/key/body; completed original receipts may replay after expiry with current authority.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportRecipientList"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

POST/api/core/reporting/v1/report-recipient-lists/{listId}/preview

Preview a reusable recipient list

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. At most100 exact user/group members, max160-character name; aliases/external addresses and nested lists are not accepted. No state change.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
listId (path, required)
Stable client-chosen GUID; expectedVersion0 creates, otherwise current version is required.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportRecipientListPreview"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-recipient-lists/{listId}/principals

Find named reusable-list members

Only kind/limit/search/after, each supplied once. kind defaults to user and accepts exactly user or group. search is a nonblank literal display-name substring, at most 160 characters and no control characters; SQL wildcard characters remain literal. after is a protected opaque continuation, at most 8,192 characters, bound to current actor/account/target/selected scope/kind/search for 30 minutes. Tampered, expired or rebound continuations return400 report_page_invalid; retain exact selection and do not interpret the token as an identity or access grant. Returns only kind/id/displayName/hasSourceAccess/canSteward plus nextAfter. No mailbox, role, roster or credential fields. Users are active current-account members with point-in-time source eligibility; groups have hasSourceAccess:null and canSteward:false. Names and eligibility observations never grant app/report access; apply and delivery independently recheck current authority. This list-member picker always returns canSteward:false. A prospective client-chosen list GUID may be used only under current list-creation eligibility; it is not a read grant to another list.

Access: browserSession

Explicit ProductTransportEnabled opt-in; Product user and current selected source/BI authority. Existing lists additionally require current stewardship; a new list requires current account management eligibility. No global Identity directory access is added. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
listId (path, required)
Current managed list GUID or the prospective client-chosen GUID for a new list.
{
  "type": "string"
}
kind (query, optional)
Exact user or group selection; default user.
{
  "type": "string",
  "enum": [
    "user",
    "group"
  ],
  "default": "user"
}
limit (query, optional)
One decimal integer, default 25; range 1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
search (query, optional)
Optional nonblank literal display-name substring; no control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 160
}
after (query, optional)
Protected actor/target/selector-bound continuation; not a raw user/group ID or the GUID report-list cursor.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportPrincipalPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-schedules

Read private report schedules

Bounded account live keyset page filtered by current report View and source permission and exact selected scope. Configuration does not prove a worker ran, a report generated or a message delivered.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
after (query, optional)
Original GUID-D keyset continuation; unknown/duplicate query keys rejected. Empty visible page can retain nextAfter; no total count is implied.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportSchedulePage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/report-schedules

Apply the exact reviewed report schedule

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Required original confirmation. Current mutation eligibility and source version rechecked; completed replay may return after proof expiry. Does not enable a worker/provider or create arbitrary-recipient authority.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}
X-AppPortal-Report-Confirmation (header, required)
Exact original five-minute preview token binding owner/scope/action/key/body; completed original receipts may replay after expiry with current authority.
{
  "type": "string"
}

Request body

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

Responses

201
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportSchedule"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-schedules/{reportId}/sharing

Read report stewardship and permissions

Immutable author and current named steward are distinct. effectivePermissions is the current actor's numeric flag intersection: View1, Edit2, ManageSharing4, ManageSchedules8, Export16. Non-steward Export also requires allowOfflineExports. Replay receipts retain their original observation; reload before a new action.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact account report job or schedule GUID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportGovernance"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

PUT/api/core/reporting/v1/report-schedules/{reportId}/sharing

Apply exact reviewed stewardship and permissions

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Original preview proof, current ManageSharing and management operational eligibility required. Current replacement steward's own source/automation authority is rechecked. Transfer preserves author/account/artifacts, invalidates running claims and refuses sending/unknown delivery retargeting. Does not start a schedule or send a report.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact account report job or schedule GUID.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}
X-AppPortal-Report-Confirmation (header, required)
Exact original five-minute preview token binding owner/scope/action/key/body; completed original receipts may replay after expiry with current authority.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportGovernance"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/report-schedules/{reportId}/sharing/preview

Preview report stewardship or audience changes

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Required expectedVersion>=1, current report access and exact selected scope. Apply independently requires ManageSharing. At most100 unique subject-kind/ID rules; numeric permissions combine View1, Edit2, ManageSharing4, ManageSchedules8, Export16, always including View and no other bits. Rules select exact active Portal users, live Portal groups or reusable account lists (list ID uses GUID-N). receiveReports chooses the delivery audience independently of permissions; corporate aliases are never expanded.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact account report job or schedule GUID.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportGovernancePreview"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-schedules/{reportId}/sharing/principals

Find named report audience or steward candidates

Only kind/limit/search/after, each supplied once. kind defaults to user and accepts exactly user or group. search is a nonblank literal display-name substring, at most 160 characters and no control characters; SQL wildcard characters remain literal. after is a protected opaque continuation, at most 8,192 characters, bound to current actor/account/target/selected scope/kind/search for 30 minutes. Tampered, expired or rebound continuations return400 report_page_invalid; retain exact selection and do not interpret the token as an identity or access grant. Returns only kind/id/displayName/hasSourceAccess/canSteward plus nextAfter. No mailbox, role, roster or credential fields. Users are active current-account members with point-in-time source eligibility; groups have hasSourceAccess:null and canSteward:false. Names and eligibility observations never grant app/report access; apply and delivery independently recheck current authority. Steward eligibility additionally checks current automation authority for a schedule.

Access: browserSession

Explicit ProductTransportEnabled opt-in; Product user only, current target ManageSharing and each actor's own current selected source/BI authority. No global Identity directory role or new permission is acquired. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact current account report job or schedule GUID.
{
  "type": "string"
}
kind (query, optional)
Exact user or group selection; default user.
{
  "type": "string",
  "enum": [
    "user",
    "group"
  ],
  "default": "user"
}
limit (query, optional)
One decimal integer, default 25; range 1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
search (query, optional)
Optional nonblank literal display-name substring; no control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 160
}
after (query, optional)
Protected actor/target/selector-bound continuation; not a raw user/group ID or the GUID report-list cursor.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportPrincipalPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/report-schedules/{scheduleId}

Read one private report schedule

No query. Current report View and exact selected source authority required; foreign/hidden/mismatched resource404.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
scheduleId (path, required)
Exact account schedule GUID under the current actor's report and source permissions.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportSchedule"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

PUT/api/core/reporting/v1/report-schedules/{scheduleId}/state

Apply exact reviewed schedule enablement

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Original exact confirmation and current ManageSchedules permission required; version/source/operation policy rechecked. Enable also requires current automation eligibility. No new send or artifact deletion.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
scheduleId (path, required)
Exact account schedule GUID under the current actor's report and source permissions.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}
X-AppPortal-Report-Confirmation (header, required)
Exact original five-minute preview token binding owner/scope/action/key/body; completed original receipts may replay after expiry with current authority.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportSchedule"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/report-schedules/{scheduleId}/state/preview

Preview versioned schedule enablement

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Required expectedVersion>=1. Current schedule/source eligibility required; disable uses existing safety-control policy. No state change on preview.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
scheduleId (path, required)
Exact account schedule GUID under the current actor's report and source permissions.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportStatePreview"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/report-schedules/preview

Preview a private report schedule

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Current Admin/AppOwner mutation eligibility required. Validates actual source, recurrence/IANA zone/local time and returns five-minute exact confirmation. Channel availability is point-in-time and is not a send or a delivery grant.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportSchedulePreview"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports

Read private report jobs

Bounded account live keyset page filtered by each actor's report/source permissions, filtered by exact current selectors. Empty is not failure; preserve nextAfter even if visible items are empty.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
after (query, optional)
Original GUID-D keyset continuation; unknown/duplicate query keys rejected. Empty visible page can retain nextAfter; no total count is implied.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportJobPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/reports

Generate or replay a private report

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Explicit source window must be positive, at most90days and not future.202 records a job, not generated bytes or delivery.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

202
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportJob"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{jobId}

Read private report job

No query. Foreign or mismatched resource404; current stored generation/artifact state does not imply any delivery.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportJob"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{jobId}/artifact

Retrieve authorized generated report bytes

No query. Rechecks explicit Export permission (and offline export policy for non-stewards), current source access and artifact expiry. Correct format MIME/private file headers/strong SHA256 ETag; no ranges. Server transfer is not proof of client receipt or email delivery.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "ETag": {
    "description": "Quoted lowercase exact artifact SHA256.",
    "schema": {
      "type": "string"
    }
  },
  "Content-Disposition": {
    "description": "Private safe attachment filename.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/pdf": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "text/markdown; charset=utf-8": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "text/csv; charset=utf-8": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "application/json": {
    "schema": {
      "type": "string",
      "format": "binary"
    },
    "x-appportal-decoded-json-schema": {
      "$ref": "#/components/schemas/CoreReportDocument"
    },
    "x-appportal-max-artifact-bytes": 2000000
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
410
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Response headers

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

Link to this operation

POST/api/core/reporting/v1/reports/{jobId}/cancel

Cancel one report job

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Required expectedVersion binds the selected job. Cancellation retains prior artifacts/receipts; retry retains the pinned original source/window.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportJob"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{jobId}/deliveries

Read private report delivery outcomes

No query. Current report View and the reader's own source authority required. Returns genuine aggregate channel/state/updatedAtUtc only; no recipient, provider ID or send action. Dispatch remains steward-owned. Empty recorded requests differs from503; accepted means provider acceptance, never confirmed recipient delivery.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportDeliveryStatuses"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/reports/{jobId}/retry

Explicitly retry one failed report

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Required expectedVersion binds the selected job. Cancellation retains prior artifacts/receipts; retry retains the pinned original source/window.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportJob"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{jobId}/usage

Read private report artifact observations

Exactly fromUtc/toUtc explicit offset timestamps with to>from. Current steward-owned job and source access required; a View grant alone does not expose accounting history. Observed lower bounds retain unknown coverage; no physical/provider/client-received byte claims.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}
fromUtc (query, required)
Required observation start.
{
  "type": "string",
  "format": "date-time"
}
toUtc (query, required)
Required observation end, later than start.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportArtifactUsage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{jobId}/view

View an authenticated report inline

No query. Current View permission and the viewer's own source access are required. Private no-store inline bytes, restrictive CSP and actual-byte accounting; no public link or export permission is implied.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
jobId (path, required)
Exact account report job GUID under the current actor's report and source permissions.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "Cache-Control": {
    "description": "Private report bytes are never cached.",
    "schema": {
      "const": "private, no-store"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "const": "nosniff"
    }
  },
  "Content-Security-Policy": {
    "description": "Sandboxed inline report content.",
    "schema": {
      "const": "default-src 'none'; sandbox"
    }
  }
}
{
  "application/pdf": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "text/markdown; charset=utf-8": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "text/csv; charset=utf-8": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "application/json": {
    "schema": {
      "type": "string",
      "format": "binary"
    },
    "x-appportal-decoded-json-schema": {
      "$ref": "#/components/schemas/CoreReportDocument"
    },
    "x-appportal-max-artifact-bytes": 2000000
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{reportId}/sharing

Read report stewardship and permissions

Immutable author and current named steward are distinct. effectivePermissions is the current actor's numeric flag intersection: View1, Edit2, ManageSharing4, ManageSchedules8, Export16. Non-steward Export also requires allowOfflineExports. Replay receipts retain their original observation; reload before a new action.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact account report job or schedule GUID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportGovernance"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

PUT/api/core/reporting/v1/reports/{reportId}/sharing

Apply exact reviewed stewardship and permissions

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Original preview proof, current ManageSharing and management operational eligibility required. Current replacement steward's own source/automation authority is rechecked. Transfer preserves author/account/artifacts, invalidates running claims and refuses sending/unknown delivery retargeting. Does not start a schedule or send a report.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact account report job or schedule GUID.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}
X-AppPortal-Report-Confirmation (header, required)
Exact original five-minute preview token binding owner/scope/action/key/body; completed original receipts may replay after expiry with current authority.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportGovernance"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/reporting/v1/reports/{reportId}/sharing/preview

Preview report stewardship or audience changes

No query string. Strict case-sensitive JSON object, max65536 UTF-8 bytes/depth24; unknown, missing required and case-insensitive duplicate properties rejected. querySchemaVersion omitted/null selects legacy1; explicit2 uses the current bounded structured BI query contract, and unknown versions are rejected. Saved schema2 pins report schema2; source windows and series bucket budgets are validated. Required single Idempotency-Key, max128, binds exact original bytes. Current authority is rechecked on replay; no new intent is inferred from a successful receipt. Required expectedVersion>=1, current report access and exact selected scope. Apply independently requires ManageSharing. At most100 unique subject-kind/ID rules; numeric permissions combine View1, Edit2, ManageSharing4, ManageSchedules8, Export16, always including View and no other bits. Rules select exact active Portal users, live Portal groups or reusable account lists (list ID uses GUID-N). receiveReports chooses the delivery audience independently of permissions; corporate aliases are never expanded.

Access: browserSession + csrfToken

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact account report job or schedule GUID.
{
  "type": "string"
}
Idempotency-Key (header, required)
One original exact command key, max128/no control characters.
{
  "type": "string"
}

Request body

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

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportGovernancePreview"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/{reportId}/sharing/principals

Find named report audience or steward candidates

Only kind/limit/search/after, each supplied once. kind defaults to user and accepts exactly user or group. search is a nonblank literal display-name substring, at most 160 characters and no control characters; SQL wildcard characters remain literal. after is a protected opaque continuation, at most 8,192 characters, bound to current actor/account/target/selected scope/kind/search for 30 minutes. Tampered, expired or rebound continuations return400 report_page_invalid; retain exact selection and do not interpret the token as an identity or access grant. Returns only kind/id/displayName/hasSourceAccess/canSteward plus nextAfter. No mailbox, role, roster or credential fields. Users are active current-account members with point-in-time source eligibility; groups have hasSourceAccess:null and canSteward:false. Names and eligibility observations never grant app/report access; apply and delivery independently recheck current authority. Steward eligibility additionally checks current automation authority for a schedule.

Access: browserSession

Explicit ProductTransportEnabled opt-in; Product user only, current target ManageSharing and each actor's own current selected source/BI authority. No global Identity directory role or new permission is acquired. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
reportId (path, required)
Exact current account report job or schedule GUID.
{
  "type": "string"
}
kind (query, optional)
Exact user or group selection; default user.
{
  "type": "string",
  "enum": [
    "user",
    "group"
  ],
  "default": "user"
}
limit (query, optional)
One decimal integer, default 25; range 1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
search (query, optional)
Optional nonblank literal display-name substring; no control characters.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 160
}
after (query, optional)
Protected actor/target/selector-bound continuation; not a raw user/group ID or the GUID report-list cursor.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportPrincipalPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/reports/inbox

Read the Portal staff report inbox

Bounded own-user link receipts with a private /reports/{jobId} Portal viewer href. The viewer handles login/session bootstrap before the authenticated byte-read API. Every read rechecks current selected source/report authority and artifact lifetime; removed grants/groups cannot retain access. nextAfter is a scan cursor, not a permission or total count. This is not SDK Message Center.

Access: browserSession

Explicit Reports:ProductTransportEnabled opt-in; Product audience user only, never MCP credentials. Current exact app/environment/platform/target, ViewAnalytics, account report permission and each actor's current source/entitlement/operational authority are rechecked. Browser ingress does not enable the worker or any provider. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Default25; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
after (query, optional)
Original GUID-D keyset continuation; unknown/duplicate query keys rejected. Empty visible page can retain nextAfter; no total count is implied.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProductReportInboxPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/reporting/v1/summary

Read reporting summary dataset

SchemaVersion1 typed REST report with metric/unit/denominator provenance, observedAt and actual rowCount. Explicit timestamps required, from<to, max90days. Only from/to/limit/cursor accepted once. Summary metrics retain their actual units; platform dataset is ranked20plus explicit __remaining_platforms__ row when needed. Total rows describe this report representation, not all raw events.

Access: browserSession

Current app visibility, ViewAnalytics, validated observability scope, portfolio-dashboards entitlement and actual BiDashboardReadAuthorization; current source authorization rechecked after data reads. Existing operational policy remains. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
from (query, required)
Required explicit offset timestamp.
{
  "type": "string",
  "format": "date-time"
}
to (query, required)
Required explicit offset timestamp, later than from; window max90days.
{
  "type": "string",
  "format": "date-time"
}
limit (query, optional)
Default100; range1..100.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}
cursor (query, optional)
Opaque report/subject/app/environment/platform/target/window/limit-bound cursor. Changed source selection returns400, never a silently partial report.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreReportingDatasetPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/rum/aggregate

Read RUM aggregates

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
kind (query, optional)
Optional source RUM kind.
{
  "type": "string"
}
groupByName (query, optional)
Group by marker name; defaultfalse.
{
  "type": "boolean",
  "default": false
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreRumAggregates"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/rum/markers/{markerId}

Read one retained RUM marker

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Query parameters are rejected. Marker ID max512, no control characters. Rechecks current source authority after read; no-store and audit.

Access: browserSession

Current RUM/telemetry-intake scope authorization and current capability for the marker kind. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
markerId (path, required)
Exact marker ID, max512 characters.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreRumMarker"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/sessions

Read observed sessions

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Audits observed-user access; fixed defaulted window continues unchanged.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSessionsPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/sessions/{sessionId}/story

Read retained session story

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Audited sensitive read. Incomplete retained report metadata is422, not an empty story.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
sessionId (path, required)
Exact retained session ID.
{
  "type": "string"
}
focusTimestamp (query, optional)
Optional story focus timestamp.
{
  "type": "string",
  "format": "date-time"
}
focusReferenceId (query, optional)
Optional exact focus reference.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSessionStory"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
422
Retained report metadata or selected source cannot support this representation; no empty data 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/CoreProblem"
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/sessions/breakdown

Read ranked session dimension

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Dimension must be a defined canonical SessionBreakdownDimension name (case-insensitive). limit clamps1..20, default8.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
dimension (query, required)
Defined SessionBreakdownDimension name.
{
  "type": "string"
}
limit (query, optional)
Binder accepts1..1000; owning ranked result then clamps1..20, default8.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000,
  "default": 8
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSessionBreakdown"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/sessions/engagement

Read session engagement

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSessionEngagement"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/sessions/geography

Read session geography

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreSessionGeography"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/telemetry/intake

Read reconciled telemetry intake snapshot

Bounded reconciled snapshot, not sequence high-watermark or an unbounded catalog. Preserve truncated, availability and snapshotToken. Matching If-None-Match returns bodyless304. Current authority is rechecked after source read; private no-store and audit.

Access: browserSession

Current TelemetryIntake authorization for selected app/environment/platform and kind. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
windowMinutes (query, optional)
One supported bounded snapshot window; default15.
{
  "type": "integer",
  "enum": [
    15,
    30,
    60
  ],
  "default": 15
}
kind (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
outcome (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
If-None-Match (header, optional)
Exact quoted snapshotToken from the prior response.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.

Response headers

{
  "ETag": {
    "description": "Quoted snapshotToken.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreTelemetryIntake"
    }
  }
}
304
Exact matching snapshot ETag; no response body.
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/telemetry/intake/{entryId}/destination

Resolve one retained intake destination

No source generation/authority fallback. Missing destination returns404; current authority rechecked, private no-store and audit.

Access: browserSession

Current TelemetryIntake authorization for selected app/environment/platform and kind. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
windowMinutes (query, optional)
One supported bounded snapshot window; default15.
{
  "type": "integer",
  "enum": [
    15,
    30,
    60
  ],
  "default": 15
}
kind (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
outcome (query, optional)
Existing TelemetryIntakeVocabulary/coordinate validation; unknown query keys and repeated values are rejected.
{
  "type": "string"
}
entryId (path, required)
GUID retained intake entry ID.
{
  "type": "string"
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreTelemetryIntakeDestination"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
404
The requested selected resource is unavailable: resource_not_found where completed by management middleware.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/core/users

Read observed user summaries

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. User search max256 characters; audited observed-user read.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreUsersPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

GET/api/core/users/devices

Read one user's observed device history

Existing browser representation over the resolved current app-data source. A valid empty result differs from source failure. These are product DTOs, not redacted agent objects. Requires usable nonblank userId; [REDACTED:user] is rejected, not interpreted as a real identity. Audited without placing user selectors in audit subjects.

Access: browserSession

Current selected app visibility and ViewAnalytics; validated environment/platform/target and observability entitlement. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
target (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
version (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
build (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sdkVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
sessionId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
userId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
search (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
minimumSeverity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
severity (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
status (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventType (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
eventName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModel (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
deviceModelIdentifier (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
osFamily (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
manufacturer (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
idiom (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
architecture (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
emulatorState (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
runtimeVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperName (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
wrapperVersion (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
installationId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
clientId (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
category (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
duration (query, optional)
Existing TelemetryQueryBinding selector; narrows the validated current app/environment selection. Unsupported source dimensions retain their native behavior.
{
  "type": "string"
}
from (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
One valid timestamp; owning endpoint/store resolves its existing default window, and from must precede to where validated.
{
  "type": "string",
  "format": "date-time"
}
foreground (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
crashedOnly (query, optional)
Existing optional boolean selector.
{
  "type": "boolean"
}
limit (query, optional)
One integer 1..1000; the selected provider applies its existing default/bound. Preserve this exact selector during continuation.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 1000
}
cursor (query, optional)
Opaque product continuation, maximum8192 characters. Bound to authenticated subject, collection, current scope and every query selector. Omitted/defaulted time bounds remain pinned to the original traversal; never use an agent/provider cursor.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreUserDevicesPage"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The selected source/current policy or dependency is unavailable; do not treat failure as verified empty data.

Response headers

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

Link to this operation

POST/api/core/v1/leads

Submit an existing sales contact lead

The owning public upstream is anonymous/CORS-restricted/IP-rate-limited with honeypot; this browser BFF route retains its normal session/CSRF boundary. Nonempty website honeypot is accepted but never stored. Optional keyed request returns accepted:true and durable same-payload replay; keyless actual receipt contains leadId. Keyless honeypot202 may be bodyless. Accepted is not email delivery or a sales agreement.

Access: No authentication credential.

Existing BFF browser session/CSRF/current scope; actual public lead handler retains CORS/rate/honeypot semantics without authorizing internal lead reads. Browser cookie/session and BFF CSRF/origin/current-selection checks remain separate; caller headers never supply actor or roles.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional one nonempty current submission key max200.
{
  "type": "string"
}

Request body

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

Responses

202
Actual browser endpoint representation, not an agent-sanitized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/CoreLeadAccepted"
    }
  }
}
400
Malformed/invalid scope, query, body, continuation or operation-specific validation. A native binder rejection may have 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/CoreProblem"
    }
  }
}
401
Current authenticated browser session required; the BFF may reject before upstream dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  }
}
403
Current visibility/capability, source permission or CSRF/origin requirement denied; no broader permission 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/CoreProblem"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native resource conflict or BFF session/current-selection conflict; inspect the operation-specific code before retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/CoreProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
The existing JSON body binder rejects the content type; no effect 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/CoreProblem"
    }
  }
}
429
The existing operation cooldown/request allowance/rate limit applies; no new limit is introduced by the reference.

Response headers

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

Response headers

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

Link to this operation

GET/api/download/audit-events

Read the bounded complete legacy audit-events collection

No query parameters. Returns the native array only when the full result fits 100 rows. Overflow is 400 pagination_required; use the corresponding /page route. Current source/authority failures are errors, never empty success.

Access: browserSession

Current selected account/app visibility and explicit environment plus deployment target; IssueArtifact operational policy; no management-role requirement on this audit read

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAuditEvents"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/audit-events/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current selected account/app visibility and explicit environment plus deployment target; IssueArtifact operational policy; no management-role requirement on this audit read

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAuditPage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/branding/{tenantId}/logo

Read the account's public logo bytes

Anonymous binary image response using stored inspected content metadata. No session, app or distribution entitlement is inferred. Missing logo is an empty 404, not JSON null or a ProblemDetails envelope. Preserves the existing public cacheable binary contract.

Access: No authentication credential.

Public branding bytes only; no private signing or membership projection

Parameters

tenantId (path, required)
Account identity for the public logo.
{
  "type": "string"
}

Responses

200
Actual stored image stream; no JSON wrapper.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "public, max-age=300"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  }
}
{
  "image/png": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/jpeg": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/webp": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  }
}
404
Logo absent; no response body.

Link to this operation

POST/api/download/branding/logo

Upload this account's logo

Multipart form upload: prefers the file field, otherwise the first uploaded file. Requires nonempty bytes at most 2 MiB; filename/content-type claims do not prove format. Existing service accepts inspected PNG, JPEG or WebP bytes. Keyless success and exact keyed replay return only ok:true. Keyed mode binds original bytes/current account actor and cannot overwrite a changed current logo; 409 branding_logo_command_conflict requires review, not a new automatic command. A logo upload is separate from artifact registration, signed upload/download URLs and native signing.

Access: browserSession + csrfToken

Current selected account; Admin or AppOwner; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional exact single already-trimmed 8-200 character key, no comma/control characters. Invalid input is 400 branding_logo_command_invalid. Preserve original bytes/key after unknown outcome.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}

Request body

{
  "required": true,
  "content": {
    "multipart/form-data": {
      "schema": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "description": "Nonempty inspected image, at most 2097152 bytes. The handler also accepts the first file if this field is absent."
          }
        }
      }
    }
  }
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementOk"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
File length exceeds 2 MiB; no body. Gateway/form-parser limits remain independent and do not imply storage success.
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/channels

Read the bounded complete legacy channels collection

No query parameters. Returns the native array only when the full result fits 100 rows. Overflow is 400 pagination_required; use the corresponding /page route. Current source/authority failures are errors, never empty success.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementChannels"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

POST/api/download/channels

Create a distribution group

Requires nonblank name and a lowercase kebab-case key. Name is trimmed; rank is the supplied integer. Existing key returns 409 distribution_group_exists, not another group. Reconciliation repairs the stable audit without claiming another creation. No Idempotency-Key contract is implemented here.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

201
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative resource identifier; does not declare another browser route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementChannel"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type; existing binder can reject before execution with 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/channels/{channelId}/artifacts/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementArtifactPage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/channels/{channelId}/eligible-members/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Optional literal case-insensitive email/display-name substring; already trimmed/control-free, wildcard characters escaped. Included in cursor selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementCandidatePage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/channels/{channelId}/members

Read complete group members or eligible account members

Legacy query eligible=true chooses currently active, non-denied account MembershipRecord rows; false or omission returns ReleaseChannelMember rows. The boolean binder rejects an invalid value. No limit/cursor/search parameters. Each result must be complete within 100 rows or returns 400 pagination_required.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
eligible (query, optional)
True selects eligible account memberships, not assigned group membership.
{
  "type": "boolean"
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DownloadManagementMembers"
        },
        {
          "$ref": "#/components/schemas/DownloadManagementEligibleMembers"
        }
      ]
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

POST/api/download/channels/{channelId}/members

Assign one active account member to this group

Only principalKind User with an active account membership is accepted; Team is a deserializable enum but rejected by this handler. Account/app denials are authoritative. No query returns the existing full ReleaseChannelMember array after mutation. Exactly representation=receipt returns the finite channelId/principalKind/principalId receipt instead; other query selections return 400 distribution_representation_invalid before mutation. Rehydrate pages after the finite receipt; it is not a total membership count.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
representation (query, optional)
Optional exact finite mutation receipt; omitted retains the legacy array.
{
  "type": "string",
  "enum": [
    "receipt"
  ]
}

Request body

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

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DownloadManagementMembers"
        },
        {
          "$ref": "#/components/schemas/DownloadManagementAssignedMember"
        }
      ]
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type; existing binder can reject before execution with 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

DELETE/api/download/channels/{channelId}/members/{userId}

Ensure one user's group membership is absent

Requires a current account-owned app group. Removal intent and completion are audited, including already-absent retries. A missing group is 404; an absent member remains successful 204. No JSON body or secret is returned.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; RevokeAccess operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
userId (path, required)
User whose direct group membership is removed; never a caller-selected authority grant.
{
  "type": "string"
}

Responses

204
Successful deletion; no response body.
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/channels/{channelId}/members/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementMemberPage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

POST/api/download/channels/{channelId}/share-link

Prepare a governed distribution navigation link and QR image

Body releaseId is optional (omission selects group navigation). Explicit configured environment and valid observability scope are required. A selected release must match the exact uploaded ready artifact already published to this group. Uses the configured Downloads origin and an approved active Smart Link binding. Existing deterministic destination/slug is reused, but disabled, expired, edited or old-binding links are never re-enabled or overwritten. Public URL and SVG data URL are navigation, not download entitlement, installation or publication. No arbitrary destination or proof/idempotency header is accepted by this handler.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy; explicit environment and valid observability scope

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
channelId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}

Request body

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

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementShareLink"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type; existing binder can reject before execution with 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/channels/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementChannelPage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/releases/{releaseId}/distribution

Read one release's distribution readiness

Requires an exact scoped release and its matching artifact. canDistribute=false and nullable unavailableReason retain current upload, package identity and signing readiness; they are not a native installation guarantee. Optional exact channelId tests assignment to that group; omission reads all assigned groups only when complete within 100, otherwise 400 pagination_required. This read does not publish anything.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
releaseId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
channelId (query, optional)
Optional one nonblank control-free group identity; extra/repeated selections are 400 distribution_selection_invalid. No limit/cursor on this representation.
{
  "type": "string",
  "maxLength": 512
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementDistribution"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

POST/api/download/releases/{releaseId}/distribution

Publish the exact ready release artifact to one group

Requires an uploaded artifact with matching version/build and scoped release identity, an existing app-owned group and passing ArtifactDistributionReadiness. Rejections retain artifact_upload_incomplete, release_artifact_identity_mismatch or artifact_signing_required/Windows signing code at 409. Successful 200 returns artifactId/channelId, not a signed URL, upload receipt, notification delivery or device install proof. Existing assignment semantics remain idempotent; no new Idempotency-Key header is required.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
releaseId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}

Request body

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

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementPublished"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type; existing binder can reject before execution with 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/releases/{releaseId}/distribution/channels/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current selected account/app visibility; Admin or AppOwner and ManageReleases capability; IssueArtifact operational policy

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
releaseId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementChannelPage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/signing/android-credentials

Read the bounded complete legacy signing/android-credentials collection

No query parameters. Returns the native array only when the full result fits 100 rows. Overflow is 400 pagination_required; use the corresponding /page route. Current source/authority failures are errors, never empty success.

Access: browserSession

Current account membership and Admin or AppOwner; ChangeProviderConnection operational policy; account-scoped, no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAndroidCredentials"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

POST/api/download/signing/android-credentials

Create a customer-owned android-credentials signing connection

Secret request material goes only to the existing secret store and is absent from every public response. Certificate/hint metadata is best effort, not Apple trust, signing validation or native install eligibility. Optional keyed mode binds current stable subject, original normalized request and physical data owner; exact replay returns the original public receipt still with 201, even after rename/deletion, without recreating secrets or records. Changed request/owner is 409 idempotency_key_conflict; unknown attempt is 503 signing_create_unavailable, never an automatic replacement or deletion. No-header callers preserve existing keyless semantics. Raw material must not appear in logs, URLs or browser storage.

Access: browserSession + csrfToken

Current account membership and Admin; ChangeProviderConnection operational policy; no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional exactly one value, trimmed by the existing reader, then nonempty/control-free and at most 200 characters. Invalid input is 400 idempotency_key_invalid. Exact original payload/key is the only safe retry after unknown outcome; never submit a replacement secret automatically.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 200
}

Request body

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

Responses

201
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative resource identifier; does not declare another browser route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAndroidCredential"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type; existing binder can reject before execution with 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain command.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "string"
    },
    "description": "The SigningCreateFailure 503 path emits 2; other dependency failures may omit this header."
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

DELETE/api/download/signing/android-credentials/{credentialId}

Delete a customer-owned android-credentials signing connection

Requires current account Admin. The existing secret reference is deleted before the record deletion. Absent/mismatched record is 404; successful 204 has no body. This is not a credential replay/replacement or permission to recover an uncertain create with another key.

Access: browserSession + csrfToken

Current account membership and Admin; ChangeProviderConnection operational policy; no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
credentialId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}

Responses

204
Successful deletion; no response body.
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/signing/android-credentials/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current account membership and Admin or AppOwner; ChangeProviderConnection operational policy; account-scoped, no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAndroidPage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/signing/apple-connections

Read the bounded complete legacy signing/apple-connections collection

No query parameters. Returns the native array only when the full result fits 100 rows. Overflow is 400 pagination_required; use the corresponding /page route. Current source/authority failures are errors, never empty success.

Access: browserSession

Current account membership and Admin or AppOwner; ChangeProviderConnection operational policy; account-scoped, no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAppleConnections"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

POST/api/download/signing/apple-connections

Create a customer-owned apple-connections signing connection

Secret request material goes only to the existing secret store and is absent from every public response. Certificate/hint metadata is best effort, not Apple trust, signing validation or native install eligibility. Optional keyed mode binds current stable subject, original normalized request and physical data owner; exact replay returns the original public receipt still with 201, even after rename/deletion, without recreating secrets or records. Changed request/owner is 409 idempotency_key_conflict; unknown attempt is 503 signing_create_unavailable, never an automatic replacement or deletion. No-header callers preserve existing keyless semantics. Raw material must not appear in logs, URLs or browser storage.

Access: browserSession + csrfToken

Current account membership and Admin; ChangeProviderConnection operational policy; no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional exactly one value, trimmed by the existing reader, then nonempty/control-free and at most 200 characters. Invalid input is 400 idempotency_key_invalid. Exact original payload/key is the only safe retry after unknown outcome; never submit a replacement secret automatically.
{
  "type": "string",
  "x-appportal-trimmed-max-length": 200
}

Request body

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

Responses

201
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative resource identifier; does not declare another browser route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementAppleConnection"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type; existing binder can reject before execution with 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain command.

Response headers

{
  "Retry-After": {
    "schema": {
      "type": "string"
    },
    "description": "The SigningCreateFailure 503 path emits 2; other dependency failures may omit this header."
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

DELETE/api/download/signing/apple-connections/{connectionId}

Delete a customer-owned apple-connections signing connection

Requires current account Admin. The existing secret reference is deleted before the record deletion. Absent/mismatched record is 404; successful 204 has no body. This is not a credential replay/replacement or permission to recover an uncertain create with another key.

Access: browserSession + csrfToken

Current account membership and Admin; ChangeProviderConnection operational policy; no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
Exact scoped resource identity.
{
  "type": "string"
}

Responses

204
Successful deletion; no response body.
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/download/signing/apple-connections/page

Read one current-authority distribution management page

Closed lowercase query: one limit (default 25, decimal 1-100 without sign/padding) and optional cursor; only eligible-members additionally accepts search. Cursor is opaque and bound to actor, current authority, physical source, collection/resource, app and selected limit; audit additionally binds environment/target. Current membership/denials/role/capability and source are rechecked after reading. Invalid or mismatched selection is 400 management_page_invalid; revoked authority is 403 management_page_access_denied; missing resource is 404; unconfirmed dependency/source is 503 management_page_unavailable. nextCursor and totalCount may be null; null total is unknown, never zero. No Link header or offset is promised.

Access: browserSession

Current account membership and Admin or AppOwner; ChangeProviderConnection operational policy; account-scoped, no app selector

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value; cursor is bound to this exact page size.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Unchanged opaque nextCursor, already trimmed and control-free; extra/repeated/blank selectors are rejected.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual Dashboard management response, not the Downloads member or Upload protocol.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementApplePage"
    }
  }
}
400
Invalid selected scope, request, representation or bounded collection. Native codes/messages/trace remain; framework query/body binding 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
401
Authenticated Dashboard session 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
403
Current membership, app capability, role, CSRF or origin denies dispatch. Selectors and signing hints never confer 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
404
Requested scoped resource is absent or inaccessible; existing handlers 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Native group uniqueness, release/signing readiness, command mismatch or logo lifecycle conflict. BFF session-version conflict remains a distinct precondition, not execution 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational hold denies the request; retain native errorCode/error and shared code/message/trace fields.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}
503
Current source or operational authority is unavailable. This is not an empty collection, committed mutation or permission to replace an uncertain 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/DownloadManagementProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/session error JSON is distinct from handler ProblemDetails; no provider/private diagnostic or secret shape is advertised."
    }
  }
}

Link to this operation

GET/api/engagement/audiences

Read bounded complete legacy audiences

Existing account/app full array when the complete collection fits within100 rows; empty array is valid. More than100 returns409 pagination_required, never a truncated success. Existing ignored query parameters remain ignored: limit/cursor cannot select or shrink this legacy representation. Use /api/engagement/audiences/page for protected cursor traversal. Legacy SQL order remains name under the source database collation; the page's ID ordering is distinct. No total count or mutation cap is added.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementAudiences"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: the complete legacy collection exceeds100 rows. Use /api/engagement/audiences/page with limit and cursor. Dashboard session-changed remains a separate pre-dispatch branch.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
engagement_page_unavailable: the bounded read is unsupported or its source cannot be confirmed. No full-read fallback, empty selection or successful partial array 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/engagement/audiences

Create audiences

Name must be nonblank; optional user/platform/tag/locality/environment/version/dormancy rules retain their actual DTO semantics. Optional header key preserves the exact original create/audit result under current authority and owner; keyed replay remains201 with the same Location. Changed payload conflicts; uncertain store result503 requires the same payload/key. Keyless compatibility remains. No MCP confirmation is accepted or required.

Access: browserSession + csrfToken

Authenticated current Dashboard account/app with ManageMessaging; Admin, AppOwner or ProductOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional: one trimmed nonempty/control-free value<=200. Keyless compatibility remains. Uncertain keyed result must retain the original request/key; header is not used for campaign send.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

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

Responses

201
Actual native authorized response; acceptance is distinct from delivery.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; no additional read route is invented."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementAudienceDefinition"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. engagement_management_conflict: changed command payload or native lifecycle conflict. Dashboard session-changed is a distinct pre-dispatch branch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing HTTP body binder; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/engagement/audiences/{audienceId}/directory-detail

Read selected audiences reference

No query selectors are accepted. Resource ID must be nonblank/control-free/trimmed<=512. Exact current account/app reference lookup does not require loading an entire catalog. Missing/foreign or lost current authority is sanitized404; store failure503. No environment/target restriction is invented for this account/app catalog.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
audienceId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementAudienceDefinition"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

POST/api/engagement/audiences/{audienceId}/estimate

Estimate a current audience

No JSON request body. Resolves current audience/reachability, channel consent/suppression and inactivity; actual per-channel/exclusion counts and warnings are returned. This preview does not send, grant consent or prove billable acceptance. Existing operation is classified ReadExistingData, but POST still requires BFF CSRF/session protections.

Access: browserSession + csrfToken

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
audienceId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementAudienceEstimate"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current operational policy or dependency is unavailable; no permission or successful 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/engagement/audiences/page

Read protected audiences page

Closed query accepts one limit/cursor. limit defaults25/range1..100 with decimal digits only. Cursor is opaque, nonblank/control-free/trimmed<=8192; it binds current actor/account/app authority, family, selected reference, limit and date filters. Current stored user/membership/denial/app/capability evidence is checked around materialization. Canonical page scope is account/app; current environment/target display selectors do not add a server filter. ID order uses ordinal PostgreSQL C ascending. nextCursor and totalCount are nullable; totalCount is always null, not zero. Campaign rows contain {campaign,templateName?,audienceName?}; missing selected names remain null. Delivery campaign ownership is checked before managed source reads; usage is from the managed scoped ledger.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace/signs/repetition.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected cursor, no controls/outer whitespace; retain exact selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementAudiencePage"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/campaigns

Read bounded complete legacy campaigns

Existing account/app full array when the complete collection fits within100 rows; empty array is valid. More than100 returns409 pagination_required, never a truncated success. Existing ignored query parameters remain ignored: limit/cursor cannot select or shrink this legacy representation. Use /api/engagement/campaigns/page for protected cursor traversal. Legacy SQL order remains createdAt ascending; the page's ID ordering is distinct. No total count or mutation cap is added.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaigns"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: the complete legacy collection exceeds100 rows. Use /api/engagement/campaigns/page with limit and cursor. Dashboard session-changed remains a separate pre-dispatch branch.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
engagement_page_unavailable: the bounded read is unsupported or its source cannot be confirmed. No full-read fallback, empty selection or successful partial array 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/engagement/campaigns

Create campaigns

Nonblank name/templateId/audienceId and channelPolicy required. ScheduledAt selects Draft versus Scheduled; creating a record does not send or prove valid provider configuration. Optional header key preserves the exact original create/audit result under current authority and owner; keyed replay remains201 with the same Location. Changed payload conflicts; uncertain store result503 requires the same payload/key. Keyless compatibility remains. No MCP confirmation is accepted or required.

Access: browserSession + csrfToken

Authenticated current Dashboard account/app with ManageMessaging; Admin, AppOwner or ProductOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional: one trimmed nonempty/control-free value<=200. Keyless compatibility remains. Uncertain keyed result must retain the original request/key; header is not used for campaign send.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

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

Responses

201
Actual native authorized response; acceptance is distinct from delivery.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; no additional read route is invented."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaignRecord"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. engagement_management_conflict: changed command payload or native lifecycle conflict. Dashboard session-changed is a distinct pre-dispatch branch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing HTTP body binder; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/engagement/campaigns/{campaignId}/deliveries

Read legacy recent campaign deliveries

Existing array of delivery records after scoped campaign ownership. Optional limit defaults200 and is clamped1..1000. This is a bounded recent array, not a complete cursor history. Use deliveries/page for continuation; nullable failureReason/isClientFallback retain actual values.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
campaignId (path, required)
{
  "type": "string"
}
limit (query, optional)
Legacy integer binder; service clamps1..1000, not strict page grammar.
{
  "type": "integer",
  "default": 200
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementDeliveries"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current operational policy or dependency is unavailable; no permission or successful 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/engagement/campaigns/{campaignId}/deliveries/page

Read protected campaigns/{campaignId}/deliveries page

Closed query accepts one limit/cursor. limit defaults25/range1..100 with decimal digits only. Cursor is opaque, nonblank/control-free/trimmed<=8192; it binds current actor/account/app authority, family, selected reference, limit and date filters. Current stored user/membership/denial/app/capability evidence is checked around materialization. Canonical page scope is account/app; current environment/target display selectors do not add a server filter. ID order uses ordinal PostgreSQL C ascending. nextCursor and totalCount are nullable; totalCount is always null, not zero. Campaign rows contain {campaign,templateName?,audienceName?}; missing selected names remain null. Delivery campaign ownership is checked before managed source reads; usage is from the managed scoped ledger.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
campaignId (path, required)
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace/signs/repetition.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected cursor, no controls/outer whitespace; retain exact selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementDeliveryPage"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/campaigns/{campaignId}/directory-detail

Read selected campaigns reference

No query selectors are accepted. Resource ID must be nonblank/control-free/trimmed<=512. Exact current account/app reference lookup does not require loading an entire catalog. Missing/foreign or lost current authority is sanitized404; store failure503. No environment/target restriction is invented for this account/app catalog.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
campaignId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaignRecord"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

POST/api/engagement/campaigns/{campaignId}/dry-run

Preview campaign readiness and spend

No JSON body or idempotency header. Returns audience estimate, segment/cost/credit estimates, readiness, blockers and deterministic confirmationToken. spendGuard is null when no paid cost is involved. Estimates are not charges or delivery receipts. The preview token is a campaign/reachable-audience hash, not an expiring actor-bound signed proof; the separate execution worker recomputes it for Send above its configured threshold(default25) or when SMS is involved. This preview does not authorize a provider action.

Access: browserSession + csrfToken

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
campaignId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaignDryRunResult"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current operational policy or dependency is unavailable; no permission or successful 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/engagement/campaigns/{campaignId}/send

Queue a durable campaign-send command

Accepted202 means persisted dispatch, not completed delivery or charge. Mode must be Test or Send (DryRun uses its own endpoint). Test requires1..5 distinct nonblank testUserIds. JSON body idempotencyKey is trimmed/control-free8..128; identical command reuses the dispatch and returns deduplicated:true, changed campaign/mode/confirmation/test-user set conflicts409. This is NOT an Idempotency-Key header or MCP proof. Current provider execution, consent/suppression, spend/operational gates and configured confirmation threshold are re-evaluated in the private worker. A failed/expired in-flight dispatch can represent partial or unknown external outcome and is not automatically resent.

Access: browserSession + csrfToken

Authenticated current Dashboard account/app with ManageMessaging; Admin, AppOwner or ProductOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
campaignId (path, required)
{
  "type": "string"
}

Request body

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

Responses

202
Actual native authorized response; acceptance is distinct from delivery.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative dispatch polling path."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaignSendDispatchReceipt"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. engagement_management_conflict: changed command payload or native lifecycle conflict. Dashboard session-changed is a distinct pre-dispatch branch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing HTTP body binder; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current operational policy or dependency is unavailable; no permission or successful 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/engagement/campaigns/page

Read protected campaigns page

Closed query accepts one limit/cursor. limit defaults25/range1..100 with decimal digits only. Cursor is opaque, nonblank/control-free/trimmed<=8192; it binds current actor/account/app authority, family, selected reference, limit and date filters. Current stored user/membership/denial/app/capability evidence is checked around materialization. Canonical page scope is account/app; current environment/target display selectors do not add a server filter. ID order uses ordinal PostgreSQL C ascending. nextCursor and totalCount are nullable; totalCount is always null, not zero. Campaign rows contain {campaign,templateName?,audienceName?}; missing selected names remain null. Delivery campaign ownership is checked before managed source reads; usage is from the managed scoped ledger.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace/signs/repetition.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected cursor, no controls/outer whitespace; retain exact selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaignPage"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/consent/{userId}

Read current channel consent

Current account/app consent array for selected userId. A missing channel preference is not a grant; false is retained. This management read neither issues user bindings nor performs a consent change.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementConsents"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current operational policy or dependency is unavailable; no permission or successful 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/engagement/send-dispatches/{dispatchId}

Read one accepted dispatch

Account/app-owned browser-safe dispatch status, attempts and nullable startedAt/completedAt/result/error. Native numeric status enum is exported from the actual DTO; it has no invented Unknown enum member. Null result is not zero delivery and Failed is not proof that nothing was sent. No raw request, provider secret or automatic retry authority is returned.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
dispatchId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementCampaignSendDispatchStatusResponse"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current operational policy or dependency is unavailable; no permission or successful 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/engagement/suppressions

Read bounded complete legacy suppression array

Actual account/app suppression entries can contain user-or-phone selectors and require ManageMessaging. Whole legacy CreatedAt-ascending array within100; more returns409 pagination_required, never a truncated success. Existing ignored query parameters remain ignored. Use /suppressions/page for protected cursor navigation. This is not a public/redacted analytics projection or permission to unsuppress.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementSuppressions"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: use /api/engagement/suppressions/page with limit and cursor.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/engagement/suppressions/page

Read protected suppressions page

Closed query accepts one limit/cursor. limit defaults25/range1..100 with decimal digits only. Cursor is opaque, nonblank/control-free/trimmed<=8192; it binds current actor/account/app authority, family, selected reference, limit and date filters. Current stored user/membership/denial/app/capability evidence is checked around materialization. Canonical page scope is account/app; current environment/target display selectors do not add a server filter. ID order uses ordinal PostgreSQL C ascending. nextCursor and totalCount are nullable; totalCount is always null, not zero. Campaign rows contain {campaign,templateName?,audienceName?}; missing selected names remain null. Delivery campaign ownership is checked before managed source reads; usage is from the managed scoped ledger.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace/signs/repetition.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected cursor, no controls/outer whitespace; retain exact selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementSuppressionPage"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/templates

Read bounded complete legacy templates

Existing account/app full array when the complete collection fits within100 rows; empty array is valid. More than100 returns409 pagination_required, never a truncated success. Existing ignored query parameters remain ignored: limit/cursor cannot select or shrink this legacy representation. Use /api/engagement/templates/page for protected cursor traversal. Legacy SQL order remains createdAt ascending; the page's ID ordering is distinct. No total count or mutation cap is added.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementTemplates"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: the complete legacy collection exceeds100 rows. Use /api/engagement/templates/page with limit and cursor. Dashboard session-changed remains a separate pre-dispatch branch.

Response headers

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

Response headers

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

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
engagement_page_unavailable: the bounded read is unsupported or its source cannot be confirmed. No full-read fallback, empty selection or successful partial array 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/engagement/templates

Create templates

Name, title and body must be nonblank; deepLink remains optional. Optional header key preserves the exact original create/audit result under current authority and owner; keyed replay remains201 with the same Location. Changed payload conflicts; uncertain store result503 requires the same payload/key. Keyless compatibility remains. No MCP confirmation is accepted or required.

Access: browserSession + csrfToken

Authenticated current Dashboard account/app with ManageMessaging; Admin, AppOwner or ProductOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Optional: one trimmed nonempty/control-free value<=200. Keyless compatibility remains. Uncertain keyed result must retain the original request/key; header is not used for campaign send.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

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

Responses

201
Actual native authorized response; acceptance is distinct from delivery.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; no additional read route is invented."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementMessageTemplate"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. engagement_management_conflict: changed command payload or native lifecycle conflict. Dashboard session-changed is a distinct pre-dispatch branch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing HTTP body binder; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/engagement/templates/{templateId}/directory-detail

Read selected templates reference

No query selectors are accepted. Resource ID must be nonblank/control-free/trimmed<=512. Exact current account/app reference lookup does not require loading an entire catalog. Missing/foreign or lost current authority is sanitized404; store failure503. No environment/target restriction is invented for this account/app catalog.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
templateId (path, required)
{
  "type": "string"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementMessageTemplate"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/templates/page

Read protected templates page

Closed query accepts one limit/cursor. limit defaults25/range1..100 with decimal digits only. Cursor is opaque, nonblank/control-free/trimmed<=8192; it binds current actor/account/app authority, family, selected reference, limit and date filters. Current stored user/membership/denial/app/capability evidence is checked around materialization. Canonical page scope is account/app; current environment/target display selectors do not add a server filter. ID order uses ordinal PostgreSQL C ascending. nextCursor and totalCount are nullable; totalCount is always null, not zero. Campaign rows contain {campaign,templateName?,audienceName?}; missing selected names remain null. Delivery campaign ownership is checked before managed source reads; usage is from the managed scoped ledger.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace/signs/repetition.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected cursor, no controls/outer whitespace; retain exact selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementTemplatePage"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/usage-ledger

Read bounded complete legacy paid-channel ledger

Admin/AppOwner native array includes providerCost/billableAmount/margin/units/credits and reconciliation status. Native optional DateTimeOffset from/to filter OccurredAt inclusively BEFORE the100row bound, retaining legacy order. Whole selection within100; more returns409 pagination_required, never a truncated success. Inverted valid legacy ranges remain empty; strict page/summary grammar is separate. Use /usage-ledger/page for protected navigation. Retained zero credits do not grant new billing authority.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging; Admin or AppOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
from (query, optional)
Optional inclusive native DateTimeOffset lower bound.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Optional inclusive native DateTimeOffset upper bound. Inverted valid legacy range returns an empty selection.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementUsageEntries"
    }
  }
}
400
Malformed native input or engagement_management_invalid/idempotency_key_invalid; exact binder/domain validation 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: use /api/engagement/usage-ledger/page with unchanged from/to, limit and cursor.

Response headers

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

Response headers

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

Response headers

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

Link to this operation

GET/api/engagement/usage-ledger/page

Read protected usage-ledger page

Closed query accepts one limit/cursor and optional from/to. limit defaults25/range1..100 with decimal digits only. Cursor is opaque, nonblank/control-free/trimmed<=8192; it binds current actor/account/app authority, family, selected reference, limit and date filters. Current stored user/membership/denial/app/capability evidence is checked around materialization. Canonical page scope is account/app; current environment/target display selectors do not add a server filter. ID order uses ordinal PostgreSQL C ascending. nextCursor and totalCount are nullable; totalCount is always null, not zero. Campaign rows contain {campaign,templateName?,audienceName?}; missing selected names remain null. Delivery campaign ownership is checked before managed source reads; usage is from the managed scoped ledger.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging; Admin or AppOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One decimal value without whitespace/signs/repetition.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected cursor, no controls/outer whitespace; retain exact selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
from (query, optional)
Optional inclusive occurredAt lower bound; invariant DateTimeOffset page parsing normalizes UTC.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Optional inclusive occurredAt upper bound; page/summary rejects inverted ranges.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementUsagePage"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/engagement/usage-ledger/summary

Read authoritative ledger-selection totals

Closed optional from/to query, parsed invariant/normalized UTC; inverted range400. SQL totals cover the complete currently authorized inclusive ledger range, independently of the loaded page. A successful empty selection returns real zero entries/amount/units; unavailable503 is not zero. No per-recipient provider outcome or unsupported channel metric is fabricated.

Access: browserSession

Authenticated current Dashboard account/app with ManageMessaging; Admin or AppOwner. Canonical current stored authority is additionally revalidated on page/selected-reference reads.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
from (query, optional)
Optional inclusive occurredAt lower bound; invariant DateTimeOffset page parsing normalizes UTC.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Optional inclusive occurredAt upper bound; page/summary rejects inverted ranges.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual native authorized response; acceptance is distinct from delivery.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardEngagementEngagementUsageSummary"
    }
  }
}
400
engagement_page_invalid: unsupported/repeated/invalid selector or mismatched 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Current Dashboard authentication required; middleware failures may have 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Viewable app and ManageMessaging required; role/operational and BFF CSRF/origin failures retain native responses. Missing explicit scope uses engagement_scope_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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
resource_not_found: missing/foreign selected resource or current page authority 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the operation; ReadExistingData previews retain their own classification.

Response headers

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

Link to this operation

GET/api/identity/access-denials

Read organization access-denial records

Admin only in token and current effective authority. Complete active-only organization restrictions within100, otherwise409 identity_denials_pagination_required with /access-denials/page guidance. Original SQL user/app order and current user label enrichment retained; ignored legacy selectors cannot request restored rows or a partial array.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityDenials"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy representation exceeds100rows (or a nested roster exceeds100): identity_denials_pagination_required. Use the same-authority explicit page route; no partial array or business capacity limit is implied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/access-denials/page

Read a protected access-denial page

Default25/max100; closed single-value literal query and protected actor/organization/current effective authority/selection/limit continuation. Current active user, unique active organization, active membership and effective grants are re-read after source access. No total is available. Admin in both validated token and current effective authority. Supports search, userId and activeOnly (exact true/false, defaulttrue).

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
search (query, optional)
Optional bounded literal search; current store applies it before the page.
{
  "type": "string",
  "maxLength": 200
}
userId (query, optional)
Optional exact user selection within the current organization.
{
  "type": "string",
  "maxLength": 512
}
activeOnly (query, optional)
Exact lowercase true/false, defaulttrue.
{
  "type": "boolean",
  "default": true
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityDenialPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/api-keys

Read safe credential summaries

Admin or AppOwner with current app visibility; optional appId selects an existing visible app. Returns the complete legacy array only when at most100 summaries fit; another row returns409 pagination_required and directs callers to /api-keys/page. Source failure503 is not an empty successful array. Null lifetime/usage observations remain null; no stored hashes or raw keys are returned.

Access: browserSession

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
appId (query, optional)
Optional current visible app, never another account grant.
{
  "type": "string",
  "maxLength": 512
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityCredentialSummaries"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy credential array exceeds100 summaries; pagination_required. Continue using /api-keys/page with the original app 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/api-keys

Issue a credential once

Admin or AppOwner with actual current app authority. First201 reveals rawKey once; existing storage retains only its hash. The selected handler does not consume an Idempotency-Key or provide a completed-issuance replay receipt. An uncertain retry may issue another credential; reconcile through current metadata before explicitly retrying. Existing server/upload expiry is required; SDK/server environment and kind-permission/network rules remain enforced. Rotation preserves predecessor overlap until explicit revoke/expiry.

Access: browserSession + csrfToken

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

201
Actual source-owned browser response projection.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native created key identifier; does not declare a browser key-detail route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ApiClientKeyCreated"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/api-keys/{keyId}/revoke

Revoke a scoped credential

Admin or AppOwner with actual app visibility. Returns200 safe current summary; no raw key. Missing404. Revocation and last-used/expiry are distinct metadata; a read/list does not reactivate a key.

Access: browserSession + csrfToken

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
keyId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ApiClientKeySummary"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/api-keys/{keyId}/rotate

Explicitly rotate a credential

Admin or AppOwner with actual current app authority. First201 reveals rawKey once; existing storage retains only its hash. The selected handler does not consume an Idempotency-Key or provide a completed-issuance replay receipt. An uncertain retry may issue another credential; reconcile through current metadata before explicitly retrying. Existing server/upload expiry is required; SDK/server environment and kind-permission/network rules remain enforced. Rotation preserves predecessor overlap until explicit revoke/expiry.

Access: browserSession + csrfToken

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
keyId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

201
Actual source-owned browser response projection.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native created key identifier; does not declare a browser key-detail route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ApiClientKeyCreated"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/api-keys/page

Read a protected safe-credential page

Default25/max100. Closed limit/cursor/appId/kind/activeOnly. Exact enum name for kind; activeOnly exact true/false, defaultfalse. Current account, roles and effective visible apps/explicit denials rechecked; protected cursor binds all selectors, actor and current authority. Audited summaries exclude raw/stored credential material; totalCount null is unknown.

Access: browserSession

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
appId (query, optional)
Optional current visible app, never another account grant.
{
  "type": "string",
  "maxLength": 512
}
kind (query, optional)
Exact case-sensitive defined kind name.
{
  "type": "string",
  "enum": [
    "SdkClient",
    "Server",
    "Upload"
  ]
}
activeOnly (query, optional)
Exact true/false; when true excludes revoked/expired summaries using current server time.
{
  "type": "boolean",
  "default": false
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityCredentialPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/external/{provider}/signup-start

Begin explicit provider signup

Explicit current Terms acceptance. Read the returned immutable version. The server-issued presentation is bound to its signup surface and expires after ten minutes. Preserve presentationToken, supply a nonempty actionId, and set accepted to true only after the user agrees. Missing or invalid proof returns 400, stale or reused proof returns 409, and unavailable signing authority returns 503. The browser callback destination is assigned by the BFF. Ordinary provider sign-in remains a separate operation.

Access: browserSession + csrfToken

Anonymous, explicit current-Terms signup with provider verification.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Unsupported sign-in provider.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
payload_too_large: signup request exceeds 12,288 bytes. A browser navigation may receive an empty 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/DashboardIdentityProblem"
    }
  }
}
415
Send the signup request as 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid provider authorization URL.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/external/{provider}/start

Start existing-account social sign-in

Configured microsoft/google/github only; unsupported provider404at BFF, unconfigured provider400upstream. BFF owns the callback/flow hash and10-minute HttpOnly social cookie; caller returnUrl is not forwarded by this route. Existing-account login does not fabricate current-Terms signup acceptance.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/invitations/accept

Accept a mailbox-proof invitation

Current authenticated account plus exact open mailbox proof required. Recipient mismatch, expiry, revocation and consumption cannot grant membership. Existing admission/operational restrictions remain. Normal200 atomically rotates the BFF session handle/version/cookies under its per-session lock while preserving the refresh authority. A stale loser409session-changed cannot overwrite winner cookies; malformed upstream success502. Return is the browser summary with optional verified signInIdentity metadata, never AuthTokens.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
The actual frontend invitation body bound was exceeded before dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/invitations/decline

Decline an invitation using current subject and mailbox proof

Authenticated account required; exact current proof is rechecked by the invitation transaction. Successful204 no session/token body; no arbitrary mailbox claim, user or role can be supplied.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
The actual frontend invitation body bound was exceeded before dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/invitations/local-claim

Create an invited local account with mailbox proof

Anonymous only. Existing signed-in account must use authenticated acceptance409. Claim token must be current/unconsumed; password8–1024 and display name1–200. Successful membership/Terms/signup is transactional; no legacy bool or mailbox text can replace proof. The BFF validates the Identity token response, stores tokens server-side, issues opaque HttpOnly session plus CSRF cookie, and returns expiresAt/tenantId/tenantSlug/sessionVersion plus optional verified signInIdentity metadata. Invalid upstream success502; raw access/refresh values never reach browser JSON. New account creation requires agreement for InvitationLocalSignup. Explicit current Terms acceptance. Read the returned immutable version. The server-issued presentation is bound to its signup surface and expires after ten minutes. Preserve presentationToken, supply a nonempty actionId, and set accepted to true only after the user agrees. Missing or invalid proof returns 400, stale or reused proof returns 409, and unavailable signing authority returns 503.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
The actual frontend invitation body bound was exceeded before dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/invitations/preview

Preview an invitation using its mailbox proof

Anonymous mailbox-token preview; only the safe current summary is returned, never recipientEmail or claim credential. Revoked/expired/reissued/consumed proof is unavailable. Existing claim rate limiter applies. This explicit BFF bootstrap endpoint is exempt from session-version check but still retains normal origin and session-CSRF rules.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationInvitationSummary"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
413
The actual frontend invitation body bound was exceeded before dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/invitations/social/start

Start an invited social-account claim

Anonymous only; existing session409. Requires exact68-character claim token, configured microsoft/google/github, explicitConsent:true. BFF replaces returnUrl with its fixed cookie-bound callback, forwards only the owned claim request, and stores a10-minute HttpOnly social flow cookie after upstream success. Only authorizeUrl is returned; mailbox proof never becomes a provider query token. New account creation requires agreement for InvitationSocialSignup. Explicit current Terms acceptance. Read the returned immutable version. The server-issued presentation is bound to its signup surface and expires after ten minutes. Preserve presentationToken, supply a nonempty actionId, and set accepted to true only after the user agrees. Missing or invalid proof returns 400, stale or reused proof returns 409, and unavailable signing authority returns 503.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
The actual frontend invitation body bound was exceeded before dispatch.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/legal/history

Read 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. Current authenticated subject's account evidence only; no caller subject selector.

Access: browserSession

Current authenticated subject and server-selected scope; PolicyEvidenceService independently rechecks acceptance-history authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "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 source-owned browser response projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PolicyAcceptanceHistoryPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/legal/organization-history

Read organization-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. Requires permission to view policy acceptance for the organization selected in your signed-in session. Returns 400 account_scope_required if no organization is selected.

Access: browserSession

Current authenticated subject and server-selected scope; PolicyEvidenceService independently rechecks acceptance-history authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "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 source-owned browser response projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PolicyAcceptanceHistoryPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/legal/policies

Read policies

PublishedPolicy/Notice catalog descriptors only; no query parameters accepted. A published descriptor is not acceptance evidence.

Access: browserSession

Public policy archive; no admission or account grant.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PublishedPolicyRevisions"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/legal/policies/{revisionId}

Read policies/{revisionId}

Read exact retained PublishedPolicy/Notice UTF-8 bytes. No query accepted. revisionId must be trimmed/control-free<=128; missing/unpublished404 legal_revision_not_found, invalid400 legal_revision_invalid, integrity/dependency503. ETag is the quoted sha256; X-Policy-SHA256 is the same content hash. Retained content grants no account authority.

Access: browserSession

Public policy archive; no admission or account grant.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
revisionId (path, required)
{
  "type": "string"
}

Responses

200
Exact archived policy bytes.

Response headers

{
  "ETag": {
    "schema": {
      "type": "string"
    },
    "description": "Quoted SHA-256."
  },
  "X-Policy-SHA256": {
    "schema": {
      "type": "string"
    },
    "description": "Exact content SHA-256."
  },
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "text/plain; charset=utf-8": {
    "schema": {
      "type": "string"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
legal_revision_not_found: revision absent or not published policy/notice.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/legal/signup-presentation

Read current signup Terms

Explicit current Terms acceptance. Read the returned immutable version. The server-issued presentation is bound to its signup surface and expires after ten minutes. Preserve presentationToken, supply a nonempty actionId, and set accepted to true only after the user agrees. Missing or invalid proof returns 400, stale or reused proof returns 409, and unavailable signing authority returns 503.

Access: browserSession

Anonymous Terms presentation; no user creation or consent.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
surface (query, required)
Exactly one supported signup surface.
{
  "type": "string",
  "enum": [
    "LocalSignup",
    "SocialSignup",
    "InvitationLocalSignup",
    "InvitationSocialSignup"
  ]
}

Responses

200
Actual source-owned browser response projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SignupTermsPresentationResponse"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/login

Sign in using a local account

Invalid account/password or inactive account401 credentials_invalid. Successful login may remain organization-less until onboarding; it does not create or accept an organization. The BFF validates the Identity token response, stores tokens server-side, issues opaque HttpOnly session plus CSRF cookie, and returns expiresAt/tenantId/tenantSlug/sessionVersion plus optional verified signInIdentity metadata. Invalid upstream success502; raw access/refresh values never reach browser JSON.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/logout

End the current browser session

No browser refresh-token body. BFF revokes its current opaque session and uses its server-held refresh token for upstream logout; cookies are cleared only under the existing winning-session rules. Anonymous logout remains204. Upstream failure does not expose a token or automatically revive the local handle.

Access: browserSession + csrfToken

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me

Read current profile and access projection

Current active global user required. Returns actual safe UserRecord, currently visible memberships, activeOrg, nullable EffectiveAccess, waitlist/canCreateWorkspaces flags and profileAvatarAvailable. No provider image URL, password hash or tokens. Missing current organization can be empty activeOrg/accessnull without granting another account.

Access: browserSession

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AuthenticatedUser"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/avatar

Read the current account’s profile photo

Returns captured profile image bytes from the current account’s active linked identities. The browser supplies its current session version. The current account subject selects the photo without a request selector. The response contains no provider URL or credentials.

Access: browserSession

Current authenticated active account subject. The account-wide photo is independent of organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Stored JPEG, PNG or WebP image bytes.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "Pragma": {
    "schema": {
      "type": "string",
      "const": "no-cache"
    }
  },
  "Expires": {
    "schema": {
      "type": "string",
      "const": "0"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  },
  "Cross-Origin-Resource-Policy": {
    "schema": {
      "type": "string",
      "const": "same-origin"
    }
  }
}
{
  "image/jpeg": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/png": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/webp": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  }
}
401
An active signed-in account is required. Identity returns credentials_invalid when the account is unavailable; an authentication challenge may have no body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "Pragma": {
    "schema": {
      "type": "string",
      "const": "no-cache"
    }
  },
  "Expires": {
    "schema": {
      "type": "string",
      "const": "0"
    }
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
No usable stored profile photo for this account. The response has no body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "Pragma": {
    "schema": {
      "type": "string",
      "const": "no-cache"
    }
  },
  "Expires": {
    "schema": {
      "type": "string",
      "const": "0"
    }
  },
  "X-Content-Type-Options": {
    "schema": {
      "type": "string",
      "const": "nosniff"
    }
  },
  "Cross-Origin-Resource-Policy": {
    "schema": {
      "type": "string",
      "const": "same-origin"
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Stale or missing Dashboard scope version prevents dispatch with session-changed.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "Pragma": {
    "schema": {
      "type": "string",
      "const": "no-cache"
    }
  },
  "Expires": {
    "schema": {
      "type": "string",
      "const": "0"
    }
  },
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
The Identity proxy configuration or transport is unavailable. The response has no body.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  },
  "Pragma": {
    "schema": {
      "type": "string",
      "const": "no-cache"
    }
  },
  "Expires": {
    "schema": {
      "type": "string",
      "const": "0"
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enrollment-setup/{tenantId}/{provider}/domains

Discover verified Microsoft directory domains

Available when verified-domain setup is enabled. Returns verified domains for the selected Microsoft directory with protected choices and fixed 25-row continuation. Selecting a domain restricts a verified group rule.

Access: browserSession

Current active directly assigned all-app organization administrator and explicit administrator of its linked Enterprise customer, with a confirmed current Enterprise offer; verified, admitted, operational organization. Authority is checked for the selected Enterprise and organization. Discovery credentials do not grant organization ownership or user membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
provider (path, required)
{
  "type": "string",
  "const": "Microsoft"
}
connectionId (query, optional)
Exact owned purpose-bound connection; latest eligible connection selected when omitted.
{
  "type": "string",
  "maxLength": 256
}
cursor (query, optional)
Opaque continuation for unchanged source and selection; not an offset or authority.
{
  "type": "string",
  "maxLength": 8192
}
organization (query, required)
Current protected organization selection token.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnrollmentDirectoryPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Verified domain setup is disabled (verified_domain_setup_unavailable), the directory source or selection changed, or the current session scope must be reloaded.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enrollment-setup/{tenantId}/{provider}/groups

Discover selectable directory groups or teams

Use the protected organization selection to browse up to 25 groups per page. Microsoft supports group-name prefix search. Supply the same search when requesting the next page.

Access: browserSession

Organization admins can link security groups from a connected Entra directory using their own Microsoft work account. An Enterprise admin connects directories and manages rules for entire directories or verified domains.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
connectionId (query, optional)
Exact owned purpose-bound connection; latest eligible connection selected when omitted.
{
  "type": "string",
  "maxLength": 256
}
cursor (query, optional)
Opaque continuation for unchanged source and selection; not an offset or authority.
{
  "type": "string",
  "maxLength": 8192
}
organization (query, required)
Current protected organization selection token.
{
  "type": "string",
  "maxLength": 8192
}
search (query, optional)
Microsoft security group display name prefix.
{
  "type": "string",
  "maxLength": 120
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnrollmentDirectoryPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/enrollment-setup/{tenantId}/{provider}/mappings

Save a verified directory access rule

Protected group selection plus connectionId and operationId. Select a role with optional app scope, or a same-organization Team with role null, no app scope and current provider proof. Team setup requires its capability and supports Microsoft security groups and GitHub teams. When verified-domain setup is enabled, Microsoft rules can also require a protected domain choice from the same directory and current Microsoft sign-in. When supportsDirectoryMembers is true, an authorized Enterprise administrator can require directoryMembersOnly for a directory-wide Microsoft role mapping. Select the directory and require the current Microsoft sign-in. Group, team and domain selections cannot be combined with this option. PlatformOperator cannot be mapped. Current provider membership, app visibility, administrator authority and directory source are verified. Exact durable replay does not authorize a disconnected Google binding; directory_binding_stale409 requires removing the existing rule before saving with a reconnected account. No provider-side mutation, live grant or subscription activation.

Access: browserSession + csrfToken

Organization admins can link security groups from a connected Entra directory using their own Microsoft work account. An Enterprise admin connects directories and manages rules for entire directories or verified domains.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityEnrollmentMappingReceipt"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enrollment-setup/{tenantId}/{provider}/organizations

Discover selectable provider organizations

Returns up to 25 organizations from the selected connection. The cursor is bound to the actor, organization, provider and current connection.

Access: browserSession

Organization admins can link security groups from a connected Entra directory using their own Microsoft work account. An Enterprise admin connects directories and manages rules for entire directories or verified domains.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
connectionId (query, optional)
Exact owned purpose-bound connection; latest eligible connection selected when omitted.
{
  "type": "string",
  "maxLength": 256
}
cursor (query, optional)
Opaque continuation for unchanged source and selection; not an offset or authority.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnrollmentDirectoryPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/enrollment-setup/{tenantId}/{provider}/start

Request purpose-bound directory setup consent

Select a linked account and, for Microsoft, an Entra directory. Set directoryMembersOnly to true for Microsoft directory membership setup with delegated User.Read. This requires Enterprise administrator access for the selected organization. Omit it or use false for group setup.

Access: browserSession + csrfToken

Organization admins can link security groups from a connected Entra directory using their own Microsoft work account. An Enterprise admin connects directories and manages rules for entire directories or verified domains.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/enrollment/{provider}/start

Start explicit work-account enrollment proof

Exact allowlisted returnUrl, configured provider and eligible explicit policy required. Purpose-bound state, nonce and PKCE link only the current subject; ordinary product use remains denied until current verified enrollment grants access. Does not request organization-directory setup scopes.

Access: browserSession + csrfToken

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enrollment/providers

Read configured enrollment proof providers

Narrow waitlist exemption for the current captured identity. Only configured providers with explicit eligible organization enrollment policies are returned; an email-domain match is not proof. Explicit operator revocation remains authoritative.

Access: browserSession

Current authenticated account subject and selected organization; the browser supplies no bearer or internal key.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityEnrollmentProviders"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enterprise-customers/{customerId}

Read the selected Enterprise customer

Restores the selected customer independently of the paged list.

Access: browserSession

Current authenticated account subject and an explicit, current Enterprise customer administrator grant.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseCustomerSummary"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
The Enterprise customer is unavailable to the current account.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/enterprise-customers/{customerId}/administrators

Add an Enterprise customer administrator

Resolves the exact primary email of an eligible account and requires mailbox proof or active membership in a linked organization the caller directly administers.

Access: browserSession + csrfToken

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. A confirmed Enterprise offer and current portal access are required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
No eligible existing account matches the supplied primary email.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/auth/me/enterprise-customers/{customerId}/administrators/{userId}

Remove an Enterprise customer administrator

Revokes only the selected customer's grant. At least one active administrator must remain.

Access: browserSession + csrfToken

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. A confirmed Enterprise offer and current portal access are required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enterprise-customers/{customerId}/administrators/page

List an Enterprise customer's administrators

Lists only the selected customer's grants. CanRemove reflects the complete list of active administrators.

Access: browserSession

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. A confirmed Enterprise offer and current portal access are required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
cursor (query, optional)
Opaque continuation bound to the account, collection and selected customer.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityEnterpriseAdministratorPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enterprise-customers/{customerId}/organization-requests

Read this account's Enterprise organization requests

Returns up to ten receipts for the selected customer. An exact read requires both the original Idempotency-Key and organization address.

Access: browserSession

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. A confirmed Enterprise offer and current portal access are required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
slug (query, optional)
Required with the original Idempotency-Key for exact recovery.
{
  "type": "string",
  "maxLength": 63
}
Idempotency-Key (header, optional)
Exactly one bounded nonempty control-free key using the existing trimmed reader. Repeated/invalid400. Reuse the same immutable body and key after an unknown outcome; no automatic replacement intent. This key is not an authority grant.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityClaimHistory"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/enterprise-customers/{customerId}/organization-requests

Request a new Enterprise organization

Requires an available organization slot, accepted current terms, and one Idempotency-Key (1–200 characters). PendingAdmission requires Operations approval. PendingReview includes a protected-name case. Neither response grants a session, ownership, or commercial terms.

Access: browserSession + csrfToken

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. A confirmed Enterprise offer and current portal access are required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one bounded nonempty control-free key using the existing trimmed reader. Repeated/invalid400. Reuse the same immutable body and key after an unknown outcome; no automatic replacement intent. This key is not an authority grant.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

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

Responses

202
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseOrganizationRequestReceipt"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/enterprise-customers/{customerId}/organization-requests/presentation

Read the terms for a new Enterprise organization request

Binds the presented terms to the selected customer, requester, and proposed name and address.

Access: browserSession + csrfToken

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. A confirmed Enterprise offer and current portal access are required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationClaimPresentation"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enterprise-customers/{customerId}/organizations/{tenantId}

Read an organization linked to an Enterprise customer

Restores the selected organization independently of the paged directory.

Access: browserSession

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. The organization must be linked to this customer. This read does not grant organization access.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseOrganizationSummary"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
The organization is unavailable for the selected Enterprise customer.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

PUT/api/identity/auth/me/enterprise-customers/{customerId}/organizations/{tenantId}

Link an organization to an Enterprise customer

A new link requires an available organization slot. Provide a trimmed reason from 8 to 500 characters.

Access: browserSession + csrfToken

Current authenticated account subject and an explicit, current Enterprise customer administrator grant. Current Admin authority for the target organization is also required.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enterprise-customers/{customerId}/organizations/page

List organizations linked to an Enterprise customer

Returns linked organizations, the offer limit and the number of slots reserved by requests awaiting review.

Access: browserSession

Current authenticated account subject and an explicit, current Enterprise customer administrator grant.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
customerId (path, required)
{
  "type": "string"
}
cursor (query, optional)
Opaque continuation bound to the account, collection and selected customer.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/EnterpriseOrganizationPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/enterprise-customers/page

List the account's Enterprise customers

Only customers for which the signed-in account has a current grant are listed.

Access: browserSession

Current authenticated account subject. Other accounts' customer grants are excluded.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
cursor (query, optional)
Opaque continuation bound to the account, collection and selected customer.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityEnterpriseCustomerPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/external-identities

Read own linked external identities

No query; current owner-scoped exact identity source. Complete array<=100 only; overflow409 pagination_required. Current provider/display fields are private account metadata, not access/refresh credentials.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityExternalIdentities"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/auth/me/external-identities/{identityId}

Unlink an owned external identity

Current account identity only; unavailable404. Existing last-sign-in, derived grant reconciliation, provider credential cleanup and selected-account operational fences remain. No other owner identity is exposed. Successful204 has no body.

Access: browserSession + csrfToken

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
identityId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/external-identities/{provider}/link/start

Begin linking a provider identity

Returns an authorizeUrl to link Microsoft, Google or GitHub to the signed-in account. For Microsoft directory setup, pass directoryOrganization and an allowlisted returnUrl. After a successful link the return URL fragment includes identity_linked=true, directory_organization (the AppPortal organization ID) and directory_identity (the linked identity ID). The Dashboard uses these to select the account. Reading directory groups requires separate consent. Omit directoryOrganization for ordinary account linking.

Access: browserSession

Current active authenticated account. Microsoft directory selection also requires the organization in the current session.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
returnUrl (query, optional)
Existing allowlisted browser return target; never a browser-supplied credential endpoint.
{
  "type": "string"
}
directoryOrganization (query, optional)
Microsoft only. Supply the exact AppPortal organization ID selected in the current Dashboard session.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Invalid or unconfigured provider. A blank directoryOrganization, a different organization or a provider other than Microsoft with this parameter returns directory_selection_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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/external-identities/page

Read own protected external-identity page

Closed limit(default25,1–100)/cursor with literal nonblank trimmed control-free values. Protected subject/collection/provider/limit binding and current active user/source recheck; authority loss403 account_page_access_changed, unavailable503 account_page_unavailable. No total is known. No provider filter is accepted on this identity collection.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityExternalIdentityPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/invites

Read current-user pending organization invitations

Uses current user/mailbox/membership/denial/admission evidence. Native limit defaults100/max100 and optional after cursor return an array plus X-AppPortal-Next-Cursor when applicable. CanAccept is a current eligibility observation, not proof of mailbox ownership; no intended mailbox or claim token is returned.

Access: browserSession

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Native invitation list page limit.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 100
}
after (query, optional)
Existing invitation cursor, returned via X-AppPortal-Next-Cursor.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.

Response headers

{
  "X-AppPortal-Next-Cursor": {
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityPendingInvites"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/invites/{tenantId}/accept

Accept an existing current-user invitation

Current subject and selected invitation target; actual pending invitation and active organization required. The path account is not membership authority. Existing explicit removal/operational gates remain. Normal200 atomically rotates the BFF session handle/version/cookies under its per-session lock while preserving the refresh authority. A stale loser409session-changed cannot overwrite winner cookies; malformed upstream success502. Return is the browser summary with optional verified signInIdentity metadata, never AuthTokens.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
invitationId (query, optional)
Use the ID returned by the pending invitations list to act on that invitation. Omit it for the existing organization-based flow.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/me/invites/{tenantId}/decline

Decline a current-user invitation

Current authenticated user; existing restricted invitation or legacy invited membership is declined. Successful204 without token/session rotation; matching existing operational RevokeAccess remedy remains.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
invitationId (query, optional)
Use the ID returned by the pending invitations list to act on that invitation. Omit it for the existing organization-based flow.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/provider-connections

Read own provider connection metadata

No query; complete<=100 array or409pagination_required. Native legacy body is ProviderConnectionRecord[], not catalog entries. Nullable refresh/failure metadata stays unknown; credentials/secret references are never included.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityProviderConnections"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/auth/me/provider-connections/{connectionId}

Delete an owned provider connection

Current owned connection and linked identity rechecked around the existing deletion workflow. Retires/reconciles provider-derived grants under current operational and mutation locks. Successful204; missing404. It is not deletion of another account or a provider-wide revoke guarantee.

Access: browserSession + csrfToken

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/provider-connections/{provider}/start

Begin an explicit retained provider-access connection

Configured provider; scope defaultsAccount, Organization requires a provider organization. Current selected-account ChangeProviderConnection operational decision applies. ReturnUrl uses existing callback allowlist; successful start is not completed consent or access proof. Provider access remains only behind the server secret boundary.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
provider (path, required)
{
  "type": "string"
}
returnUrl (query, optional)
Existing allowlisted browser return target; never a browser-supplied credential endpoint.
{
  "type": "string"
}
scope (query, optional)
Native defined scope binding; Organization requires provider organization.
{
  "type": "string",
  "enum": [
    "Account",
    "Organization"
  ],
  "default": "Account"
}
organization (query, optional)
Provider organization when using Organization scope; not an AppPortal organization authority grant.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityAuthorizeUrl"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/provider-connections/page

Read own protected provider-connection choices

Closed limit(default25,1–100)/cursor with literal nonblank trimmed control-free values. Protected subject/collection/provider/limit binding and current active user/source recheck; authority loss403 account_page_access_changed, unavailable503 account_page_unavailable. No total is known. Optional exact ExternalLoginProvider name filter. Each page item wraps public connection metadata plus nullable accountName derived from its still-current linked identity. This is not a token or connection health guarantee.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
provider (query, optional)
Exact enum name; no whitespace, numbers or undefined provider accepted.
{
  "type": "string",
  "enum": [
    "Microsoft",
    "Google",
    "GitHub"
  ]
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityProviderConnectionPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/teams

Read current organization team IDs

Returns actual team ID array for current subject/organization membership. Missing/inactive membership or organization-less account returns empty array; no team objects or inferred membership. Current BFF version still prevents old-tab retargeting.

Access: browserSession

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityTeamIds"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/work-organizations

Read own detected provider organizations

No query; complete<=100 source identities or409 before partial provider discovery. Google hosted domain reports Detected; Microsoft organization can report NeedsConsent, NameUnavailable or Verified from current real discovery. Do not treat display name, employer or membership as ownership/contract/eligibility proof. Current source loss fails rather than returning a smaller healthy list.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityWorkOrganizations"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/work-organizations/page

Read bounded current provider organization discovery

Closed limit(default25,1–100)/cursor with literal nonblank trimmed control-free values. Protected subject/collection/provider/limit binding and current active user/source recheck; authority loss403 account_page_access_changed, unavailable503 account_page_unavailable. No total is known. Optional exact provider Microsoft/Google only. Result pages by actual source identity, not a fabricated total. Existing provider credential refresh/discovery uses current source and operational fences and is audited; optional name failure remains explicit NameUnavailable rather than Verified.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
provider (query, optional)
Only work-identity-capable supported providers.
{
  "type": "string",
  "enum": [
    "Microsoft",
    "Google"
  ]
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityWorkOrganizationPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/workspaces/{tenantId}

Read one current accessible workspace membership

No query; exact literal workspace identifier<=512. Current active user and exact source membership/organization/personal owner/denial authority; absent/inaccessible404. This does not switch the BFF session.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tenantId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MembershipRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/me/workspaces/page

Read own currently accessible workspace memberships

Closed limit(default25,1–100)/cursor with literal nonblank trimmed control-free values. Protected subject/collection/provider/limit binding and current active user/source recheck; authority loss403 account_page_access_changed, unavailable503 account_page_unavailable. No total is known. Closed limit/cursor only. Active organization/membership, personal owner rule and explicit denials apply before and after hydration. Do not infer absence from a single page or create another personal workspace because it is unloaded.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityWorkspacePage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/onboarding/personal-org

Claim a personal workspace

Requires exact lowercase normalized storage-safe slug<=63 (platform reserved). Same-user personal claim/account/membership/owner operation is atomic; existing personal workspace409 with existingSlug, occupied slug409with safe suggestions. This does not create another global account. Normal200 atomically rotates the BFF session handle/version/cookies under its per-session lock while preserving the refresh authority. A stale loser409session-changed cannot overwrite winner cookies; malformed upstream success502. Return is the browser summary with optional verified signInIdentity metadata, never AuthTokens.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/onboarding/slug-check

Check a proposed workspace slug

Personal workspace format/occupancy advisory. The final personal claim requires the exact normalized form and rechecks under its source transaction. Available:false is a successful200 with normalized/reason/nullable suggestions, not an HTTP error. Displayed availability does not reserve a workspace.

Access: browserSession

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
slug (query, optional)
Proposed slug; server normalization/occupancy is advisory.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OnboardingSlugCheckResult"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/organizations

Submit an exact organization claim

Current active actor, self-service admission, certifiedNotImpersonating:true and matching current paired Terms/organization-authority presentation/action proofs required. One Idempotency-Key1–200 is mandatory; same actor/key/body replays the exact durable outcome even after presentation expiry, changed scope conflicts. Normal200 current membership is rechecked before BFF rotation. PendingReview202 returns only status/tenantId/tenantSlug/ticketId/caseId: it grants no organization token and does not rotate row/cookies/version. BFF validates a closed5-property pending shape; extra token/unknown/malformed upstream properties502. Unknown outcome requires exact-key own recovery; never re-create with a new key.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one bounded nonempty control-free key using the existing trimmed reader. Repeated/invalid400. Reuse the same immutable body and key after an unknown outcome; no automatic replacement intent. This key is not an authority grant.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
202
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationClaimPending"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
identity_session_response_invalid: pending body is malformed or includes unknown/token-bearing fields. No session row, cookie or version rotates.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/organizations/claim-presentation

Read current claim-bound Terms and authority presentation

Current actor and exact normalized proposed name/slug, immutable document revisions/hashes, paired explicit fresh actions and bounded expiry are server-bound. Client must review both documents and reset acceptance if proposal changes. Presentation is not a claim, reserved slug, ownership verification or authentication credential.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationClaimPresentation"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/organizations/claims

Recover own durable organization claim outcomes

Current actor only. Omitting both selectors gives bounded last10 own outcomes. Exact own-command recovery (0..1) requires BOTH one Idempotency-Key and the normalized slug; key-only or slug-only selection returns400 organization_claim_idempotency_invalid. The key is never placed in URL/storage. Empty exact read remains unknown, not confirmed nonexecution. Active/pending result is metadata, never current organization authority; ticket/case nullable. BFF preserves original header and rejects repeated ambiguity before a lossy hop.

Access: browserSession

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Exactly one bounded nonempty control-free key using the existing trimmed reader. Repeated/invalid400. Reuse the same immutable body and key after an unknown outcome; no automatic replacement intent. This key is not an authority grant.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
slug (query, optional)
Required together with Idempotency-Key for exact own-command recovery; omit both for bounded own history. Never grants another actor's command history.
{
  "type": "string",
  "maxLength": 63
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityClaimHistory"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/organizations/slug-check

Check a proposed workspace slug

Organization format/occupancy advisory; it does not perform protected-brand approval or falsely reject a valid review submission. Final organization claim rechecks exact current terms and registry. Available:false is a successful200 with normalized/reason/nullable suggestions, not an HTTP error. Displayed availability does not reserve a workspace.

Access: browserSession

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
slug (query, optional)
Proposed slug; server normalization/occupancy is advisory.
{
  "type": "string"
}
name (query, optional)
Optional native proposed name used by slug suggestion logic.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OnboardingSlugCheckResult"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/auth/register

Create a local account

Valid email and password>=8; account existence409. New account starts with zero memberships; creating a user is not a workspace claim. The BFF validates the Identity token response, stores tokens server-side, issues opaque HttpOnly session plus CSRF cookie, and returns expiresAt/tenantId/tenantSlug/sessionVersion plus optional verified signInIdentity metadata. Invalid upstream success502; raw access/refresh values never reach browser JSON. New account creation requires agreement for LocalSignup. Explicit current Terms acceptance. Read the returned immutable version. The server-issued presentation is bound to its signup surface and expires after ten minutes. Preserve presentationToken, supply a nonempty actionId, and set accepted to true only after the user agrees. Missing or invalid proof returns 400, stale or reused proof returns 409, and unavailable signing authority returns 503.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/social/complete

Complete a cookie-bound social flow

Completes existing sign-in or redirects a verified new account to /signup/terms. The BFF checks the matching provider flow cookie.

Access: No authentication credential.

Public browser route with the existing same-origin protections; no bearer, internal key or pre-existing browser session is required.

Parameters

code (query, optional)
Existing opaque one-use callback selection; success also requires the matching HttpOnly flow cookie. Never a bearer or refresh token.
{
  "type": "string"
}
flow (query, optional)
Existing opaque one-use callback selection; success also requires the matching HttpOnly flow cookie. Never a bearer or refresh token.
{
  "type": "string"
}
error (query, optional)
Existing opaque one-use callback selection; success also requires the matching HttpOnly flow cookie. Never a bearer or refresh token.
{
  "type": "string"
}
consent (query, optional)
One-use reference bound to the original HttpOnly sign-in cookie.
{
  "type": "string",
  "pattern": "^[a-f0-9]{64}$"
}

Responses

302
Continues to /signup/terms for a first-time account, / after session creation, or the sign-in error page.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Same-origin continuation."
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/auth/social/consent

Get the account awaiting Terms acceptance

Requires the pending HttpOnly provider flow and consent cookies.

Access: No authentication credential.

Original verified provider sign-in and matching browser cookies.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Provider, account email, and presentation context.
{
  "application/json": {
    "schema": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "Microsoft",
            "Google",
            "GitHub"
          ]
        },
        "email": {
          "type": "string"
        },
        "context": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "provider",
        "email",
        "context"
      ],
      "additionalProperties": false
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
410
The sign-in is missing, expired, or already complete.
502
Identity returned an invalid response.
503
Identity is temporarily unavailable.

Link to this operation

POST/api/identity/auth/social/consent

Accept Terms and finish sign-in

Requires the pending HttpOnly provider flow and consent cookies.

Access: No authentication credential.

Original verified provider sign-in and matching browser cookies.

Parameters

X-AppPortal-Session-Version (header, optional)
Required when an existing Dashboard session cookie resolves; anonymous requests without a session do not require it. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, optional)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
X-AppPortal-Consent (header, required)
{
  "type": "string",
  "const": "1"
}

Request body

{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "agreement": {
            "$ref": "#/components/schemas/SignupTermsAcceptance"
          },
          "context": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          }
        },
        "required": [
          "agreement",
          "context"
        ]
      }
    }
  }
}

Responses

204
Session established. The response has no body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Same-origin submission and the consent header are 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. The pending account or Terms changed. Review them again.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
410
The sign-in is missing, expired, or already complete.
413
payload_too_large: signup request exceeds 12,288 bytes. A browser navigation may receive an empty 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/DashboardIdentityProblem"
    }
  }
}
415
Send the signup request as 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid response.
503
Identity is temporarily unavailable.

Link to this operation

POST/api/identity/auth/switch-org

Switch the browser organization

Current active membership, personal-workspace owner rule, active account and explicit denial checks remain authoritative; unavailable organization403. Normal200 atomically rotates the BFF session handle/version/cookies under its per-session lock while preserving the refresh authority. A stale loser409session-changed cannot overwrite winner cookies; malformed upstream success502. Return is the browser summary with optional verified signInIdentity metadata, never AuthTokens.

Access: browserSession + csrfToken

Current authenticated active account subject; server-side session holds and refreshes upstream credentials. Organization authority is never supplied in the request body/header.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityBrowserSession"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
502
Identity returned an invalid token/session success; BFF refuses cookie creation/rotation and never relays the raw upstream 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/external-access/evidence

Read retained external access evidence

Current organization Admin. Optional policyId; bounded complete<=100 legacy source or400pagination_required. Unknown/expired/failed evidence stays its native status, not proof of current access.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
policyId (query, optional)
Optional current organization policy selection, included in protected page binding.
{
  "type": "string",
  "maxLength": 512
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityEvidence"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/external-access/evidence/page

Read a protected external-evidence page

Default25/max100; closed single-value literal query and protected actor/organization/current effective authority/selection/limit continuation. Current active user, unique active organization, active membership and effective grants are re-read after source access. No total is available. Current Admin required. Closed limit/cursor/optional policyId<=512. Evidence timestamps/status/nullable failure remain actual observations.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
policyId (query, optional)
Optional current organization policy selection, included in protected page binding.
{
  "type": "string",
  "maxLength": 512
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityEvidencePage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/external-access/policies

Read external access policies

Current organization-wide Admin required. Bounded complete<=100 legacy source or400pagination_required; no partial array success. Personal workspaces retain neutral management masking. Policy metadata never grants current provider authority.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityPolicies"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/external-access/policies

Create an external access policy

Organization Admin and explicit administrator of the linked Enterprise customer with a current confirmed Enterprise offer required. Provider/requirement/authority/resource/role must be a supported coherent selection; no PlatformOperator grants and no personal Microsoft authority. Native enabled defaulttrue and requireCurrentProvider defaultfalse preserved. No HTTP command-key protocol is added.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

201
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/external-access/policies/{policyId}

Delete an external access policy

Organization Admin only; selected policy, membership reconciliation and audit use the existing service. Successful204 has no body; missing404.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
policyId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

PUT/api/identity/external-access/policies/{policyId}

Update an external policy

Organization Admin only; enabling a policy also requires explicit administration of the linked Enterprise customer and a current confirmed Enterprise offer. Current scoped policy and coherent provider requirements required. Send the full rule. A Team rule can only be paused or resumed and keeps its target.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
policyId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/external-access/policies/{policyId}/directory-detail

Read one external policy

Current organization Admin; no query, exact literal policyId<=512, neutral404 for inaccessible/missing policy.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
policyId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/ExternalAccessPolicyRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/external-access/policies/page

Read a protected external-policy page

Default25/max100; closed single-value literal query and protected actor/organization/current effective authority/selection/limit continuation. Current active user, unique active organization, active membership and effective grants are re-read after source access. No total is available. Current token AND effective organization Admin required. Closed limit/cursor only, id:C ascending.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityPolicyPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/external-access/settings

Read organization access-refresh settings

Organization Admin only; actual settings distinguish configured refresh hours from current provider access. canConfigureDirectory reports the current subject's verified Enterprise customer and organization setup authority. For other direct organization admins, microsoftGroupDirectoryIds lists connected Entra directories available with their own linked accounts. The default refresh interval is 24 hours.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAccessSettings"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

PUT/api/identity/external-access/settings

Set organization access-refresh interval

Organization Admin only; externalAccessRefreshHours1–24 with existing Enterprise check when not24. Native omission/default handling retained; no synthetic plan/contract inference or new idempotency.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationAccessSettings"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/invitations

Read audited organization invitation management records

Admin only. Native limit defaults100/range1..100; after is the existing protected invitation cursor. Array body plus optional X-AppPortal-Next-Cursor header. This mailbox-bearing private management record is distinct from anonymous invitation preview; no claim token is returned.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Existing invitation page limit.
{
  "type": "integer",
  "default": 100,
  "minimum": 1,
  "maximum": 100
}
after (query, optional)
Existing opaque invitation continuation, not the directory cursor protocol.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.

Response headers

{
  "X-AppPortal-Next-Cursor": {
    "schema": {
      "type": "string"
    },
    "description": "Present only when the native invitation source has another page."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityInvitationManagement"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/invitations/{invitationId}/reissue

Reissue an existing invitation

Admin only. expectedRevision must match current invitation; existing purpose/admission/role/mailbox checks apply. Creates the existing managed delivery intent; receipt is not proof that mail arrived. No raw mailbox claim credential is returned.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
invitationId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/OrganizationInvitationSummary"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/invitations/{invitationId}/revoke

Revoke an existing invitation

Admin only; expectedRevision/current invitation and actor rechecked. RevokeAccess remedy semantics remain. Successful204 no body.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
invitationId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/invitations/page

List organization invitations

Returns invitation summaries and recipient emails. Pass nextCursor as cursor to read the next page.

Access: browserSession

Requires an active organization Admin. The current account, membership and organization permissions are checked again before returning the page.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "no-store, private"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityInvitationPage"
    }
  }
}
400
identity_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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/mcp/authorization-requests/{requestHandle}

Read a pending MCP consent request

Opaque existing pending handle; missing404. Returns only sanitized client metadata, requested scopes/return destination/expiry and currently eligible organizations/apps. ClientMetadataVerified is not impliedtrue. Reading is not approval, credential issuance or a product entitlement.

Access: browserSession

Current authenticated account with real eligible customer organization/app grants; consent delegates only currently requested supported scopes and actual accessible sources.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
requestHandle (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/McpAuthorizationRequest"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/mcp/authorization-requests/{requestHandle}/approve

Approve exact current MCP customer access

Explicit organizationAccessPolicy and currently eligible grants; selected allowlists must be nonempty/current, all-access must not include selected grants, requested scopes only, crash management requires read and assignment requires management. All granted organizations are fenced in stable order under current CreateCredential operation. Response has redirectUri and actual connection (nullable by DTO); browser navigates to registered return destination. One-use authorization code is not an access/refresh bearer. Unknown result requires current state reconciliation, not expanded consent or a replacement request.

Access: browserSession + csrfToken

Current authenticated account with real eligible customer organization/app grants; consent delegates only currently requested supported scopes and actual accessible sources.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
requestHandle (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/McpAuthorizationApproval"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/mcp/authorization-requests/{requestHandle}/deny

Deny a pending MCP authorization

Authenticated selected organization required. Current pending handle must exist; creates native denial response with redirectUri and nullable connection, records current audit, and consumes only that pending authorization. No request body or invented idempotency header.

Access: browserSession + csrfToken

Current authenticated account with real eligible customer organization/app grants; consent delegates only currently requested supported scopes and actual accessible sources.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
requestHandle (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/McpAuthorizationApproval"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/mcp/connections

Read organization customer MCP connections

Complete<=100 connection array or409pagination_required; no fabricated ownership field on legacy items. Current organization-wide all-app Admin and live connection authority rechecked, including operational ReadExistingData policy. No stored tokens/client secrets.

Access: browserSession

Current authenticated all-app organization Admin; route Admin/AppOwner gate alone is insufficient for organization connection page/exclusion authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityMcpConnections"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/mcp/connections/{connectionId}/action-approvals

Approve the exact current MCP action preview

Requires the same current authenticated Portal user who authorized the connection, real browser session, CSRF and session version. The fixed domain resolver authenticates the preview, current roles/capabilities, app visibility and actual resource impact. Approval binds connection, subject, organization/app/environment, caller key, exact preview/body, resource state, policy revision and expiry. No resource action is executed here. Return approvalReference separately as humanApprovalReference on the matching MCP apply; a caller Boolean or preview token alone is not approval.

Access: browserSession + csrfToken

Current browser user who authorized this connection, with current required action role/capability and app access; no new approver role or expanded authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
Idempotency-Key (header, required)
Unchanged original domain preview selection or caller operation key; the protected preview and current server authority remain authoritative.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/McpActionApproval"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/mcp/connections/{connectionId}/action-policy

Review organization action permissions

Lists current policy and the implemented actions individually consented to by the connection author.

Access: browserSession

Current organization Admin with authority over this connection.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/McpOrganizationActionPolicyResponse"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

PUT/api/identity/mcp/connections/{connectionId}/action-policy

Update organization action permissions and limits

Requires a current authenticated Portal session, same-origin CSRF and session version; developer/MCP bearer tokens cannot configure it. Provide expectedRevision to update the selected organization. Approved actions must be supported and previously consented to by the connection author. An empty approvedActionScopes array revokes all actions. Omitting that field preserves existing permissions. Concurrent changes return 409. The server audits each update.

Access: browserSession + csrfToken

Current live all-app organization Admin and current organization membership; portfolio sibling administration is insufficient.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/McpActionSafetyPolicy"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/mcp/connections/{connectionId}/exclude-organization

Exclude the current organization from an existing MCP connection

Current all-app Admin required; excludes only selected organization through current boundary service. Successful204; stale source409mcp_connection_changed, missing404, denied403. Does not revoke unrelated customer organizations or invent scope grants.

Access: browserSession + csrfToken

Current authenticated all-app organization Admin; route Admin/AppOwner gate alone is insufficient for organization connection page/exclusion authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/mcp/connections/{connectionId}/revoke

Revoke a current organization customer connection

Current Admin/AppOwner route and selected organization/customer connection ownership checks apply; inaccessible/missing404. Successful204 audits existing revocation and returns no token/body.

Access: browserSession + csrfToken

Current authenticated selected organization Admin/AppOwner with native customer connection scope and operational RevokeAccess authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/mcp/connections/page

Read a protected organization connection page

Default25/max100 closed limit/cursor. Protected current actor, signed claims, organization/current grants and limit. Each item includes current ownedByCurrentUser explicitly evenfalse; no partial healthy page after authority changes. Current permission loss403management_page_access_denied; unavailable503management_page_unavailable. Reads are audited.

Access: browserSession

Current authenticated all-app organization Admin; route Admin/AppOwner gate alone is insufficient for organization connection page/exclusion authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityMcpConnectionPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/mcp/my-connections

Read connections authorized by the current account

Current authorized subject, not email/display actor. Complete<=100 connection array or409pagination_required. Current source authority rechecked/audited; no stored tokens or client secrets.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityMcpConnections"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/mcp/my-connections/{connectionId}/revoke

Revoke a connection authorized by this account

Current selected audit organization and exact stored AuthorizedSubject required. Only Customer/CustomerPortfolio kinds; mismatch is neutral404. Existing grants are audited per affected organization; successful204 no body. It is not platform impersonation or a revoke of another author connection.

Access: browserSession + csrfToken

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
connectionId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Current owned or eligible resource is unavailable; no inaccessible account/provider/connection details are disclosed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/mcp/my-connections/page

Read own protected MCP connection page

Default25/max100 closed limit/cursor, protected signed/current actor/source selection and limit. Customer/CustomerPortfolio connection metadata includes explicit current ownedByCurrentUser; totalCountnull and nextCursor nullable. Does not imply organization-wide administration.

Access: browserSession

Current active authenticated global account subject; linked identities/provider connections are owner-scoped, independent of selected organization membership.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityMcpConnectionPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/teams

Read native organization teams

Complete original Team array only within100 teams AND100members in each team. Overflow409 identity_teams_pagination_required or identity_team_members_pagination_required directs callers to /teams/page and each /teams/{teamId}/members/page. Bounded native SQL preserves original database team-name order; only proven complete rosters retain original member ordering. No business resource cap or partial success.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityTeams"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy representation exceeds100rows (or a nested roster exceeds100): identity_teams_pagination_required or identity_team_members_pagination_required. Use the same-authority explicit page route; no partial array or business capacity limit is implied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/teams

Create an organization team

Admin or AppOwner; nonblank name, actual app/capability fields preserved. Optional keyed mode binds stable subject/current organization/canonical request; same receipt replays original team without recreating deleted state. Keyless compatibility remains. Conflict409 idempotency_key_conflict; uncertain503team_create_outcome_unavailable. No key is invented for existing update/delete methods.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
Idempotency-Key (header, optional)
Exactly one bounded nonempty control-free key using the existing trimmed reader. Repeated/invalid400. Reuse the same immutable body and key after an unknown outcome; no automatic replacement intent. This key is not an authority grant.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Request body

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

Responses

201
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Team"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/teams/{teamId}

Delete a team

Admin or AppOwner; selected organization/team only. Successful204 has no body; missing404.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
teamId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

PUT/api/identity/teams/{teamId}

Update a team

Admin or AppOwner; nonblank name and existing scoped team required. Current native update/audit semantics; no HTTP idempotency or revision protocol is introduced.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
teamId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Team"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/teams/{teamId}/directory-detail

Read one team directory summary

No query accepted; looks up exact current organization/team and returns neutral404 when unavailable. Does not embed all members.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
teamId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/TeamDirectoryEntry"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/teams/{teamId}/members

Add an active organization member to a team

Admin or AppOwner; userId must be a current active member of the selected organization. Returns updated full Team, not a fabricated roster page. Promotion/audit stays atomic.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
teamId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/Team"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/teams/{teamId}/members/{userId}

Remove a team member

Admin or AppOwner; removes only the selected team membership and records existing audit. Successful204, missing404.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
teamId (path, required)
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Responses

204
Successful operation; no response body.
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/teams/{teamId}/members/page

Read one bounded team roster

Default25/max100; closed single-value literal query and protected actor/organization/current effective authority/selection/limit continuation. Current active user, unique active organization, active membership and effective grants are re-read after source access. No total is available. Optional search<=200; selected team must exist in the current organization or404.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
teamId (path, required)
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
search (query, optional)
Optional bounded literal search; current store applies it before the page.
{
  "type": "string",
  "maxLength": 200
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityTeamMemberPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/teams/page

Read a bounded team directory

Default25/max100; closed single-value literal query and protected actor/organization/current effective authority/selection/limit continuation. Current active user, unique active organization, active membership and effective grants are re-read after source access. No total is available. Optional search<=200; memberCount is an aggregate, not an embedded complete roster.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
search (query, optional)
Optional bounded literal search; current store applies it before the page.
{
  "type": "string",
  "maxLength": 200
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityTeamPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/users

Read organization members

Complete native member array only within100, otherwise409 identity_members_pagination_required directing callers to /users/page?limit=25. Current authority checked before and after bounded SQL transfer; original Email ordinal order and ignored legacy query semantics retained. Membership status, roles and provisioning fields are unchanged.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityMembers"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy representation exceeds100rows (or a nested roster exceeds100): identity_members_pagination_required. Use the same-authority explicit page route; no partial array or business capacity limit is implied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

DELETE/api/identity/users/{userId}

Remove organization membership and record explicit access denial

Admin only; optional reason query retains current native meaning. Removing the last active administrator conflicts. Successful200 returns the denial record, not204 or user deletion. Current removal/recovery and notification semantics remain native.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}
reason (query, optional)
Optional native removal reason; not a separate grant or supplied actor.
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AccessDenialRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/users/{userId}/access-denials

Read explicit denials for a member

Admin or AppOwner in token and current authority. Complete retained user restriction history including restored records within100; original null Email/DisplayName fields and SQL app order retained. Overflow409 identity_denials_pagination_required directs to the SAME-AUTHORITY /users/{userId}/access-denials/page, not the stricter Admin-only organization page. Empty does not grant membership or restoration.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityDenials"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy representation exceeds100rows (or a nested roster exceeds100): identity_denials_pagination_required. Use the same-authority explicit page route; no partial array or business capacity limit is implied.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/users/{userId}/access-denials/page

Read retained user restrictions with the same manager authority

Default25/max100; ONLY single-value limit/cursor. Exact organization/user selection includes restored history, keeps Email/DisplayName null and does not infer current membership. Current active user, organization, membership, denial and Admin/AppOwner authority rechecked around bounded SQL. Protected cursor binds actor/current grants/selected user/limit and C-collated denial-ID order. totalCount is the native matching count at this read, not a cross-page snapshot; missing totals remain unknown.

Access: browserSession

Validated organization Admin or AppOwner AND current effective CanManageApps; independent from the Admin-only organization denial directory. Browser session/CSRF boundaries and no-store remain unchanged.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityDenialPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/users/{userId}/apps/{appId}/deny

Change explicit organization/app access

Admin or AppOwner; records an explicit app denial under the current selected organization. Missing user/denial404. Transient restoration failures are unavailable/retryable, not a successful empty response; never reflect private provider diagnostics.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
appId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AccessDenialRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/users/{userId}/apps/{appId}/restore

Change explicit organization/app access

Admin or AppOwner; restores an existing app denial under the current selected organization. Missing user/denial404. Transient restoration failures are unavailable/retryable, not a successful empty response; never reflect private provider diagnostics.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
appId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AccessDenialRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/users/{userId}/directory-detail

Read one organization membership

No query accepted; missing/inaccessible current organization resource404. Detail is looked up directly rather than assumed absent from a loaded page.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MembershipRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/users/{userId}/restore

Change explicit organization/app access

Admin only; restores existing organization denial without inventing membership or role. Missing user/denial404. Transient restoration failures are unavailable/retryable, not a successful empty response; never reflect private provider diagnostics.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
userId (path, required)
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AccessDenialRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
404
Neutral unavailable/missing current organization resource; no inaccessible member, credential or provider detail is exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

POST/api/identity/users/invite

Invite a member or create a mailbox-proof invitation

Admin only. Normal mode creates201 invited membership; promotion of an existing externally provisioned membership returns200. Restricted admission returns200 OrganizationInvitationSummary and requires actual delivery/claim workflow; it does not create general waitlist admission or disclose a claim token. Explicit removal conflicts until restored. PlatformOperator is never an assignable organization role.

Access: browserSession + csrfToken

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
X-AppPortal-CSRF (header, required)
Matching current CSRF cookie value for session-backed unsafe requests; same-origin checks also apply. Anonymous signup does not require an invented prior session.
{
  "type": "string"
}

Request body

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

Responses

200
Restricted-admission invitation summary or existing membership promotion; actual server mode decides.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/OrganizationInvitationSummary"
        },
        {
          "$ref": "#/components/schemas/MembershipRecord"
        }
      ]
    }
  }
}
201
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/MembershipRecord"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder/media validation rejects unsupported content; some native handlers use400instead. No alternate content format is introduced.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
423
Existing account operational policy can deny this mutation; retain actual error/errorCode aliases and recovery semantics.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/identity/users/page

Read a bounded organization-member page

Default25/max100; closed single-value literal query and protected actor/organization/current effective authority/selection/limit continuation. Current active user, unique active organization, active membership and effective grants are re-read after source access. No total is available. Additional selectors are search<=200, exact MembershipStatus name status and excludeTeamId<=512.

Access: browserSession

Current authenticated organization workspace; mutations require actual Admin/AppOwner roles as indicated, with server-selected scope and existing operational policy.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One bounded decimal page size. The exact handler's closed selection and literal validation remain authoritative.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque protected continuation from this exact collection/subject/current scope/selection/limit. Do not inspect it, replace it with an ID or reuse it after authority/selection changes. Nullable nextCursor means no next page; null totalCount is unknown, not zero.
{
  "type": "string",
  "maxLength": 8192
}
search (query, optional)
Optional bounded literal search; current store applies it before the page.
{
  "type": "string",
  "maxLength": 200
}
status (query, optional)
Exact declared MembershipStatus name; defined values are checked by the handler.
{
  "type": "string",
  "enum": [
    "Invited",
    "Active"
  ]
}
excludeTeamId (query, optional)
Exclude membership in the selected current organization team, without caller-owned authority.
{
  "type": "string",
  "maxLength": 512
}

Responses

200
Actual source-owned browser response projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/IdentityMemberPage"
    }
  }
}
400
Native selection/body validation; fixed public management code/message where authored. Framework binders 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/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
401
No usable current authenticated session, or the existing authentication validation rejected it. This never means a permanent SDK purge disposition.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
403
Current authority, admission, app visibility, role, same-origin or session-bound CSRF validation denied the operation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Current source/revision or immutable command conflict where applicable. A session-changed pre-dispatch conflict requires reloading the current browser scope.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current source or dependency unavailable; unknown does not become empty/zero/success. Reconcile a mutation using its original command identity.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardIdentityProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native BFF/auth error JSON remains distinct from handler-owned ProblemDetails. Do not infer upstream token or private provider detail fields."
    }
  }
}

Link to this operation

GET/api/links/domain-binding

Read the selected environment's domain binding

A missing binding returns sanitized 404 rather than 200 null. Nullable lockedAt retains its actual lifecycle meaning.

Access: browserSession

Current selected account/app visibility and explicit environment

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainBindingRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

PUT/api/links/domain-binding

Select an approved domain binding

Requires an approved active account-owned host for this explicit app/environment. Host exclusivity and locked-binding conflicts retain native 409; Active defaults true. There is no idempotency-key or MCP confirmation protocol on this existing route.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainBindingRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/domain-binding/identities

List native identities on the selected binding

No selected binding is 404; an existing binding with no identities returns an empty array. No native association or device acceptance is inferred. Legacy compatibility now proves the complete collection within100 rows using a100+1 source read. Query selectors are rejected. Overflow409pagination_required directs callers to the same resource at /page; no silent truncation or resource quota is added. Existing array200 and current authority/binding semantics remain.

Access: browserSession

Current selected account/app visibility and explicit environment

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppLinkIdentities"
    }
  }
}
400
Legacy query selectors are invalid; smart_link_infrastructure_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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Legacy collection cannot be proved complete within100; pagination_required. Dashboard session-changed is the separate pre-dispatch browser 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current infrastructure source unavailable; smart_link_infrastructure_unavailable. Do not infer empty, unlocked or not-ready 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

POST/api/links/domain-binding/identities

Register a native identity on the selected active binding

iOS requires an exact bundleId and 10-character uppercase alphanumeric appIdPrefix; Android requires exact packageName and 32 colon-separated hexadecimal fingerprint bytes. Platform aliases are normalized by the actual policy. The selected binding supplies the stored environment/host; caller Environment is not a retargeting grant. The selected handler returns its constructed record with201 after the store add; side-by-side native identity conflict is409. It does not read an Idempotency-Key or promise a retained receipt replay.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

201
Actual management response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; does not declare another HTTP route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppLinkIdentityRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

DELETE/api/links/domain-binding/identities/{identityId}

Delete a native identity from the selected binding

The identity must belong to the selected account/app/binding. Missing or mismatched resource is sanitized 404. Successful 204 has no body.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
identityId (path, required)
{
  "type": "string"
}

Responses

204
Successful deletion; no body.
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/domain-binding/identities/page

Read native identity pages on the current binding

Existing app/environment/observability selection is required. Current user, membership, app access and denials are rechecked before and after the bounded identity read, then the binding ID/domain/host is reread. Missing or foreign selection is a neutral404; unsupported/inconsistent owner source503. The cursor binds current account/app/environment/target/platform/limit and binding, so loaded identities cannot determine duplicate authority, locking or full native readiness. This read does not change identity, CAS, idempotency, DNS or public association documents. Closed limit/cursor query (plus platform only on identity pages); limit defaults25/range1..100, opaque cursor<=8192. The caller forwards it unchanged under the same immutable user/current claims and selected scope. Actual PagedResult items/nextCursor/totalCount are retained; totalCount:null is unknown, never zero. Rejected selection does not silently restart traversal.

Access: browserSession

Current active user/account/app visibility and selected environment; original app/observability filters remain.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Single native decimal bound; invalid values are not clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque current user/claims/workspace/binding/selection continuation; no invented expiry is documented.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
platform (query, optional)
Optional iOS or Android, case-insensitive native enum parsing with defined numeric1/2 compatibility. Other platforms are rejected, not silently ignored.
{
  "type": "string"
}

Responses

200
Actual management response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkInfrastructureIdentityPage"
    }
  }
}
400
Invalid closed selection or continuation; smart_link_infrastructure_page_invalid. Original missing-scope boundary 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current infrastructure source/authority/binding evidence unavailable; smart_link_infrastructure_unavailable. No successful empty or false 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/domain-binding/state

Read authoritative current Smart Link configuration facts

No query selectors. A finite source-owned summary independent of loaded domain/identity pages: current binding/domain, app-directory-selected production binding/domain and current environment-family variant existence, whole-binding link/identity existence and configured Apple/Android identity facts. Explicit null binding/domain/productionDomain and false flags remain present; unavailable source is not a negative readiness assertion. A missing current binding may be represented by these explicit null/false facts, while missing/foreign authorized scope is neutral404. Configuration readiness is not device verification, provider publication or installation evidence; no plan/grant/locking mutation occurs.

Access: browserSession

Current active user/account/app visibility and selected authoritative environment; original app/observability filters remain.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual management response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkInfrastructureState"
    }
  }
}
400
Invalid closed selection or continuation; smart_link_infrastructure_page_invalid. Original missing-scope boundary 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current infrastructure source/authority/binding evidence unavailable; smart_link_infrastructure_unavailable. No successful empty or false 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/domains

List the current account's domain records

Account-scoped list; no app/environment selector is required by this handler. Includes current review/assignment projections; nullable assignments do not authorize binding. Empty array is valid. Legacy compatibility now proves the complete collection within100 rows using a100+1 source read. Query selectors are rejected. Overflow409pagination_required directs callers to the same resource at /page; no silent truncation or resource quota is added. Existing array200 and current authority/binding semantics remain.

Access: browserSession

Authenticated current account selection

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomains"
    }
  }
}
400
Legacy query selectors are invalid; smart_link_infrastructure_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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Legacy collection cannot be proved complete within100; pagination_required. Dashboard session-changed is the separate pre-dispatch browser 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current infrastructure source unavailable; smart_link_infrastructure_unavailable. Do not infer empty, unlocked or not-ready 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

POST/api/links/domains/availability

Check a bounded set of candidate domain labels

Requires 1–10 labels in the account scope. Returns the configured primaryDomain and candidate-specific availability/ownership/reason; no hardcoded domain suffix or registration/provider acceptance is asserted. This read uses POST and retains the BFF's unsafe-method protections.

Access: browserSession + csrfToken

Authenticated current account selection

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainAvailabilityResponse"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

POST/api/links/domains/environments

Create or reuse a configured environment domain variant

Uses an approved base family and a configured app environment. An existing result is 200; a newly created record is 201. DNS provisioning/cleanup follows the existing service implementation. 409 smart_link_dns_reconciliation_required with dnsCompensationRequired=true means review the domain state before retrying; it does not prove provider deployment. This Dashboard workflow is separate from the protected-agent HTTP door; neither selected route adds a new confirmation or replay protocol.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainRecord"
    }
  }
}
201
Actual management response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; does not declare another HTTP route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/domains/page

Read current account domain pages

Account-wide domain records; no concrete application or environment is required. Current active user, unique active account and Active membership are rechecked before and after the bounded source read. Optional app/environment/target workspace headers bind the selection and continuation only; they are never authority to read another account. RequestedAt ascending then C-collated domain-ID ascending source keyset. Review/assignment/family fields remain actual records; a domain row is not a binding or publication grant. Closed limit/cursor query (plus platform only on identity pages); limit defaults25/range1..100, opaque cursor<=8192. The caller forwards it unchanged under the same immutable user/current claims and selected scope. Actual PagedResult items/nextCursor/totalCount are retained; totalCount:null is unknown, never zero. Rejected selection does not silently restart traversal.

Access: browserSession

Current active user/account/membership; optional workspace selection does not grant account authority.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Single native decimal bound; invalid values are not clamped.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque current user/claims/workspace/binding/selection continuation; no invented expiry is documented.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual management response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkInfrastructureDomainPage"
    }
  }
}
400
Invalid closed selection or continuation; smart_link_infrastructure_page_invalid. Original missing-scope boundary 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current infrastructure source/authority/binding evidence unavailable; smart_link_infrastructure_unavailable. No successful empty or false 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

POST/api/links/domains/requests

Request a domain family for an app

Requires a viewable app with a production environment. Additional environments must belong to that app. Returns the requested base record; review/approval remains its actual state, not a deployment promise. The Location header is the native domain identifier, not an additional declared GET route.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

201
Actual management response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; does not declare another HTTP route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkDomainRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

DELETE/api/links/domains/requests/{domainId}

Withdraw a domain request

Admin may withdraw in the selected account; AppOwner must match the request's app. Missing resources are sanitized 404; a conflicting lifecycle is 409. Successful 204 has no body.

Access: browserSession + csrfToken

Current selected account/app visibility; Admin or matching AppOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
domainId (path, required)
{
  "type": "string"
}

Responses

204
Successful deletion; no body.
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/links

List managed links in the selected environment

A complete-small-list response is bounded at100; another row returns409 smart_link_pagination_required and directs callers to /links/page. Source failures are unavailable, not an empty list. Empty array is valid. totalClicks is included only for authorized analytics list responses; omission is not zero. IDs, binding snapshot and destinations are management fields, distinct from the public resolver.

Access: browserSession

Current selected account/app visibility and explicit environment

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinks"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. Complete legacy list exceeds100; smart_link_pagination_required. Use /api/links/links/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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

POST/api/links/links

Create a managed Smart Link

Creates under the selected approved active domain binding. Slug, display name and destination acceptance are validated by the service. The public URL is returned from the actual binding; no fixed host or provider deployment is promised. The selected direct create handler has no Idempotency-Key or durable keyed receipt protocol.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

201
Actual management response DTO.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; does not declare another HTTP route."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

DELETE/api/links/links/{linkId}

Delete a managed link

Deletes only the selected account/app/environment link and records its audit event. Successful 204 has no JSON body.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
linkId (path, required)
{
  "type": "string"
}

Responses

204
Successful deletion; no body.
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/links/{linkId}

Read one managed link

Reads only the selected account/app/environment; missing resource is sanitized 404.

Access: browserSession

Current selected account/app visibility and explicit environment

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
linkId (path, required)
{
  "type": "string"
}

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

PUT/api/links/links/{linkId}

Update a managed link

Retains the selected management scope and existing native slug/destination validation. This existing update has no idempotency-key or MCP confirmation protocol.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
linkId (path, required)
{
  "type": "string"
}

Request body

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

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkRecord"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. smart_link_conflict: native lifecycle, binding, uniqueness conflicts. Environment DNS reconciliation has its additional exact code/flag. BFF session conflict is 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": true,
          "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/links/{linkId}/stats

Read authorized Smart Link funnel statistics

Requires ViewAnalytics for the selected app. Legacy totals coexist with nullable funnel, destination/platform/browser and recent-journey evidence. A missing optional projection is not a measured zero or installation proof.

Access: browserSession

Current selected account/app visibility and explicit environment; ViewAnalytics capability

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
linkId (path, required)
{
  "type": "string"
}

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkClickStats"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

POST/api/links/links/copy

Copy selected links to another configured environment

Choose 1–200 links and a different configured target environment with an approved binding. Skip is the DTO default conflict behavior. A successful result retains requestedCount, copied records, skippedSlugs and missingLinkIds; it does not imply every requested link was copied. The handler returns 200 only when error is null; a domain error is 400. This selected direct copy handler has no Idempotency-Key or durable keyed receipt protocol. Reconcile the returned per-link outcomes before retrying.

Access: browserSession + csrfToken

Current selected account/app visibility and explicit environment; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkCopyResult"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Unsupported JSON media type rejected by the existing binder before mutation; 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
423
Current account operational policy denies the unsafe request. The BFF may prevent dispatch with its own scope/version errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
503
Current account operational policy is unavailable. This is not an empty list, permission grant or confirmed 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/links/links/page

Read one current-authority Smart Link page

Default limit is 25. The closed query accepts only one lowercase limit and cursor. Decimal limit is 1–100; whitespace/signs are rejected. The protected cursor binds collection, actor, account, app and normalized environment/platform/target selection, limit and analytics access. Current stored authority is rechecked after reading; loss is hidden by 404, changed analytics access is 403 smart_link_authorization_changed. nextCursor is nullable; totalCount is null, not zero. No Link header is emitted.

Access: browserSession

Current selected account/app visibility and explicit environment

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque continuation from this same selection; nonblank, control-free, one value. Invalid query gives smart_link_page_invalid; invalid/mismatched cursor gives smart_link_cursor_invalid. Restart from the first page when selection changes.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual management response DTO.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string",
      "const": "private, no-store"
    },
    "description": "Set after valid explicit scope, including subsequent page failures."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/SmartLinkPage"
    }
  }
}
400
Malformed input or missing required selected scope; smart_link_invalid. Framework body/query parsing 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
401
Authenticated Dashboard session required. The page handler uses authentication_required; middleware 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/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
403
Current authority/capability/role denied. CSRF/origin/session-version checks remain the BFF's separate native protocol.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
404
resource_not_found: sanitized missing or inaccessible resource; no private account/app/host/provider details are exposed.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
smart_link_page_unavailable: the list cannot be confirmed. This is not an empty result. Current operational-policy failures retain their own native errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSmartLinkProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "additionalProperties": true,
      "description": "Existing BFF/native error JSON is distinct from handler ProblemDetails; do not parse every failure as one envelope."
    }
  }
}

Link to this operation

GET/api/location/events

Read the compatible complete Location collection

Compatible LocationEventRecord array, not the new label wrapper. This authorized management payload can include precise position and subject identity; trigger attributes retain only DeviceAndTelemetry, excluding DeviceOnly/PortalOnly. Legacy limit defaults 200. Environment defaults to selected environment; geofenceId, placeId, kind, subjectId, from, to retain native parsing. UTC date filters are inclusive. Missing/unavailable data is not an empty array. This is explicitly a bounded recent-window projection, default 200 clamped 1–1000, not a claim of complete history. It has no continuation; use /events/page for traversal. Current owner/source and authority are reopened/revalidated; loss 404, unavailable 503. Cache-Control private, no-store.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
environment (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
geofenceId (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
placeId (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
subjectId (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
kind (query, optional)
Defined LocationEventKind; case-insensitive names/defined numeric Enum.TryParse forms.
{
  "type": "string"
}
from (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}
limit (query, optional)
Legacy recent window clamps 1–1000; this array does not represent complete history.
{
  "type": "integer",
  "default": 200
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationEvents"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/events/page

Read one protected Location event history page

Closed query, one trimmed control-free value per field. Default limit 25, max 100. Stable occurredAt DESC, eventId DESC continuation binds current authority/exact filters. Optional environment must equal selected environment ignoring case and is replaced by canonical selection; it cannot retarget. Invariant UTC from/to require from<=to; inclusive endpoints on this Dashboard path. Kind accepts defined case-insensitive names and native defined numeric forms. Items wrap {event, geofenceName, subjectDisplayName}; unavailable labels stay null. Authorized management telemetry can include precise location and identity. Trigger context excludes DeviceOnly/PortalOnly attributes; only DeviceAndTelemetry is projected. Nullable nextCursor/totalCount, not invented zero. Source/current authority revalidated; read audited.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned decimal; whitespace/signs rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque selection-bound continuation, not an offset/page number.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
environment (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
geofenceId (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
placeId (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
subjectId (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
kind (query, optional)
Defined LocationEventKind; case-insensitive names/defined numeric Enum.TryParse forms.
{
  "type": "string"
}
from (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationEventPage"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/events/series

Read daily Location event counts

Actual MetricSeriesPoint array: bucketStart and numeric value. Optional environment defaults to selected environment; kind accepts defined case-insensitive enum forms. from/to are inclusive on this Dashboard path. Store-observed counts are not presence, delivery or billing.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
environment (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
kind (query, optional)
Defined LocationEventKind; case-insensitive names/defined numeric Enum.TryParse forms.
{
  "type": "string"
}
from (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationEventSeries"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/events/summary

Read the operational Location event summary

Actual rollup: eventsByKind, lowConfidence, stale, total. It does not contain activeGeofenceCount/syncFailure. Optional environment defaults to selection; from/to inclusive. Successful measured zero differs from unavailable requests.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
environment (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 512
}
from (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}
to (query, optional)
Native UTC filter, inclusive on this Dashboard path.
{
  "type": "string",
  "format": "date-time"
}

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationEventSummary"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/geofence-tags

Read the compatible complete Location collection

Compatible complete tag array ordered by tag. Stored catalog rows do not carry a mutation's affectedGeofence receipt. Complete-proof limit is 100; overflow 409 pagination_required uses the corresponding protected page route. Never silently cropped. Current owner/source and authority are reopened/revalidated; loss 404, unavailable 503. Cache-Control private, no-store.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationTags"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: legacy collection cannot be represented completely; use the protected 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

PUT/api/location/geofence-tags/{tag}

Update a tag cooldown policy

Tag uses at most 64 letters, numbers, hyphens, underscores, dots or colons. One cooldown per Enter/Exit/Dwell, 1 second through 365 days. Optional expectedRevision protects the tag. An explicit expectedGeofence adds a scoped target-revision CAS and affectedGeofence receipt from the same transaction; that receipt is never stored in the catalog. No separate Dashboard preview-token protocol.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tag (path, required)
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationTag"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/geofence-tags/page

Read one protected Location tags page

Closed query, one value per declared field. Literals are trimmed, nonblank, control-free. Unsigned decimal limit 1–100(default 25), cursor up to 8192, search up to 200. Cursor binds collection, actor, current account/app/authority, selection, limit, filters and stable ordinal key order. Authority is rechecked after materialization. nextCursor/totalCount are explicitly nullable; unknown totalCount=null, not zero. Tags use ordinal tag order. activeOnly is not accepted, including explicit false.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned decimal; whitespace/signs rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque selection-bound continuation, not an offset/page number.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationTagPage"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/geofence-tags/selection

Read selected tag definitions

Only repeated tag query fields accepted:1–20 unique ordinal, trimmed, nonblank, control-free values of at most 64 characters. Current authority/source are rechecked. This bounded reference read is not the full catalog.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
tag (query, required)
Repeated form/explode query values.
{
  "type": "array",
  "minItems": 1,
  "maxItems": 20,
  "items": {
    "type": "string",
    "minLength": 1,
    "maxLength": 64
  },
  "uniqueItems": true
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationTags"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/geofences

Read the compatible complete Location collection

Compatible complete GeofenceRecord array ordered by name, not the new page wrapper. This legacy handler does not bind search/activeOnly filters. Complete-proof limit is 100; overflow 409 pagination_required uses the corresponding protected page route. Never silently cropped. Current owner/source and authority are reopened/revalidated; loss 404, unavailable 503. Cache-Control private, no-store.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationGeofences"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: legacy collection cannot be represented completely; use the protected 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/geofences

Create a geofence

Radial latitude−90..90, longitude−180..180, radius 25–10000 meters. Polygon uses 3–256 finite non-crossing vertices; server derives its envelope. Up to 20 tags, defined monitored transitions and validated cooldown inheritance retain native semantics. A stable scoped key selects the same create resource; changed payload is 400. No device synchronization or continuous-tracking success is implied.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one header, trimmed before validating 8–128 ASCII letters, digits, hyphen, underscore, dot, colon. Preserve key/payload after uncertainty; changed payload 400, not another create. No Idempotency-Replayed header is promised.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 128,
  "pattern": "^[A-Za-z0-9_.:-]{8,128}$"
}

Request body

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

Responses

201
New resource or same-key deterministic create replay.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; no extra Dashboard GET route is promised."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationGeofence"
    }
  }
}
400
location_idempotency_key_required for a missing/invalid key; location_management_invalid for changed same-key payload or domain input.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

PUT/api/location/geofences/{geofenceId}

Update a geofence

Radial latitude−90..90, longitude−180..180, radius 25–10000 meters. Polygon uses 3–256 finite non-crossing vertices; server derives its envelope. Up to 20 tags, defined monitored transitions and validated cooldown inheritance retain native semantics. Optional expectedRevision and current CAS guard stale updates. clearPlaceLink cannot accompany placeId. A tag-inherited cooldown cannot also be assigned by the geofence for that transition. Success advances revision/configuration; no request-key or agent proof is bound.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
geofenceId (path, required)
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationGeofence"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/geofences/{geofenceId}/deactivate

Deactivate a geofence

No body is bound. Current-revision CAS makes the geofence inactive and advances revision/configuration; retained events are not erased.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
geofenceId (path, required)
{
  "type": "string"
}

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationGeofence"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/geofences/bulk-radial/apply

Apply the current radial preview

Domain validation requires request and previewDigest. Recomputes the scoped current preview and fixed-time compares digest. Stale/mismatched digest is 400; changed catalog can be 409. Existing place/template pairs are skipped. Actual result reports selectedLocations, created, skippedExisting, geofences. No all-or-nothing bulk transaction or device-delivery claim: after uncertain/partial outcome reconcile current records and obtain a fresh preview. No Idempotency-Key header is read.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationBulkResult"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/geofences/bulk-radial/preview

Preview bounded radial geofences

Select 1–1000 active locations and 1–10 unique stable-key templates. Each requires name/radius 25–10000 meters. Returns digest, configurationVersion, selectedLocations, plannedCreates, existingGeofences, warnings. Does not write geofences. Digest binds current scope/configuration/request; it is not actor-bound expiring MCP confirmation.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationBulkPreview"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/geofences/page

Read one protected Location geofences page

Closed query, one value per declared field. Literals are trimmed, nonblank, control-free. Unsigned decimal limit 1–100(default 25), cursor up to 8192, search up to 200. Cursor binds collection, actor, current account/app/authority, selection, limit, filters and stable ordinal key order. Authority is rechecked after materialization. nextCursor/totalCount are explicitly nullable; unknown totalCount=null, not zero. Each item is {geofence, place, tagDefinitions}; place can be unavailable. Only selected current references are hydrated.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned decimal; whitespace/signs rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque selection-bound continuation, not an offset/page number.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
activeOnly (query, optional)
Exactly lowercase true/false; omission does not restrict to active rows.
{
  "type": "boolean"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationGeofencePage"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/map-configuration

Read configured map capabilities

Only defaultBasemap and allow-listed {id, label, minimumZoom, maximumZoom} basemaps. No upstream URL, key or attribution appears here. Satellite/combo are optional configured capabilities, not promised enabled providers.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationMapConfiguration"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/map-tiles/{style}/{zoom}/{x}/{y}

Read an allow-listed private map tile

Binary tile, not JSON. Current style catalog and provider zoom range required;0<=x, y<2^zoom. Provider image/* is bounded to1000000 bytes, without a fabricated narrow MIME whitelist. Invalid 400, permanent 424, retryable 503, rate-limited 429. Attribution text is URI-escaped; attribution URL is not upstream endpoint/key. Cache-Control private, max-age=remaining-seconds only while provider eligibility remains, otherwise private, no-store. No public-cache, download-filename or range-response contract.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
style (path, required)
Configured style ID; unstyled route uses map.
{
  "type": "string"
}
zoom (path, required)
{
  "type": "integer",
  "minimum": 0
}
x (path, required)
{
  "type": "integer",
  "minimum": 0
}
y (path, required)
{
  "type": "integer",
  "minimum": 0
}

Responses

200
Configured provider's actual image/* media type and bounded bytes.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Private remaining provider browser-cache eligibility, or private, no-store."
  },
  "X-AppPortal-Map-Attribution": {
    "schema": {
      "type": "string"
    },
    "description": "URI-escaped attribution text."
  },
  "X-AppPortal-Map-Attribution-Url": {
    "schema": {
      "type": "string"
    },
    "description": "Attribution URL, not upstream endpoint/key."
  }
}
{
  "image/*": {
    "schema": {
      "type": "string",
      "format": "binary",
      "x-appportal-maximum-bytes": 1000000
    }
  }
}
400
location_map_tile_invalid: unknown style or coordinates outside the configured provider range.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
424
location_map_tile_unavailable: provider could not complete this request; no credential/provider exception text.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
429
Existing provider rate limit. No retry header is promised where the limiter does not set one.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
503
location_map_tile_temporarily_unavailable: retryable provider outage, not an empty successful 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/map-tiles/{zoom}/{x}/{y}

Read an allow-listed private map tile

Binary tile, not JSON. Current style catalog and provider zoom range required;0<=x, y<2^zoom. Provider image/* is bounded to1000000 bytes, without a fabricated narrow MIME whitelist. Invalid 400, permanent 424, retryable 503, rate-limited 429. Attribution text is URI-escaped; attribution URL is not upstream endpoint/key. Cache-Control private, max-age=remaining-seconds only while provider eligibility remains, otherwise private, no-store. No public-cache, download-filename or range-response contract.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
zoom (path, required)
{
  "type": "integer",
  "minimum": 0
}
x (path, required)
{
  "type": "integer",
  "minimum": 0
}
y (path, required)
{
  "type": "integer",
  "minimum": 0
}

Responses

200
Configured provider's actual image/* media type and bounded bytes.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "Private remaining provider browser-cache eligibility, or private, no-store."
  },
  "X-AppPortal-Map-Attribution": {
    "schema": {
      "type": "string"
    },
    "description": "URI-escaped attribution text."
  },
  "X-AppPortal-Map-Attribution-Url": {
    "schema": {
      "type": "string"
    },
    "description": "Attribution URL, not upstream endpoint/key."
  }
}
{
  "image/*": {
    "schema": {
      "type": "string",
      "format": "binary",
      "x-appportal-maximum-bytes": 1000000
    }
  }
}
400
location_map_tile_invalid: unknown style or coordinates outside the configured provider range.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
424
location_map_tile_unavailable: provider could not complete this request; no credential/provider exception text.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
429
Existing provider rate limit. No retry header is promised where the limiter does not set one.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
503
location_map_tile_temporarily_unavailable: retryable provider outage, not an empty successful 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/places

Read the compatible complete Location collection

Compatible complete place array ordered by name. Optional search and activeOnly retain their native legacy parsing. Complete-proof limit is 100; overflow 409 pagination_required uses the corresponding protected page route. Never silently cropped. Current owner/source and authority are reopened/revalidated; loss 404, unavailable 503. Cache-Control private, no-store.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
search (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "maxLength": 200
}
activeOnly (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "boolean"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationPlaces"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: legacy collection cannot be represented completely; use the protected 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/places

Create a place

Name and valid latitude/longitude are required. Creates active=true with revision 1; typed attributes are validated (at most 25 unique attributes; values at most 512 characters). Stable scoped key selects the same resource on replay; changed payload under that key is 400 location_management_invalid. Only a new create bumps configuration and records its create audit.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
Exactly one header, trimmed before validating 8–128 ASCII letters, digits, hyphen, underscore, dot, colon. Preserve key/payload after uncertainty; changed payload 400, not another create. No Idempotency-Replayed header is promised.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 128,
  "pattern": "^[A-Za-z0-9_.:-]{8,128}$"
}

Request body

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

Responses

201
New resource or same-key deterministic create replay.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative created-resource identifier; no extra Dashboard GET route is promised."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationPlace"
    }
  }
}
400
location_idempotency_key_required for a missing/invalid key; location_management_invalid for changed same-key payload or domain input.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

PUT/api/location/places/{placeId}

Update a place

Partial request retains missing/null fields as implemented. A supplied expectedRevision must match; persistence uses current-revision CAS. Success advances revision and configuration. Invalid coordinates/attributes are 400; stale source is 409. No signed-confirmation or header-key protocol.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
placeId (path, required)
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationPlace"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/places/{placeId}/deactivate

Deactivate a place

No body is bound. Current-revision CAS sets active=false and advances revision/configuration with an audit. This does not physically erase the place or retained history.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
placeId (path, required)
{
  "type": "string"
}

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationPlace"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/places/{placeId}/directory-detail

Read one selected place

No query fields accepted. placeId is a trimmed, control-free literal of at most 512 characters. Missing/currently inaccessible resource is 404. This point lookup does not make a loaded catalog complete.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
placeId (path, required)
{
  "type": "string"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationPlace"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/places/import-selection

Resolve a bounded place-name import selection

Only repeated name query fields are accepted:1–20 nonblank control-free values of at most 200 characters. Outer whitespace and duplicate names are not additionally rejected by this handler. complete=false is incomplete matching coverage, not confirmed absence; use an exact place ID where ambiguous. Current authority/source are revalidated.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
name (query, required)
Repeated form/explode query values.
{
  "type": "array",
  "minItems": 1,
  "maxItems": 20,
  "items": {
    "type": "string",
    "minLength": 1,
    "maxLength": 200
  }
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationImportSelection"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/places/page

Read one protected Location places page

Closed query, one value per declared field. Literals are trimmed, nonblank, control-free. Unsigned decimal limit 1–100(default 25), cursor up to 8192, search up to 200. Cursor binds collection, actor, current account/app/authority, selection, limit, filters and stable ordinal key order. Authority is rechecked after materialization. nextCursor/totalCount are explicitly nullable; unknown totalCount=null, not zero.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned decimal; whitespace/signs rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque selection-bound continuation, not an offset/page number.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}
activeOnly (query, optional)
Exactly lowercase true/false; omission does not restrict to active rows.
{
  "type": "boolean"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationPlacePage"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

POST/api/location/search

Search for a place or address

query is trimmed and must contain 2–200 characters. Provider search requests at most 5 results. Response includes normalized results and attributionText/attributionUrl; bounds/category may be absent. Raw queries are not persisted by AppPortal; processing still contacts the configured provider. Existing sanitized logging/suppressed HTTP instrumentation does not grant a provider or imply consent. This POST retains browser unsafe-method protections without mutation-key semantics.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; current selected environment where required

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationSearchResponse"
    }
  }
}
400
location_search_invalid: trimmed query must contain 2 through the current source maximum characters; malformed binding retains native errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
424
location_search_unavailable: provider could not complete this request; no credential/provider exception text.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
429
Existing provider rate limit. No retry header is promised where the limiter does not set one.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
503
location_search_temporarily_unavailable: retryable provider outage, not an empty successful 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/settings

Read app-wide Location settings

Account/app scoped; explicit environment is not required by this handler. Measurement system changes display units, while coordinates/radii retain existing wire units.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; app-wide selection

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationSettings"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

PUT/api/location/settings

Update app-wide Location settings

measurementSystem must be Metric or Imperial. Optional expectedRevision/current CAS reject stale settings 409. Display units do not change stored meter-based geometry/history.

Access: browserSession + csrfToken

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; app-wide selection; Admin, AppOwner or ProductOwner

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Request body

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

Responses

200
Actual authorized projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationSettings"
    }
  }
}
400
location_management_invalid or native binding/validation error. Interpolated attribute/template/provider details are sanitized.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. location_management_conflict: stale revision, current catalog or CAS conflict. BFF session-changed is a separate pre-dispatch 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON binder media-type rejection; can be bodyless and performs 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
423
Current account operational policy denies this unsafe request; metadata grants 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
500
Internal failure is not successful empty/zero data; retain the trace 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/subjects

Read the compatible complete Location collection

App-wide compatible SubjectRecord array sorted by displayName; selected environment is not a subject-membership filter. Complete-proof limit is 100; overflow 409 pagination_required uses the corresponding protected page route. Never silently cropped. Current owner/source and authority are reopened/revalidated; loss 404, unavailable 503. Cache-Control private, no-store.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; app-wide selection

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationSubjects"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: legacy collection cannot be represented completely; use the protected 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/subjects/latest

Read the compatible complete Location collection

App-wide compatible SubjectLocationState array sorted by subjectId. Read-time isStale uses configured threshold; no continuous/device-current tracking is claimed. Complete-proof limit is 100; overflow 409 pagination_required uses the corresponding protected page route. Never silently cropped. Current owner/source and authority are reopened/revalidated; loss 404, unavailable 503. Cache-Control private, no-store.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; app-wide selection; Admin, AppOwner or Support for latest positions, with fresh stored-role revalidation

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationLatest"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. pagination_required: legacy collection cannot be represented completely; use the protected 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "description": "Native/BFF error branch, not a successful DTO."
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/subjects/latest/page

Read one protected Location latest-positions page

Closed query, one value per declared field. Literals are trimmed, nonblank, control-free. Unsigned decimal limit 1–100(default 25), cursor up to 8192, search up to 200. Cursor binds collection, actor, current account/app/authority, selection, limit, filters and stable ordinal key order. Authority is rechecked after materialization. nextCursor/totalCount are explicitly nullable; unknown totalCount=null, not zero. Each item is {state, subject}; subject may be unavailable. Location:SubjectStaleMinutes(default 60) and current authority are bound into continuation. Last-known position does not prove current device presence.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; app-wide selection; Admin, AppOwner or Support for latest positions, with fresh stored-role revalidation

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned decimal; whitespace/signs rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque selection-bound continuation, not an offset/page number.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationLatestPage"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/location/subjects/page

Read one protected Location subjects page

Closed query, one value per declared field. Literals are trimmed, nonblank, control-free. Unsigned decimal limit 1–100(default 25), cursor up to 8192, search up to 200. Cursor binds collection, actor, current account/app/authority, selection, limit, filters and stable ordinal key order. Authority is rechecked after materialization. nextCursor/totalCount are explicitly nullable; unknown totalCount=null, not zero. App-wide ordinal subjectId order; selected environment is not a subject-membership filter.

Access: browserSession

Authenticated AppPortal audience, current account/app visibility, ViewLocation, location-services entitlement and operational policy; app-wide selection

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
Unsigned decimal; whitespace/signs rejected.
{
  "type": "integer",
  "minimum": 1,
  "maximum": 100,
  "default": 25
}
cursor (query, optional)
Opaque selection-bound continuation, not an offset/page number.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
search (query, optional)
Native selected-scope filter; grants no access.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 200
}

Responses

200
Actual authorized projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "type": "string"
    },
    "description": "private,no-store"
  },
  "X-AppPortal-TenantId": {
    "schema": {
      "type": "string"
    },
    "description": "Canonical current account after authority revalidation."
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationSubjectPage"
    }
  }
}
400
location_page_invalid: invalid/unknown/duplicate selector or mismatched cursor; restart from the first 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
401
Authenticated Dashboard session required; middleware may omit the 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
403
Current capability/role/explicit selected scope required; location_scope_required is distinct from BFF CSRF/scope errors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
404
resource_not_found: missing, disabled Location entitlement, denied or changed authority/resource. No cross-account details.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
location_page_unavailable: authority/source/materialization could not be confirmed; not zero or an empty 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/DashboardLocationProblem"
    }
  },
  "application/json": {
    "schema": {
      "type": "object",
      "description": "Native/BFF error branch, not a successful DTO."
    }
  }
}

Link to this operation

GET/api/pages

List the selected app's authored pages

Lists all stored states in the selected account/app, ordered by kind. Empty array is valid. This authenticated projection includes IDs/state/audit metadata that public Pages excludes.

Access: browserSession

Validated current account/app visibility.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual existing management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppPages"
    }
  }
}
400
Malformed input, missing selected app/account, unsupported kind or blank required content. Handler codes include app_scope_required, page_kind_invalid and page_content_required where applicable; parsing can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard session required; some middleware responses 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current app visibility and operation role required. BFF CSRF/origin failures retain their separate 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current policy or a dependency is unavailable; do not interpret as an empty list 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

PUT/api/pages/{kind}

Save a page draft

Upsert requires a nonblank slug/title/body. Every save becomes Draft with publishedAt=null, including edits of formerly published content. The current authoring actor is recorded. This existing mutation has no request-key or revision-precondition protocol; a BFF scope conflict is separate and prevents dispatch.

Access: browserSession + csrfToken

Validated current account/app visibility; actual role: Admin, AppOwner or ProductOwner.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
kind (path, required)
Case-insensitive defined PageKind, including defined numeric Enum.TryParse forms; invalid input returns 400. Public detail has a different 404 behavior.
{
  "type": "string"
}

Request body

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

Responses

200
Actual existing management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppPageRecord"
    }
  }
}
400
Malformed input, missing selected app/account, unsupported kind or blank required content. Handler codes include app_scope_required, page_kind_invalid and page_content_required where applicable; parsing can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard session required; some middleware responses 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current app visibility and operation role required. BFF CSRF/origin failures retain their separate 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Unsupported media type rejected by the existing JSON body binder; no draft is saved. 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the mutation; preserve errorCode/error aliases.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current policy or a dependency is unavailable; do not interpret as an empty list 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/pages/{kind}/publish

Publish an app page

Publishes InReview, or Draft only for a current Admin. PublishedAt and update metadata receive current UTC. Other states conflict; AppOwner cannot directly publish Draft. This existing mutation has no request-key or revision-precondition protocol; a BFF scope conflict is separate and prevents dispatch.

Access: browserSession + csrfToken

Validated current account/app visibility; actual role: Admin or AppOwner.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
kind (path, required)
Case-insensitive defined PageKind, including defined numeric Enum.TryParse forms; invalid input returns 400. Public detail has a different 404 behavior.
{
  "type": "string"
}

Responses

200
Actual existing management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppPageRecord"
    }
  }
}
400
Malformed input, missing selected app/account, unsupported kind or blank required content. Handler codes include app_scope_required, page_kind_invalid and page_content_required where applicable; parsing can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard session required; some middleware responses 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current app visibility and operation role required. BFF CSRF/origin failures retain their separate 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
No stored page for the selected account/app/kind: 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. State does not permit the transition: page_state_conflict. Dashboard session-changed is a distinct pre-dispatch 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the mutation; preserve errorCode/error aliases.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current policy or a dependency is unavailable; do not interpret as an empty list 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/pages/{kind}/submit-review

Submit a draft page for review

Only Draft transitions to InReview; other existing states conflict. This records the current actor and does not publish content. This existing mutation has no request-key or revision-precondition protocol; a BFF scope conflict is separate and prevents dispatch.

Access: browserSession + csrfToken

Validated current account/app visibility; actual role: Admin, AppOwner or ProductOwner.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
kind (path, required)
Case-insensitive defined PageKind, including defined numeric Enum.TryParse forms; invalid input returns 400. Public detail has a different 404 behavior.
{
  "type": "string"
}

Responses

200
Actual existing management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppPageRecord"
    }
  }
}
400
Malformed input, missing selected app/account, unsupported kind or blank required content. Handler codes include app_scope_required, page_kind_invalid and page_content_required where applicable; parsing can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard session required; some middleware responses 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current app visibility and operation role required. BFF CSRF/origin failures retain their separate 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
No stored page for the selected account/app/kind: 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. State does not permit the transition: page_state_conflict. Dashboard session-changed is a distinct pre-dispatch 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the mutation; preserve errorCode/error aliases.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current policy or a dependency is unavailable; do not interpret as an empty list 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/pages/{kind}/unpublish

Unpublish an app page

Only Published transitions to Unpublished. Historical publishedAt remains; public reads stop exposing the page because state is no longer Published. This existing mutation has no request-key or revision-precondition protocol; a BFF scope conflict is separate and prevents dispatch.

Access: browserSession + csrfToken

Validated current account/app visibility; actual role: Admin or AppOwner.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
kind (path, required)
Case-insensitive defined PageKind, including defined numeric Enum.TryParse forms; invalid input returns 400. Public detail has a different 404 behavior.
{
  "type": "string"
}

Responses

200
Actual existing management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/AppPageRecord"
    }
  }
}
400
Malformed input, missing selected app/account, unsupported kind or blank required content. Handler codes include app_scope_required, page_kind_invalid and page_content_required where applicable; parsing can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard session required; some middleware responses 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current app visibility and operation role required. BFF CSRF/origin failures retain their separate 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
No stored page for the selected account/app/kind: 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. State does not permit the transition: page_state_conflict. Dashboard session-changed is a distinct pre-dispatch 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
423
Current account operational policy denies the mutation; preserve errorCode/error aliases.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
Current policy or a dependency is unavailable; do not interpret as an empty list 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/pages/scaffold/{kind}

Read a starter template for one page kind

Returns suggested title/body Markdown containing application placeholders; it neither saves nor publishes. Generated legal text must be reviewed for the app before use.

Access: browserSession

Validated current account/app visibility.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
kind (path, required)
Case-insensitive defined PageKind, including defined numeric Enum.TryParse forms; invalid input returns 400. Public detail has a different 404 behavior.
{
  "type": "string"
}

Responses

200
Actual existing management response DTO.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/PageScaffold"
    }
  }
}
400
Malformed input, missing selected app/account, unsupported kind or blank required content. Handler codes include app_scope_required, page_kind_invalid and page_content_required where applicable; parsing can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard session required; some middleware responses 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current app visibility and operation role required. BFF CSRF/origin failures retain their separate 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
Current policy or a dependency is unavailable; do not interpret as an empty list 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/session

Access: No session OR browserSession

Responses

200
The current authenticated Dashboard session summary. Acquire sessionVersion here without sending a version header, then attach it to subsequent scoped requests with the matching cookie.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardSessionSummary"
    }
  }
}
401
No authenticated Dashboard session is available.

Link to this operation

GET/api/support/capabilities

Read current support creation capability

Current active AppPortal customer and optional active account determine organizationAvailable and applicationIds. Personal support remains useful without organization creation. This is a finite permission/configuration payload, not a complete ticket list, staff authority or a billing entitlement grant.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportTicketCreateCapabilities"
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/support/tickets

Read legacy customer ticket pages

Complete-small numbered-page compatibility: page defaults1 and normalizes below1 to1; pageSize defaults25 and clamps1..100. Current SQL visibility and authority are applied before a100+1 capture. Only complete collections within100 return an exact total and in-memory numbered page; overflow409 support_pagination_required directs tickets/page. Current authority loss404 and source failure503 never become an invented empty total. Current personal creator, explicit participant, organization-admin and application ownership rules determine visibility. Customer summary redaction is applied; this is not staff queue/routing data. Use tickets/page for protected keyset navigation.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
page (query, optional)
One-based small-collection page; values below1 normalize to1.
{
  "type": "integer",
  "default": 1
}
pageSize (query, optional)
Legacy service clamps1..100.
{
  "type": "integer",
  "default": 25
}

Responses

200
Actual current authorized customer projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportTicketPage"
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. 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/DashboardPageProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_pagination_required"
            }
          }
        }
      ]
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
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/DashboardPageProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_page_unavailable"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets

Create a customer support ticket

Defined scope/category/subcategory/urgency/preference; subject trimmed1..200, message trimmed1..20000, preferredLocale<=20. Personal has no app; organization requires current organizationAdmin; application requires current canonical app-owner authority. Platform scope is forbidden. OrganizationIdentity must be personal, have a subcategory and normalized slug reference; other categories cannot carry a subject reference. Required header key8..200 is retained without trimming; same actor/operation/exact body replays only while current authority permits. Changed payload, revision or lifecycle conflicts409. Optional exact representation=receipt returns only ticketId/version; absent returns full customer detail. The selector changes output only, not durable intent; no collection absence is an empty-thread assertion. Unknown/repeated/other query400 support_representation_invalid.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free value8..200 retained without trimming; same actor/operation/body required on replay.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact one-value receipt; absent is complete legacy customer detail.
{
  "type": "string",
  "const": "receipt"
}

Request body

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

Responses

200
Same-key current-authority replay; no new ticket.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketMutationReceipt"
        }
      ]
    }
  }
}
201
Actual current authorized customer projection.

Response headers

{
  "Location": {
    "schema": {
      "type": "string"
    },
    "description": "Native relative ticket identifier. Same-key replay returns200 without a new ticket."
  }
}
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
support_request_invalid or support_representation_invalid: check exact command and current output representation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_request_conflict: changed body/current revision/lifecycle; no blind retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/support/tickets/{ticketId}

Read complete small customer-visible ticket detail

Complete legacy GET only after current SQL visibility filtering proves at most100 visible messages; otherwise409 support_thread_pagination_required directs the same ticket /workspace and /messages/page. No partial detail success or conversation resource cap. Includes requester-visible and this actor's participant-private messages only, current revisions and empty tombstoned bodies; authorId is empty. Customer participants/transitions remain empty and routing/creator/assignment/priority/hidden activity stay redacted. Current authority and ticket revision are rechecked before success; failed reads503 support_page_unavailable, current access loss404. Existing legacy query handling is preserved. Internal full export and legacy write representations are unchanged.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.

Response headers

{
  "Cache-Control": {
    "schema": {
      "const": "private, no-store"
    }
  }
}
{
  "application/json": {
    "schema": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketDetail"
        },
        {
          "type": "object",
          "properties": {
            "messages": {
              "type": "array",
              "maxItems": 100
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_thread_pagination_required: use this ticket /workspace and /messages/page; never interpret an incomplete legacy GET as a successful 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/DashboardPageProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_thread_pagination_required"
            }
          }
        }
      ]
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
support_page_unavailable: read failed or ticket changed during projection; retry the same current 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/DashboardPageProblem"
        },
        {
          "type": "object",
          "required": [
            "code"
          ],
          "properties": {
            "code": {
              "const": "support_page_unavailable"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

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

Read managed evidence on one visible message

Required messageId<=40, nonblank/trimmed/control-free. Closed messageId/limit/cursor; limit defaults10/range1..100 and cursor<=8192 binds current customer/ticket/message authority and createdAt DESC/id C DESC order. available/downloadAvailable reflect configuration, not an attested clean file. purgeAvailable is always false on this customer door. No storage locator/scanner diagnostics/private participant/uploader identity. Clean rows are re-attested and may present Quarantined/Infected; totalCount null.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
limit (query, optional)
One unsigned decimal value; no outer whitespace/control/repeated name.
{
  "type": "integer",
  "default": 10,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected current-authority continuation, unchanged selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}
messageId (query, required)
Exact visible message; not an arbitrary attachment or participant scope.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 40
}

Responses

200
Actual current authorized customer projection.

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/DashboardCustomerSupportAttachmentPage"
    }
  }
}
400
support_evidence_invalid: invalid attachment/query/body/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
support_evidence_unavailable: managed evidence unavailable; ticket remains independently 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets/{ticketId}/attachments

Reserve immutable evidence for a visible message

Strict one-value trimmed/control-free header key8..200. Accessible messageId, filename trimmed/control-free<=160 with no slash/backslash/colon/format control, declared length1..10485760, sha256 exactly64lowercase hex. Exact reservation binds actor/ticket/message/key/content identity; success200 reserves metadata only, not uploaded/clean evidence. Current storage/scanner configuration unavailable503.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
Idempotency-Key (header, required)
One exactly trimmed/control-free nonblank value8..200; exact reservation identity retained.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}

Request body

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

Responses

200
Actual current authorized customer projection.

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/DashboardCustomerSupportAttachmentSummary"
    }
  }
}
400
support_evidence_invalid: invalid attachment/query/body/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_evidence_conflict: immutable content/revision changed, reconcile same 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
support_evidence_unavailable: managed evidence unavailable; ticket remains independently 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

PUT/api/support/tickets/{ticketId}/attachments/{attachmentId}/content

Upload exact reserved evidence bytes

Raw request bytes, not multipart/base64 JSON; only the reserving actor may upload. Declared exact length and original SHA256 must match, content cap10485760; wire allowance11534336 includes chunk overhead. Content/extension allowlist is strict UTF-8 .txt, PNG and JPEG with image metadata stripped. HTTP Content-Type is not a clean verdict. Accepted content remains quarantined until exact scanner attestation. Immutable retry reconciles hash/ETag rather than overwrite.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
attachmentId (path, required)
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Request body

{
  "required": true,
  "content": {
    "application/octet-stream": {
      "schema": {
        "type": "string",
        "format": "binary"
      }
    }
  }
}

Responses

200
Actual current authorized customer projection.

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/DashboardCustomerSupportAttachmentSummary"
    }
  }
}
400
support_evidence_invalid: invalid attachment/query/body/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_evidence_conflict: immutable content/revision changed, reconcile same 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
413
Wire body allowance exceeded before completion; actual reserved content is independently bounded.

Response headers

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

Link to this operation

POST/api/support/tickets/{ticketId}/attachments/{attachmentId}/download

Download current authorized evidence bytes

POST JSON proof, never a URL query token. Nonblank proof<=8192 is unprotected and exact actor/type/ticket/attachment/expiry/hash/ETag/version verified. Current message authority, storage integrity and scanner attestation rechecked before audited delivery. Wrong/expired/revoked/unclean proof404. No ranges; Content-Disposition attachment. Proof never bypasses Dashboard session/CSRF/current authorization.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
attachmentId (path, required)
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Request body

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

Responses

200
Actual current authorized customer projection.

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 retained sanitized filename; enableRangeProcessing:false."
  }
}
{
  "text/plain": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/png": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  },
  "image/jpeg": {
    "schema": {
      "type": "string",
      "format": "binary"
    }
  }
}
400
support_evidence_invalid: invalid attachment/query/body/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
support_evidence_unavailable: managed evidence unavailable; ticket remains independently 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets/{ticketId}/attachments/{attachmentId}/download-proof

Issue an actor-bound short-lived evidence proof

No body or idempotency header. Only currently clean, exactly attested, accessible evidence qualifies. Protected proof expires after5minutes and binds actor/type/ticket/attachment/hash/ETag/version. It is not an anonymous Blob URL/provider token and cannot authorize another actor or operator door. Missing/revoked/unclean evidence404.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
attachmentId (path, required)
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.

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/DashboardCustomerSupportEvidenceDownload"
    }
  }
}
400
support_evidence_invalid: invalid attachment/query/body/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
503
support_evidence_unavailable: managed evidence unavailable; ticket remains independently 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets/{ticketId}/attachments/{attachmentId}/scan

Reconcile the current immutable scan evidence

No body or idempotency header. Client cannot declare clean. Current actor/message authority and exact object hash/ETag/version/scanner evidence revalidated. Pending verdict remains actual quarantine, not empty success or completed scan. Request body400; current immutable conflict409.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
attachmentId (path, required)
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.

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/DashboardCustomerSupportAttachmentSummary"
    }
  }
}
400
support_evidence_invalid: invalid attachment/query/body/key.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_evidence_conflict: immutable content/revision changed, reconcile same 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
support_evidence_unavailable: managed evidence unavailable; ticket remains independently 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

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

Export the sanitized customer-visible ticket

Customer-only export revalidates current ticket authority after materialization and audits selected counts. Returns ticketNumber/subject/state/createdAt and visible message exports plus clean attachment summaries. No routing/risk/operator or author identity, other claimant, participants or internal notes. Tombstone body empty and attachments empty. This is JSON, not a staff/raw-thread export; failed service outcome is sanitized404.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.

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/DashboardCustomerSupportCustomerExport"
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/support/tickets/{ticketId}/messages/page

Read current customer-visible message history

Closed limit/cursor, ticketId<=512, limit default25/range1..100 and opaque cursor<=8192. Current ticket/user authority and limit/collection bind the createdAt DESC/id C DESC continuation. Only visible/current participant-private messages are returned; authorId empty, tombstone bodies empty. A loaded page is not the whole conversation. totalCount remains null. No customer participant or staff transition endpoint is invented.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
limit (query, optional)
One unsigned decimal value; no outer whitespace/control/repeated name.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected current-authority continuation, unchanged selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportMessagePage"
    }
  }
}
400
support_page_invalid: invalid/repeated/unknown selection or mismatched cursor.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
support_page_unavailable: history unavailable, not empty/zero.

Response headers

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

Link to this operation

GET/api/support/tickets/{ticketId}/notification-preference

Read own ticket notification preference

Requires actual AppPortal issuer/audience/customer subject; staff, MCP, internal/SDK credentials cannot substitute. Feature-disabled or inaccessible ticket404. No query parameters. Preference belongs to this actor/ticket; false/None and initial version0 are real values. Fallback to the ticket's recorded preference when no own override exists; read is audited.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportNotificationPreferenceReceipt"
    }
  }
}
400
support_query_invalid for any query; support_request_invalid for invalid own preference 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

PUT/api/support/tickets/{ticketId}/notification-preference

Change own ticket notification preference

Requires actual AppPortal issuer/audience/customer subject; staff, MCP, internal/SDK credentials cannot substitute. Feature-disabled or inaccessible ticket404. No query parameters. Preference belongs to this actor/ticket; false/None and initial version0 are real values. Defined preference and expectedVersion>=0; same-key exact replay returns its original preference/version; changed body or stale revision409. This changes routine notification choice, not ticket closure, sender verification or actual email delivery.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free value8..200 retained without trimming; same actor/operation/body required on replay.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}

Request body

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

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportNotificationPreferenceReceipt"
    }
  }
}
400
support_query_invalid for any query; support_request_invalid for invalid own preference 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_request_conflict: changed body/current revision/lifecycle; no blind retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets/{ticketId}/reopen

Reopen an eligible customer ticket

Current expectedVersion, nonblank reason trimmed<=500, resolved/closed timestamp within30days and no competing active subject ticket. Current canReopen is evidence, not a bypass. Required header key8..200 is retained without trimming; same actor/operation/exact body replays only while current authority permits. Changed payload, revision or lifecycle conflicts409. Optional exact representation=receipt returns only ticketId/version; absent returns full customer detail. The selector changes output only, not durable intent; no collection absence is an empty-thread assertion. Unknown/repeated/other query400 support_representation_invalid.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free value8..200 retained without trimming; same actor/operation/body required on replay.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact one-value receipt; absent is complete legacy customer detail.
{
  "type": "string",
  "const": "receipt"
}

Request body

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

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
support_request_invalid or support_representation_invalid: check exact command and current output representation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_request_conflict: changed body/current revision/lifecycle; no blind retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets/{ticketId}/replies

Reply as the current customer

Nonblank message trimmed<=20000 and current expectedVersion. Only RequesterVisible is permitted and privateParticipantUserId must be null; the shared DTO's staff visibility choices confer no customer grant. Required header key8..200 is retained without trimming; same actor/operation/exact body replays only while current authority permits. Changed payload, revision or lifecycle conflicts409. Optional exact representation=receipt returns only ticketId/version; absent returns full customer detail. The selector changes output only, not durable intent; no collection absence is an empty-thread assertion. Unknown/repeated/other query400 support_representation_invalid.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free value8..200 retained without trimming; same actor/operation/body required on replay.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact one-value receipt; absent is complete legacy customer detail.
{
  "type": "string",
  "const": "receipt"
}

Request body

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

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
support_request_invalid or support_representation_invalid: check exact command and current output representation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_request_conflict: changed body/current revision/lifecycle; no blind retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

POST/api/support/tickets/{ticketId}/request-closure

Request ticket closure

Current expectedVersion and nonblank reason trimmed<=500. Already resolved/closed conflicts; actual customer-close lifecycle is authoritative. Required header key8..200 is retained without trimming; same actor/operation/exact body replays only while current authority permits. Changed payload, revision or lifecycle conflicts409. Optional exact representation=receipt returns only ticketId/version; absent returns full customer detail. The selector changes output only, not durable intent; no collection absence is an empty-thread assertion. Unknown/repeated/other query400 support_representation_invalid.

Access: browserSession + csrfToken

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}
Idempotency-Key (header, required)
One nonblank/control-free value8..200 retained without trimming; same actor/operation/body required on replay.
{
  "type": "string",
  "minLength": 8,
  "maxLength": 200
}
representation (query, optional)
Optional exact one-value receipt; absent is complete legacy customer detail.
{
  "type": "string",
  "const": "receipt"
}

Request body

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

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketDetail"
        },
        {
          "$ref": "#/components/schemas/DashboardCustomerSupportTicketMutationReceipt"
        }
      ]
    }
  }
}
400
support_request_invalid or support_representation_invalid: check exact command and current output representation.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed. support_request_conflict: changed body/current revision/lifecycle; no blind retry.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "code",
            "error"
          ],
          "properties": {
            "code": {
              "const": "session-changed"
            },
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
415
Existing JSON body binder rejects unsupported media type; 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

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

Read bounded customer ticket metadata

No query accepted; ticketId nonblank/control-free/trimmed<=512. Only current redacted ticket metadata is returned. Omitted conversation collections do not assert an empty conversation; load visible messages/page independently. No staff participant/transition catalogs are exposed.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
ticketId (path, required)
{
  "type": "string"
}

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportTicketWorkspace"
    }
  }
}
400
support_page_invalid: workspace rejects all query and invalid bounded ticket selectors.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}

Link to this operation

GET/api/support/tickets/page

Read protected current-customer ticket pages

Closed one-value limit/cursor query. limit defaults25/range1..100, unsigned decimal without outer whitespace; cursor<=8192 nonblank/trimmed/control-free. Protected continuation binds immutable user and current account/participant/app permission evidence, limit and customer-visible activity DESC/id C DESC ordering. Revalidate current authority; inaccessible404 and unavailable503 remain distinct from successful empty. totalCount is null, not zero.

Access: browserSession

Authenticated AppPortal customer subject; current personal/organization/application ticket or explicit participant authority on the server. No general staff or selected-app privilege is granted.

Parameters

X-AppPortal-Session-Version (header, required)
Required with the authenticated Dashboard session cookie. Use the exact sessionVersion returned by GET /api/session. This value does not authenticate a request and does not replace cookie or CSRF requirements.
{
  "type": "string"
}
limit (query, optional)
One unsigned decimal value; no outer whitespace/control/repeated name.
{
  "type": "integer",
  "default": 25,
  "minimum": 1,
  "maximum": 100
}
cursor (query, optional)
Opaque protected current-authority continuation, unchanged selection.
{
  "type": "string",
  "minLength": 1,
  "maxLength": 8192
}

Responses

200
Actual current authorized customer projection.
{
  "application/json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardCustomerSupportTicketCursorPage"
    }
  }
}
400
support_page_invalid: invalid/repeated/unknown selection or mismatched cursor.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
401
Authenticated Dashboard customer session/subject required; native middleware can 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
403
Current customer/ticket authority denied. Staff/SDK/internal credentials are not a customer grant. BFF CSRF/origin failures retain native bodies.

Response headers

{
  "X-AppPortal-TraceId": {
    "description": "Opaque error correlation; matches the shared problem body's traceId.",
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_.:-]+$"
    }
  },
  "Cache-Control": {
    "description": "Includes no-store for shared management problems; additional directives may be present. Browser JSON and bodyless failures retain their native behavior.",
    "schema": {
      "type": "string"
    }
  }
}
{
  "application/problem+json": {
    "schema": {
      "$ref": "#/components/schemas/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
404
Missing or inaccessible current resource; native ticket error resource_not_found, evidence/export 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
409
session-changed: the supplied version does not match the resolved Dashboard session. Reload the workspace and acquire its current summary from GET /api/session; no operation is performed.
500
internal_error or existing safe exception handler; no confirmed operation or empty history 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/DashboardPageProblem"
    }
  },
  "application/json": {
    "schema": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "error": {
              "type": "string"
            }
          }
        }
      ]
    }
  }
}
503
support_page_unavailable: history unavailable, not empty/zero.

Response headers

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

Link to this operation

Declared schemas

Schema references in the operations resolve to these definitions from the same OpenAPI document.

DashboardSessionSummary
{
  "type": "object",
  "required": [
    "expiresAt",
    "tenantId",
    "tenantSlug",
    "sessionVersion"
  ],
  "properties": {
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "sessionVersion": {
      "type": "string",
      "description": "Read from GET /api/session (also returned after sign-in or scope rotation). This scope correlation value does not authenticate a request; send it with the matching Dashboard session cookie."
    },
    "signInIdentity": {
      "$ref": "#/components/schemas/SignInIdentity",
      "description": "Verified provider account that established this session. Absent for local sign-in and sessions created before provider tracking was available."
    }
  }
}
BillingOwnerStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "ownerUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "pendingNomineeUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "isCurrentOwner": {
      "type": "boolean"
    },
    "canSelfDesignate": {
      "type": "boolean"
    }
  },
  "required": [
    "tenantId",
    "state",
    "revision",
    "ownerUserId",
    "pendingNomineeUserId",
    "isCurrentOwner",
    "canSelfDesignate"
  ]
}
OverageConsentView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "owner": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ]
        },
        "pendingNomineeUserId": {
          "type": [
            "string",
            "null"
          ]
        },
        "isCurrentOwner": {
          "type": "boolean"
        },
        "canSelfDesignate": {
          "type": "boolean"
        }
      },
      "required": [
        "tenantId",
        "state",
        "revision",
        "ownerUserId",
        "pendingNomineeUserId",
        "isCurrentOwner",
        "canSelfDesignate"
      ]
    },
    "offering": {
      "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"
      ]
    },
    "termsFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "rates": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "unit": {
            "type": "string"
          },
          "unitsPerBlock": {
            "type": "integer"
          },
          "usdPerBlock": {
            "type": "number"
          },
          "sourceKey": {
            "type": "string"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "unit",
          "unitsPerBlock",
          "usdPerBlock",
          "sourceKey",
          "revision"
        ]
      }
    },
    "periodStartsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "periodEndsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "consent": {
      "type": "object",
      "properties": {
        "revision": {
          "type": "integer"
        },
        "ownerRevision": {
          "type": "integer"
        },
        "ownerUserId": {
          "type": [
            "string",
            "null"
          ]
        },
        "enabled": {
          "type": "boolean"
        },
        "unitCaps": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "unit": {
                "type": "string"
              },
              "maxBlocks": {
                "type": "integer"
              }
            },
            "required": [
              "unit",
              "maxBlocks"
            ]
          }
        },
        "monthlyExtraSpendCapUsd": {
          "type": "number"
        },
        "termsFingerprint": {
          "type": [
            "string",
            "null"
          ]
        },
        "rates": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/OverageConsentView/properties/rates/items"
          }
        },
        "recordedAt": {
          "type": "string",
          "format": "date-time"
        },
        "effectiveFrom": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "periodStartsAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "consentedForCurrentTerms": {
          "type": "boolean"
        },
        "liveEnforcementEnabled": {
          "type": "boolean",
          "default": false
        },
        "duration": {
          "type": "string",
          "default": "monthly-caps-until-cancelled-or-terms-or-owner-change"
        }
      },
      "required": [
        "revision",
        "ownerRevision",
        "ownerUserId",
        "enabled",
        "unitCaps",
        "monthlyExtraSpendCapUsd",
        "termsFingerprint",
        "rates",
        "recordedAt",
        "effectiveFrom",
        "expiresAt",
        "periodStartsAt",
        "consentedForCurrentTerms"
      ]
    },
    "liveEnforcementEnabled": {
      "type": "boolean",
      "default": false
    }
  },
  "required": [
    "tenantId",
    "state",
    "owner",
    "offering",
    "termsFingerprint",
    "rates",
    "periodStartsAt",
    "periodEndsAt",
    "consent"
  ]
}
OverageConsentSnapshot
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revision": {
      "type": "integer"
    },
    "ownerRevision": {
      "type": "integer"
    },
    "ownerUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "enabled": {
      "type": "boolean"
    },
    "unitCaps": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "unit": {
            "type": "string"
          },
          "maxBlocks": {
            "type": "integer"
          }
        },
        "required": [
          "unit",
          "maxBlocks"
        ]
      }
    },
    "monthlyExtraSpendCapUsd": {
      "type": "number"
    },
    "termsFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "rates": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "unit": {
            "type": "string"
          },
          "unitsPerBlock": {
            "type": "integer"
          },
          "usdPerBlock": {
            "type": "number"
          },
          "sourceKey": {
            "type": "string"
          },
          "revision": {
            "type": "string"
          }
        },
        "required": [
          "unit",
          "unitsPerBlock",
          "usdPerBlock",
          "sourceKey",
          "revision"
        ]
      }
    },
    "recordedAt": {
      "type": "string",
      "format": "date-time"
    },
    "effectiveFrom": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "periodStartsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "consentedForCurrentTerms": {
      "type": "boolean"
    },
    "liveEnforcementEnabled": {
      "type": "boolean",
      "default": false
    },
    "duration": {
      "type": "string",
      "default": "monthly-caps-until-cancelled-or-terms-or-owner-change"
    }
  },
  "required": [
    "revision",
    "ownerRevision",
    "ownerUserId",
    "enabled",
    "unitCaps",
    "monthlyExtraSpendCapUsd",
    "termsFingerprint",
    "rates",
    "recordedAt",
    "effectiveFrom",
    "expiresAt",
    "periodStartsAt",
    "consentedForCurrentTerms"
  ]
}
BillingConsentErrorResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "error": {
      "type": "string"
    }
  },
  "required": [
    "error"
  ]
}
TenantOperationDeniedResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "errorCode": {
      "type": "string"
    },
    "error": {
      "type": "string"
    }
  },
  "required": [
    "errorCode",
    "error"
  ]
}
ProblemDetails
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  },
  "description": "Shared RFC 9457 management failure with code/message/traceId. For owner/consent domain failures, error preserves the existing machine-code alias while message/detail provide bounded public guidance. Shared binding/authentication failures and missing-account errors retain their public-message error alias. Management operational-policy failures retain errorCode plus the public-message error alias in the same problem representation. BFF precondition errors remain separately documented JSON."
}
ConfigureBillingOwnerRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "action": {
      "type": [
        "string",
        "null"
      ]
    },
    "acknowledged": {
      "type": "boolean"
    },
    "nomineeUserId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "description": "Binding does not enforce domain acceptance. expectedRevision must be nonnegative; acknowledged must be true. action is self-designate, nominate, accept or cancel-transfer. nomineeUserId is used only for nominate. Personal ownership is managed by the workspace; organization ownership uses current authority and revision checks."
}
ChangeOverageConsentRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "expectedOwnerRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "expectedTermsFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "enabled": {
      "type": "boolean"
    },
    "unitCaps": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "maxBlocks": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "default": null
    },
    "monthlyExtraSpendCapUsd": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
      "default": 0
    }
  },
  "description": "Explicit current-owner consent bound to both revisions and disclosed terms. Enabled consent requires bounded positive unit/spend caps and disclosed affordable rates. Disabled consent requires zero caps. This configures consent only; it does not enable live enforcement or create a charge. Missing values never mean unlimited."
}
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"
  ]
}
TenantPlanAssignment
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "planKey": {
      "type": "string"
    },
    "assignedAt": {
      "type": "string",
      "format": "date-time"
    },
    "assignedBy": {
      "type": "string"
    },
    "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": [
    "tenantId",
    "planKey",
    "assignedAt",
    "assignedBy"
  ]
}
EffectiveOffering
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "definition": {
      "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"
      ]
    },
    "enterpriseTelemetryCoverage": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "monthlyRecords": {
          "type": "integer"
        },
        "endsAtUtc": {
          "type": "string",
          "format": "date-time"
        },
        "rawRetentionDays": {
          "type": [
            "integer",
            "null"
          ]
        },
        "rawRetentionMonths": {
          "type": [
            "integer",
            "null"
          ]
        },
        "nextResetAtUtc": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "unlimitedEligibility": {
          "type": "boolean"
        }
      },
      "required": [
        "monthlyRecords",
        "endsAtUtc"
      ]
    },
    "composition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "definition": {
          "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/EffectiveOffering/properties/definition/properties/acceptedTelemetryRecords"
            },
            "telemetryOverage": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/properties/telemetryOverage"
            },
            "eligibility": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/properties/eligibility"
            },
            "rawRetentionDays": {
              "type": "integer"
            },
            "aggregateRetentionMonths": {
              "type": "integer"
            },
            "includedServices": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/properties/includedServices"
            },
            "includedStorage": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/properties/includedStorage"
            },
            "capabilities": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/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/EffectiveOffering/properties/definition/properties/serviceCommitments",
              "default": null
            },
            "rawRetentionMonths": {
              "type": [
                "integer",
                "null"
              ]
            },
            "annualPrice": {
              "type": [
                "number",
                "null"
              ]
            },
            "organizationLimit": {
              "type": [
                "integer",
                "null"
              ]
            },
            "externalAgreement": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/properties/externalAgreement"
            },
            "shareTelemetryAcrossOrganizations": {
              "type": "boolean"
            },
            "selectedPackages": {
              "$ref": "#/components/schemas/EffectiveOffering/properties/definition/properties/selectedPackages"
            }
          },
          "required": [
            "version",
            "catalogRevision",
            "key",
            "name",
            "visibility",
            "effectiveFrom",
            "currency",
            "monthlyPrice",
            "acceptedTelemetryRecords",
            "telemetryOverage",
            "eligibility",
            "rawRetentionDays",
            "aggregateRetentionMonths",
            "includedServices",
            "includedStorage",
            "capabilities",
            "packageCatalogRevision",
            "carrierRateRevision",
            "paymentRoute",
            "requiresEnterpriseAgreement"
          ]
        },
        "effectiveServices": {
          "type": "object",
          "properties": {
            "smartLinkResolutions": {
              "type": "integer"
            },
            "acceptedPushDeliveries": {
              "type": "integer"
            },
            "inAppImpressions": {
              "type": "integer"
            },
            "locationUpdates": {
              "type": "integer"
            }
          },
          "required": [
            "smartLinkResolutions",
            "acceptedPushDeliveries",
            "inAppImpressions",
            "locationUpdates"
          ]
        },
        "effectiveStorage": {
          "type": "object",
          "properties": {
            "releaseContentBytes": {
              "type": "integer"
            },
            "symbolUploadContentBytes": {
              "type": "integer"
            },
            "monthlyServedDownloadBytes": {
              "type": "integer"
            }
          },
          "required": [
            "releaseContentBytes",
            "symbolUploadContentBytes",
            "monthlyServedDownloadBytes"
          ]
        },
        "recurringLines": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "monthlyPrice": {
                "type": "number"
              }
            },
            "required": [
              "kind",
              "key",
              "currency",
              "monthlyPrice"
            ]
          }
        }
      },
      "required": [
        "definition",
        "effectiveServices",
        "effectiveStorage",
        "recurringLines"
      ]
    },
    "unlimitedTelemetry": {
      "type": "boolean"
    },
    "cancellationTransition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "state": {
          "type": "string"
        },
        "reasonCode": {
          "type": "string"
        },
        "selectedCatalogRevision": {
          "type": "string"
        },
        "paidThrough": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "evaluatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "state",
        "reasonCode",
        "selectedCatalogRevision",
        "paidThrough",
        "evaluatedAt"
      ]
    }
  },
  "required": [
    "tenantId",
    "state",
    "source",
    "definition"
  ],
  "description": "Current pinned configuration, independently of payment, beta enablement, verified usage and consent. State may be configured, unconfigured, needs-mapping or unavailable. A null definition is not Free or unlimited. composition and cancellationTransition may be omitted. Annual price is explicit; missing annualPrice never means twelve times the monthly price or an inferred discount."
}
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"
  ]
}
OfferingComposition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "definition": {
      "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"
      ]
    },
    "effectiveServices": {
      "type": "object",
      "properties": {
        "smartLinkResolutions": {
          "type": "integer"
        },
        "acceptedPushDeliveries": {
          "type": "integer"
        },
        "inAppImpressions": {
          "type": "integer"
        },
        "locationUpdates": {
          "type": "integer"
        }
      },
      "required": [
        "smartLinkResolutions",
        "acceptedPushDeliveries",
        "inAppImpressions",
        "locationUpdates"
      ]
    },
    "effectiveStorage": {
      "type": "object",
      "properties": {
        "releaseContentBytes": {
          "type": "integer"
        },
        "symbolUploadContentBytes": {
          "type": "integer"
        },
        "monthlyServedDownloadBytes": {
          "type": "integer"
        }
      },
      "required": [
        "releaseContentBytes",
        "symbolUploadContentBytes",
        "monthlyServedDownloadBytes"
      ]
    },
    "recurringLines": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "kind": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "monthlyPrice": {
            "type": "number"
          }
        },
        "required": [
          "kind",
          "key",
          "currency",
          "monthlyPrice"
        ]
      }
    }
  },
  "required": [
    "definition",
    "effectiveServices",
    "effectiveStorage",
    "recurringLines"
  ]
}
BillingCancellationTransition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "reasonCode": {
      "type": "string"
    },
    "selectedCatalogRevision": {
      "type": "string"
    },
    "paidThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "evaluatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "state",
    "reasonCode",
    "selectedCatalogRevision",
    "paidThrough",
    "evaluatedAt"
  ]
}
TenantBillingSubscription
{
  "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"
      ],
      "default": null
    },
    "pendingPlanTiming": {
      "enum": [
        "Immediate",
        "PeriodEnd",
        null
      ],
      "default": null
    },
    "pendingPlanStatus": {
      "enum": [
        "ProviderConfirmationPending",
        "Scheduled",
        "PaymentRequired",
        "Reversed",
        null
      ],
      "default": null
    },
    "pendingPlanEffectiveAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "pendingPaymentRecoveryUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "planGeneration": {
      "type": "integer",
      "default": 1
    },
    "pendingPlanRequestStartedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "paidThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "renewalAnchor": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "recoveryDeadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "usageAllowanceAnchor": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "usageAllowanceAnchorDay": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "paymentConfirmationRequired": {
      "type": "boolean"
    },
    "purchaseInterval": {
      "enum": [
        "Monthly",
        "Annual",
        null
      ]
    },
    "pendingPurchaseInterval": {
      "enum": [
        "Monthly",
        "Annual",
        null
      ]
    }
  },
  "required": [
    "tenantId",
    "provider",
    "providerCustomerId",
    "providerSubscriptionId",
    "planKey",
    "status",
    "entitled",
    "cancelAtPeriodEnd",
    "currentPeriodStart",
    "currentPeriodEnd",
    "trialEndsAt",
    "pastDueSince",
    "lastPaymentFailedAt",
    "lastPaymentSucceededAt",
    "updatedAt"
  ],
  "description": "Durable provider-state projection, not proof of a newly granted plan. The absent subscription is a separate JSON null response. The paymentConfirmationRequired flag tracks the current purchase; previously confirmed paid access may remain effective. Unknown payment, period and pending state remains nullable; purchaseInterval and pendingPurchaseInterval are omitted when null. Purchase recurrence is separate from the monthly usage allowance period."
}
BillingAccountOverview
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "providerConnected": {
      "type": "boolean"
    },
    "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"
          ]
        }
      },
      "required": [
        "email",
        "name",
        "addressLine1",
        "addressLine2",
        "city",
        "region",
        "postalCode",
        "country"
      ]
    },
    "invoices": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "providerInvoiceId": {
            "type": "string"
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "totalMinor": {
            "type": "integer"
          },
          "amountPaidMinor": {
            "type": "integer"
          },
          "amountDueMinor": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "periodStart": {
            "type": "string",
            "format": "date-time"
          },
          "periodEnd": {
            "type": "string",
            "format": "date-time"
          },
          "paidAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "dueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "hostedInvoiceUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "invoicePdfUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "receiptNumber": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "providerInvoiceId",
          "number",
          "status",
          "currency",
          "totalMinor",
          "amountPaidMinor",
          "amountDueMinor",
          "createdAt",
          "periodStart",
          "periodEnd",
          "paidAt",
          "dueAt",
          "hostedInvoiceUrl",
          "invoicePdfUrl",
          "receiptNumber"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "providerConnected",
    "contact",
    "invoices",
    "nextCursor"
  ],
  "description": "Provider-bound invoice page with opaque nextCursor, no invented total. If no provider customer association exists, providerConnected is false, contact and nextCursor are null, and invoices is empty without a provider call. A provider outage is an error, not this disconnected-account result."
}
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"
  ]
}
BillingInvoiceRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "providerInvoiceId": {
      "type": "string"
    },
    "number": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "totalMinor": {
      "type": "integer"
    },
    "amountPaidMinor": {
      "type": "integer"
    },
    "amountDueMinor": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "periodStart": {
      "type": "string",
      "format": "date-time"
    },
    "periodEnd": {
      "type": "string",
      "format": "date-time"
    },
    "paidAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "dueAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "hostedInvoiceUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "invoicePdfUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "receiptNumber": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "providerInvoiceId",
    "number",
    "status",
    "currency",
    "totalMinor",
    "amountPaidMinor",
    "amountDueMinor",
    "createdAt",
    "periodStart",
    "periodEnd",
    "paidAt",
    "dueAt",
    "hostedInvoiceUrl",
    "invoicePdfUrl",
    "receiptNumber"
  ],
  "description": "Provider invoice amounts are exact integer minor units. Do not assume a two-decimal currency or convert missing dates, receipts or invoice links into zeros/empty strings."
}
BillingRedirectSession
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "sessionId": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "required": [
    "sessionId",
    "url"
  ]
}
BillingPlanChangeResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "currentPlanKey": {
      "type": "string"
    },
    "targetPlanKey": {
      "type": "string"
    },
    "timing": {
      "enum": [
        "Immediate",
        "PeriodEnd"
      ]
    },
    "status": {
      "enum": [
        "ProviderConfirmationPending",
        "Scheduled",
        "PaymentRequired",
        "Reversed"
      ]
    },
    "effectiveAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "paymentRecoveryUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "purchaseInterval": {
      "enum": [
        "Monthly",
        "Annual",
        null
      ]
    }
  },
  "required": [
    "currentPlanKey",
    "targetPlanKey",
    "timing",
    "status"
  ],
  "description": "Accepted provider workflow result: ProviderConfirmationPending, Scheduled, PaymentRequired or Reversed. Existing entitlements converge from verified provider events; a successful HTTP result does not grant the selected plan. EffectiveAt and paymentRecoveryUrl can be null; purchaseInterval may be omitted."
}
SpendAlertConfig
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "monthlyCapAmount": {
      "type": [
        "number",
        "null"
      ]
    },
    "warnAtPercent": {
      "type": "integer"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "paidSendsSuspended": {
      "type": "boolean",
      "default": false
    },
    "suspensionReason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "tenantId",
    "monthlyCapAmount",
    "warnAtPercent",
    "updatedAt",
    "updatedBy"
  ]
}
OfferingAccountQualificationView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "accountKind": {
      "type": "string"
    },
    "canDeclare": {
      "type": "boolean"
    },
    "latestRevision": {
      "type": "integer"
    },
    "latest": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "state": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "effectiveFromUtc": {
          "type": "string",
          "format": "date-time"
        },
        "declaredAtUtc": {
          "type": "string",
          "format": "date-time"
        },
        "definition": {
          "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"
          ]
        },
        "mutationId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "payloadHash": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "state",
        "revision",
        "effectiveFromUtc",
        "declaredAtUtc",
        "definition",
        "mutationId",
        "payloadHash"
      ]
    },
    "current": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "state": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "effectiveFromUtc": {
          "type": "string",
          "format": "date-time"
        },
        "declaredAtUtc": {
          "type": "string",
          "format": "date-time"
        },
        "definition": {
          "$ref": "#/components/schemas/OfferingAccountQualificationView/properties/latest/properties/definition"
        },
        "mutationId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "payloadHash": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "state",
        "revision",
        "effectiveFromUtc",
        "declaredAtUtc",
        "definition",
        "mutationId",
        "payloadHash"
      ]
    },
    "observedAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "policy": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "catalogRevision": {
          "type": [
            "string",
            "null"
          ]
        },
        "offeringDefinitionVersion": {
          "type": [
            "string",
            "null"
          ]
        },
        "pinnedDefinitionFingerprint": {
          "type": [
            "string",
            "null"
          ]
        },
        "definition": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "groupEmployees": {
              "type": "integer"
            },
            "consolidatedAnnualUsdRevenueOrBudget": {
              "type": "number"
            },
            "verifiedTransitionDays": {
              "type": "integer"
            }
          },
          "required": [
            "groupEmployees",
            "consolidatedAnnualUsdRevenueOrBudget",
            "verifiedTransitionDays"
          ]
        }
      },
      "required": [
        "state",
        "source",
        "catalogRevision",
        "offeringDefinitionVersion",
        "pinnedDefinitionFingerprint",
        "definition"
      ]
    },
    "qualification": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "reason"
      ]
    }
  },
  "required": [
    "accountKind",
    "canDeclare",
    "latestRevision",
    "latest",
    "current",
    "observedAtUtc",
    "policy",
    "qualification"
  ],
  "description": "Current Personal owner or organization-wide Admin source read. Latest may be a future declaration while current is null/older. Facts can be declared while policy is unavailable. Null definitions, mutation IDs and fingerprints remain unknown; corporate qualification does not grant an offering, access, payment or whole-account eligibility."
}
OfferingAccountQualificationPolicyView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "catalogRevision": {
      "type": [
        "string",
        "null"
      ]
    },
    "offeringDefinitionVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "pinnedDefinitionFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "groupEmployees": {
          "type": "integer"
        },
        "consolidatedAnnualUsdRevenueOrBudget": {
          "type": "number"
        },
        "verifiedTransitionDays": {
          "type": "integer"
        }
      },
      "required": [
        "groupEmployees",
        "consolidatedAnnualUsdRevenueOrBudget",
        "verifiedTransitionDays"
      ]
    }
  },
  "required": [
    "state",
    "source",
    "catalogRevision",
    "offeringDefinitionVersion",
    "pinnedDefinitionFingerprint",
    "definition"
  ]
}
OfferingAccountDeclarationSnapshot
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "effectiveFromUtc": {
      "type": "string",
      "format": "date-time"
    },
    "declaredAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "definition": {
      "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"
      ]
    },
    "mutationId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "payloadHash": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "state",
    "revision",
    "effectiveFromUtc",
    "declaredAtUtc",
    "definition",
    "mutationId",
    "payloadHash"
  ]
}
OfferingAccountQualificationDecisionView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    }
  },
  "required": [
    "state",
    "reason"
  ]
}
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"
  ]
}
TelemetryCollectionStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "planKey": {
      "type": "string"
    },
    "allowancePeriod": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "startsAt": {
          "type": "string",
          "format": "date-time"
        },
        "endsAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "startsAt",
        "endsAt"
      ]
    },
    "availability": {
      "type": "string"
    },
    "enforcement": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string"
        },
        "reasonCode": {
          "type": "string"
        }
      },
      "required": [
        "state",
        "reasonCode"
      ]
    },
    "activeSubjects": {
      "type": "object",
      "properties": {
        "observedTotal": {
          "type": [
            "integer",
            "null"
          ]
        },
        "identityAvailable": {
          "type": "boolean"
        },
        "periodCoverageConfirmed": {
          "type": "boolean"
        },
        "coverageFrom": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "coverageThrough": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "reasonCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "identifiedUsers": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "anonymousInstallations": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "observedTotal",
        "identityAvailable",
        "periodCoverageConfirmed",
        "coverageFrom",
        "coverageThrough",
        "reasonCode"
      ]
    },
    "grace": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string"
        },
        "startedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "endsAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "recoveredThrough": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastObservedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "state",
        "startedAt",
        "endsAt",
        "recoveredThrough",
        "lastObservedAt"
      ]
    },
    "signals": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "signal": {
            "type": "string"
          },
          "configuration": {
            "type": "string"
          },
          "availability": {
            "type": "string"
          },
          "accepted": {
            "type": [
              "integer",
              "null"
            ]
          },
          "reserved": {
            "type": [
              "integer",
              "null"
            ]
          },
          "publishing": {
            "type": [
              "integer",
              "null"
            ]
          },
          "uncertain": {
            "type": [
              "integer",
              "null"
            ]
          },
          "released": {
            "type": [
              "integer",
              "null"
            ]
          },
          "baselineConfirmed": {
            "type": "boolean"
          }
        },
        "required": [
          "signal",
          "configuration",
          "availability",
          "accepted",
          "reserved",
          "publishing",
          "uncertain",
          "released",
          "baselineConfirmed"
        ]
      }
    },
    "schemaVersion": {
      "type": "integer",
      "default": 1
    },
    "recentAdmission": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "signal": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "reasonCode": {
            "type": "string"
          },
          "observedAt": {
            "type": "string",
            "format": "date-time"
          },
          "allowanceResetsAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "acceptedRecords": {
            "type": "integer"
          },
          "alreadyAcceptedRecords": {
            "type": "integer"
          },
          "retainedRecords": {
            "type": "integer"
          }
        },
        "required": [
          "appId",
          "environmentName",
          "signal",
          "outcome",
          "reasonCode",
          "observedAt",
          "allowanceResetsAt",
          "acceptedRecords",
          "alreadyAcceptedRecords",
          "retainedRecords"
        ]
      }
    }
  },
  "required": [
    "tenantId",
    "observedAt",
    "planKey",
    "allowancePeriod",
    "availability",
    "enforcement",
    "activeSubjects",
    "grace",
    "signals"
  ],
  "description": "Read-only observed evidence. enforcement remains not-verified; saved grace/configuration and reservation counters do not establish current collection. Unknown counters/periods remain null. recentAdmission null means its source is unavailable; an empty list means no retained examples, not zero traffic. Bounded historical request outcomes retain their own timestamps; allowanceResetsAt is an observed hint, not guaranteed automatic resumption."
}
TelemetryAdmissionOutcomeEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "signal": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "reasonCode": {
      "type": "string"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "allowanceResetsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "acceptedRecords": {
      "type": "integer"
    },
    "alreadyAcceptedRecords": {
      "type": "integer"
    },
    "retainedRecords": {
      "type": "integer"
    }
  },
  "required": [
    "appId",
    "environmentName",
    "signal",
    "outcome",
    "reasonCode",
    "observedAt",
    "allowanceResetsAt",
    "acceptedRecords",
    "alreadyAcceptedRecords",
    "retainedRecords"
  ]
}
TelemetryActiveSubjectEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "observedTotal": {
      "type": [
        "integer",
        "null"
      ]
    },
    "identityAvailable": {
      "type": "boolean"
    },
    "periodCoverageConfirmed": {
      "type": "boolean"
    },
    "coverageFrom": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "coverageThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "reasonCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "identifiedUsers": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "anonymousInstallations": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "observedTotal",
    "identityAvailable",
    "periodCoverageConfirmed",
    "coverageFrom",
    "coverageThrough",
    "reasonCode"
  ]
}
TelemetrySignalEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "signal": {
      "type": "string"
    },
    "configuration": {
      "type": "string"
    },
    "availability": {
      "type": "string"
    },
    "accepted": {
      "type": [
        "integer",
        "null"
      ]
    },
    "reserved": {
      "type": [
        "integer",
        "null"
      ]
    },
    "publishing": {
      "type": [
        "integer",
        "null"
      ]
    },
    "uncertain": {
      "type": [
        "integer",
        "null"
      ]
    },
    "released": {
      "type": [
        "integer",
        "null"
      ]
    },
    "baselineConfirmed": {
      "type": "boolean"
    }
  },
  "required": [
    "signal",
    "configuration",
    "availability",
    "accepted",
    "reserved",
    "publishing",
    "uncertain",
    "released",
    "baselineConfirmed"
  ]
}
TelemetryGraceEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "endsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "recoveredThrough": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastObservedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "state",
    "startedAt",
    "endsAt",
    "recoveredThrough",
    "lastObservedAt"
  ]
}
TelemetryEnforcementEvidence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "state": {
      "type": "string"
    },
    "reasonCode": {
      "type": "string"
    }
  },
  "required": [
    "state",
    "reasonCode"
  ]
}
ProviderEventApplyResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "outcome": {
      "type": "integer"
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "effectivePlanKey": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "outcome",
    "tenantId",
    "effectivePlanKey"
  ],
  "description": "Actual verified provider-event application result. Outcome uses the producer's native numeric enum: 0 Processed, 1 Ignored, 2 IgnoredStale, 3 Duplicate. TenantId and effectivePlanKey remain nullable; this is not a fabricated invoice, wallet or unconditional payment/grant receipt."
}
UpdateBillingContactRequest
{
  "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"
      ]
    }
  },
  "description": "Domain acceptance trims fields: valid email up to 254 characters; name/addressLine1 nonempty up to 200; addressLine2 up to 200; city/region up to 100; postalCode up to 32. Country is uppercased and must contain exactly two ASCII letters. Optional whitespace-only fields become null. Authority and provider customer come from the selected account."
}
CreateCheckoutSessionRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "planKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedCatalogRevision": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "purchaseInterval": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][oO][nN][tT][hH][lL][yY]|[aA][nN][nN][uU][aA][lL])(?:\\s*,\\s*(?:[mM][oO][nN][tT][hH][lL][yY]|[aA][nN][nN][uU][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Monthly",
        "Annual"
      ],
      "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": "Monthly"
    }
  },
  "description": "Plan key and optional expected catalog revision select actual server-authoritative public paid terms. PurchaseInterval defaults to Monthly when omitted; Annual requires configured explicit annual terms. No price or grant is accepted from this body."
}
ChangeSubscriptionPlanRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "planKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "timing": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[iI][mM][mM][eE][dD][iI][aA][tT][eE]|[pP][eE][rR][iI][oO][dD][eE][nN][dD])(?:\\s*,\\s*(?:[iI][mM][mM][eE][dD][iI][aA][tT][eE]|[pP][eE][rR][iI][oO][dD][eE][nN][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Immediate",
        "PeriodEnd"
      ],
      "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": "PeriodEnd"
    },
    "expectedCatalogRevision": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "purchaseInterval": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][oO][nN][tT][hH][lL][yY]|[aA][nN][nN][uU][aA][lL])(?:\\s*,\\s*(?:[mM][oO][nN][tT][hH][lL][yY]|[aA][nN][nN][uU][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Monthly",
        "Annual"
      ],
      "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": "Monthly"
    }
  },
  "description": "Timing defaults to PeriodEnd and purchaseInterval to Monthly. Cancellation and paid downgrades use the actual renewal boundary; upgrades use Immediate after confirmed payment. Cadence transitions require the existing confirmed terms and supported renewal path. Pending/unknown provider work must be reconciled with its original key and selected terms."
}
UpdateSpendAlertRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "warnAtPercent": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "monthlyCapAmount": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
      "default": null
    }
  },
  "description": "warnAtPercent must be 1–100; monthlyCapAmount must be nonnegative or null. Null clears the configured spending cap; it is not a monetary allowance, credit grant or collection-enforcement switch. This existing operation has no idempotency or revision header."
}
DashboardAccountQualificationDeclarationRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "mutationId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "scope": {
          "type": [
            "string",
            "null"
          ]
        },
        "nonstandardContractObligations": {
          "type": "boolean"
        },
        "controlledGroupReference": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "wholeScopeEmployees": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        },
        "wholeScopeAnnualUsdRevenueOrBudget": {
          "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": [
        "scope",
        "nonstandardContractObligations"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "effectiveFromUtc": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "mutationId",
    "expectedRevision",
    "definition",
    "reason"
  ],
  "description": "Body-based mutation identity and optimistic revision, not Idempotency-Key. Acceptance requires a nonempty mutationId, expectedRevision from zero through Int64.MaxValue-1, valid definition and trimmed nonempty reason of at most 2048 characters. effectiveFromUtc is omitted for actual server write time; an explicit value must be UTC and prospective. Independent scope must match the actual account kind. Scope is independent-personal, independent-organization, controlled-group or unknown. Controlled-group requires its bounded opaque reference. Financial facts require the existing whole-entity/consolidated basis and exact UTC one-year window; unknown facts remain null."
}
DashboardBillingAccountProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    },
    "planKey": {
      "type": "string"
    },
    "pendingPlanStatus": {
      "type": "string"
    },
    "pendingPlanKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "subscriptionStatus": {
      "enum": [
        "Unknown",
        "Incomplete",
        "IncompleteExpired",
        "Trialing",
        "Active",
        "PastDue",
        "Unpaid",
        "Paused",
        "Canceled"
      ]
    },
    "retryWithFreshIdempotencyKey": {
      "type": "boolean"
    },
    "retryWithFreshMutationId": {
      "type": "boolean"
    }
  },
  "description": "Actual shared management problem details with code/message/traceId and public-message error alias. Optional server-owned extensions preserve the specific producer decision. A fresh idempotency key or mutation ID is safe only when the relevant explicit nonexecution flag is true; HTTP status alone does not establish that. Session-change and CSRF/origin JSON are separate browser representations."
}
DashboardBillingAccountBrowserError
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "error": {
      "type": "string"
    }
  },
  "required": [
    "error"
  ]
}
MarketplacePurchasePreview
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "subscriptionId": {
      "type": "string",
      "format": "uuid"
    },
    "externalPlanReference": {
      "type": "string"
    },
    "quantity": {
      "type": [
        "integer",
        "null"
      ]
    },
    "status": {
      "enum": [
        "Unknown",
        "Incomplete",
        "IncompleteExpired",
        "Trialing",
        "Active",
        "PastDue",
        "Unpaid",
        "Paused",
        "Canceled"
      ]
    },
    "purchaseInterval": {
      "enum": [
        "Monthly",
        "Annual",
        null
      ]
    },
    "isFreeTrial": {
      "type": "boolean"
    }
  },
  "required": [
    "subscriptionId",
    "externalPlanReference",
    "quantity",
    "status",
    "purchaseInterval",
    "isFreeTrial"
  ],
  "description": "Verified external purchase preview, not AppPortal entitlement/payment authority. No token, beneficiary, customer profile, paid-through date, assigned offering or price is exposed."
}
MarketplacePurchaseLinkReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "linkId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "subscriptionId": {
      "type": "string",
      "format": "uuid"
    },
    "ownerRevision": {
      "type": "integer"
    },
    "recordedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "linkId",
    "tenantId",
    "subscriptionId",
    "ownerRevision",
    "recordedAt"
  ],
  "description": "Immutable historical intent receipt. Current active purchase binding, catalog terms, entitlement, payment and activation permission remain separate. recordedAt is the original persisted timestamp, including on replay."
}
MarketplacePurchasePreviewRequest
{
  "type": "object",
  "required": [
    "purchaseToken"
  ],
  "properties": {
    "purchaseToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16384,
      "pattern": "^[!-~]+$",
      "writeOnly": true,
      "description": "Already URL-decoded opaque token, printable ASCII excluding whitespace. Transmitted only in this JSON body; never persisted, logged or returned."
    }
  },
  "additionalProperties": true
}
MarketplacePurchaseLinkIntentRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "subscriptionId": {
      "type": "string",
      "format": "uuid",
      "not": {
        "const": "00000000-0000-0000-0000-000000000000"
      }
    },
    "expectedOwnerRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "minimum": 0
    },
    "acknowledged": {
      "type": "boolean",
      "const": true
    },
    "purchaseToken": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16384,
      "pattern": "^[!-~]+$",
      "writeOnly": true,
      "description": "Already URL-decoded opaque token, printable ASCII excluding whitespace. Transmitted only in this JSON body; never persisted, logged or returned."
    }
  },
  "required": [
    "subscriptionId",
    "expectedOwnerRevision",
    "acknowledged",
    "purchaseToken"
  ],
  "additionalProperties": true,
  "description": "Actual owner command plus the ephemeral token. Subscription must match fresh verified Resolve facts; explicit acknowledgement and current persisted owner revision are required. Additional tenant/actor fields are ignored, not authority."
}
AppPageRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "pageId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "appSlug": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "Landing",
        "Privacy",
        "Terms",
        "Support",
        "Beta"
      ]
    },
    "title": {
      "type": "string"
    },
    "heroTagline": {
      "type": [
        "string",
        "null"
      ]
    },
    "bodyMarkdown": {
      "type": "string"
    },
    "contactEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "storeBadges": {
      "type": "boolean"
    },
    "state": {
      "enum": [
        "Draft",
        "InReview",
        "Published",
        "Unpublished"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "required": [
    "pageId",
    "tenantId",
    "appId",
    "appSlug",
    "kind",
    "title",
    "heroTagline",
    "bodyMarkdown",
    "contactEmail",
    "storeBadges",
    "state",
    "updatedAt",
    "updatedBy",
    "publishedAt"
  ]
}
AppPages
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "pageId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "appSlug": {
        "type": "string"
      },
      "kind": {
        "enum": [
          "Landing",
          "Privacy",
          "Terms",
          "Support",
          "Beta"
        ]
      },
      "title": {
        "type": "string"
      },
      "heroTagline": {
        "type": [
          "string",
          "null"
        ]
      },
      "bodyMarkdown": {
        "type": "string"
      },
      "contactEmail": {
        "type": [
          "string",
          "null"
        ]
      },
      "storeBadges": {
        "type": "boolean"
      },
      "state": {
        "enum": [
          "Draft",
          "InReview",
          "Published",
          "Unpublished"
        ]
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      },
      "publishedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      }
    },
    "required": [
      "pageId",
      "tenantId",
      "appId",
      "appSlug",
      "kind",
      "title",
      "heroTagline",
      "bodyMarkdown",
      "contactEmail",
      "storeBadges",
      "state",
      "updatedAt",
      "updatedBy",
      "publishedAt"
    ]
  }
}
PageScaffold
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "kind": {
      "enum": [
        "Landing",
        "Privacy",
        "Terms",
        "Support",
        "Beta"
      ]
    },
    "title": {
      "type": "string"
    },
    "bodyMarkdown": {
      "type": "string"
    }
  },
  "required": [
    "kind",
    "title",
    "bodyMarkdown"
  ]
}
PageUpsertRequest
{
  "type": "object",
  "properties": {
    "appSlug": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "bodyMarkdown": {
      "type": [
        "string",
        "null"
      ]
    },
    "heroTagline": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "contactEmail": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "storeBadges": {
      "type": "boolean",
      "default": true
    }
  },
  "description": "Actual JSON-bound DTO. appSlug/title/bodyMarkdown must be nonblank for domain acceptance. appSlug is trimmed/lowercased, title trimmed; editing always resets Draft and clears publishedAt. Nullable metadata and StoreBadges default true retain their native meanings."
}
DashboardPageProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  }
}
SmartLinkRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "linkId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "bindingId": {
      "type": "string"
    },
    "host": {
      "type": "string"
    },
    "publicUrl": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "deepLinkUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "fallbackUrl": {
      "type": "string"
    },
    "campaign": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "medium": {
      "type": [
        "string",
        "null"
      ]
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "active": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "iosDeepLinkUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "androidDeepLinkUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "iosStoreUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "androidStoreUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "destinationPolicy": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "defaultApp": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "kind": {
              "enum": [
                "DefaultApp",
                "IosApp",
                "AndroidApp",
                "Web",
                "IosStore",
                "AndroidStore",
                "HostFallback"
              ]
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ]
            },
            "installationContext": {
              "enum": [
                "Installed",
                "NotInstalled"
              ]
            },
            "protocol": {
              "enum": [
                "AppRelative",
                "CustomScheme",
                "Https"
              ]
            },
            "url": {
              "type": "string"
            },
            "precedence": {
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "platform",
            "installationContext",
            "protocol",
            "url",
            "precedence"
          ]
        },
        "iosApp": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "kind": {
              "enum": [
                "DefaultApp",
                "IosApp",
                "AndroidApp",
                "Web",
                "IosStore",
                "AndroidStore",
                "HostFallback"
              ]
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ]
            },
            "installationContext": {
              "enum": [
                "Installed",
                "NotInstalled"
              ]
            },
            "protocol": {
              "enum": [
                "AppRelative",
                "CustomScheme",
                "Https"
              ]
            },
            "url": {
              "type": "string"
            },
            "precedence": {
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "platform",
            "installationContext",
            "protocol",
            "url",
            "precedence"
          ]
        },
        "androidApp": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "kind": {
              "enum": [
                "DefaultApp",
                "IosApp",
                "AndroidApp",
                "Web",
                "IosStore",
                "AndroidStore",
                "HostFallback"
              ]
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ]
            },
            "installationContext": {
              "enum": [
                "Installed",
                "NotInstalled"
              ]
            },
            "protocol": {
              "enum": [
                "AppRelative",
                "CustomScheme",
                "Https"
              ]
            },
            "url": {
              "type": "string"
            },
            "precedence": {
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "platform",
            "installationContext",
            "protocol",
            "url",
            "precedence"
          ]
        },
        "iosStore": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "kind": {
              "enum": [
                "DefaultApp",
                "IosApp",
                "AndroidApp",
                "Web",
                "IosStore",
                "AndroidStore",
                "HostFallback"
              ]
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ]
            },
            "installationContext": {
              "enum": [
                "Installed",
                "NotInstalled"
              ]
            },
            "protocol": {
              "enum": [
                "AppRelative",
                "CustomScheme",
                "Https"
              ]
            },
            "url": {
              "type": "string"
            },
            "precedence": {
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "platform",
            "installationContext",
            "protocol",
            "url",
            "precedence"
          ]
        },
        "androidStore": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "kind": {
              "enum": [
                "DefaultApp",
                "IosApp",
                "AndroidApp",
                "Web",
                "IosStore",
                "AndroidStore",
                "HostFallback"
              ]
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ]
            },
            "installationContext": {
              "enum": [
                "Installed",
                "NotInstalled"
              ]
            },
            "protocol": {
              "enum": [
                "AppRelative",
                "CustomScheme",
                "Https"
              ]
            },
            "url": {
              "type": "string"
            },
            "precedence": {
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "platform",
            "installationContext",
            "protocol",
            "url",
            "precedence"
          ]
        },
        "web": {
          "type": "object",
          "properties": {
            "kind": {
              "enum": [
                "DefaultApp",
                "IosApp",
                "AndroidApp",
                "Web",
                "IosStore",
                "AndroidStore",
                "HostFallback"
              ]
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ]
            },
            "installationContext": {
              "enum": [
                "Installed",
                "NotInstalled"
              ]
            },
            "protocol": {
              "enum": [
                "AppRelative",
                "CustomScheme",
                "Https"
              ]
            },
            "url": {
              "type": "string"
            },
            "precedence": {
              "type": "integer"
            }
          },
          "required": [
            "kind",
            "platform",
            "installationContext",
            "protocol",
            "url",
            "precedence"
          ]
        }
      },
      "required": [
        "defaultApp",
        "iosApp",
        "androidApp",
        "iosStore",
        "androidStore",
        "web"
      ],
      "default": null
    },
    "totalClicks": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "linkId",
    "tenantId",
    "appId",
    "environment",
    "bindingId",
    "host",
    "publicUrl",
    "slug",
    "displayName",
    "deepLinkUrl",
    "fallbackUrl",
    "campaign",
    "source",
    "medium",
    "expiresAt",
    "active",
    "createdAt",
    "updatedAt",
    "updatedBy"
  ]
}
SmartLinkCopyResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "requestedCount": {
      "type": "integer"
    },
    "copied": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "linkId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "bindingId": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "publicUrl": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "deepLinkUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "fallbackUrl": {
            "type": "string"
          },
          "campaign": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "medium": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "iosDeepLinkUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "androidDeepLinkUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "iosStoreUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "androidStoreUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "destinationPolicy": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "defaultApp": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "iosApp": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "androidApp": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "iosStore": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "androidStore": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "web": {
                "type": "object",
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              }
            },
            "required": [
              "defaultApp",
              "iosApp",
              "androidApp",
              "iosStore",
              "androidStore",
              "web"
            ],
            "default": null
          },
          "totalClicks": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "linkId",
          "tenantId",
          "appId",
          "environment",
          "bindingId",
          "host",
          "publicUrl",
          "slug",
          "displayName",
          "deepLinkUrl",
          "fallbackUrl",
          "campaign",
          "source",
          "medium",
          "expiresAt",
          "active",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "skippedSlugs": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "missingLinkIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "error": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "requestedCount",
    "copied",
    "skippedSlugs",
    "missingLinkIds"
  ]
}
SmartLinkClickStats
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "slug": {
      "type": "string"
    },
    "totalClicks": {
      "type": "integer"
    },
    "byTarget": {
      "type": "object",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "byOutcome": {
      "type": "object",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "byDay": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bucketStart": {
            "type": "string",
            "format": "date-time"
          },
          "value": {
            "type": "number"
          }
        },
        "required": [
          "bucketStart",
          "value"
        ]
      }
    },
    "funnel": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "activations": {
          "type": "integer"
        },
        "humanActivations": {
          "type": "integer"
        },
        "automatedActivations": {
          "type": "integer"
        },
        "destinationsSelected": {
          "type": "integer"
        },
        "redirectsIssued": {
          "type": "integer"
        },
        "storeRedirects": {
          "type": "integer"
        },
        "landingsConfirmed": {
          "type": "integer"
        },
        "routesAccepted": {
          "type": "integer"
        },
        "routesRejected": {
          "type": "integer"
        },
        "routesExpired": {
          "type": "integer"
        },
        "deferredInstallsConfirmed": {
          "type": "integer"
        },
        "firstLaunchesConfirmed": {
          "type": "integer"
        }
      },
      "required": [
        "activations",
        "humanActivations",
        "automatedActivations",
        "destinationsSelected",
        "redirectsIssued",
        "storeRedirects",
        "landingsConfirmed",
        "routesAccepted",
        "routesRejected",
        "routesExpired",
        "deferredInstallsConfirmed",
        "firstLaunchesConfirmed"
      ],
      "default": null
    },
    "byDestination": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byPlatform": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byRouteOutcome": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byBrowser": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byOperatingSystem": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byDeviceClass": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byCampaign": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "byAutomationClass": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      },
      "default": null
    },
    "recentJourneys": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "journeyId": {
            "type": "string"
          },
          "activatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "entryStage": {
            "enum": [
              "PublicActivation",
              "InstalledAppResolution",
              "DestinationSelected",
              "RedirectIssued",
              "StoreRedirect",
              "LandingConfirmed",
              "RouteAccepted",
              "RouteRejected",
              "RouteExpired",
              "DeferredInstallConfirmed",
              "FirstLaunchConfirmed"
            ]
          },
          "destinationKind": {
            "enum": [
              "DefaultApp",
              "IosApp",
              "AndroidApp",
              "Web",
              "IosStore",
              "AndroidStore",
              "HostFallback",
              null
            ]
          },
          "selectionReason": {
            "type": [
              "string",
              "null"
            ]
          },
          "platform": {
            "type": [
              "string",
              "null"
            ]
          },
          "target": {
            "enum": [
              "Web",
              "Ios",
              "Android",
              "App",
              "IosStore",
              "AndroidStore"
            ]
          },
          "outcome": {
            "enum": [
              "App",
              "Fallback",
              "Expired",
              "Inactive",
              "Store"
            ]
          },
          "redirectIssuedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "storeRedirectAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "landingConfirmedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "routeCompletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "routeOutcome": {
            "type": [
              "string",
              "null"
            ]
          },
          "landingState": {
            "enum": [
              "Unknown",
              "Confirmed",
              "Rejected",
              "Expired",
              "Unsupported",
              "NotApplicable"
            ]
          },
          "routeState": {
            "enum": [
              "Unknown",
              "Confirmed",
              "Rejected",
              "Expired",
              "Unsupported",
              "NotApplicable"
            ]
          },
          "deferredInstallState": {
            "enum": [
              "Unknown",
              "Confirmed",
              "Rejected",
              "Expired",
              "Unsupported",
              "NotApplicable"
            ]
          },
          "firstLaunchState": {
            "enum": [
              "Unknown",
              "Confirmed",
              "Rejected",
              "Expired",
              "Unsupported",
              "NotApplicable"
            ]
          },
          "browserFamily": {
            "type": [
              "string",
              "null"
            ]
          },
          "browserMajorVersion": {
            "type": [
              "integer",
              "null"
            ]
          },
          "operatingSystem": {
            "type": [
              "string",
              "null"
            ]
          },
          "deviceClass": {
            "enum": [
              "Unknown",
              "Mobile",
              "Tablet",
              "Desktop",
              "NotApplicable"
            ]
          },
          "automationClass": {
            "enum": [
              "Unknown",
              "Human",
              "KnownAutomation",
              "SuspectedAutomation",
              "NotApplicable"
            ]
          },
          "sessionId": {
            "type": [
              "string",
              "null"
            ]
          },
          "deviceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "buildNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "sdkName": {
            "type": [
              "string",
              "null"
            ]
          },
          "sdkVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "nativeOsFamily": {
            "type": [
              "string",
              "null"
            ]
          },
          "nativeDeviceModel": {
            "type": [
              "string",
              "null"
            ]
          },
          "campaign": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "medium": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "journeyId",
          "activatedAt",
          "entryStage",
          "destinationKind",
          "selectionReason",
          "platform",
          "target",
          "outcome",
          "redirectIssuedAt",
          "storeRedirectAt",
          "landingConfirmedAt",
          "routeCompletedAt",
          "routeOutcome",
          "landingState",
          "routeState",
          "deferredInstallState",
          "firstLaunchState",
          "browserFamily",
          "browserMajorVersion",
          "operatingSystem",
          "deviceClass",
          "automationClass",
          "sessionId",
          "deviceId",
          "appVersion",
          "buildNumber",
          "sdkName",
          "sdkVersion",
          "nativeOsFamily",
          "nativeDeviceModel",
          "campaign",
          "source",
          "medium"
        ]
      },
      "default": null
    }
  },
  "required": [
    "slug",
    "totalClicks",
    "byTarget",
    "byOutcome",
    "byDay"
  ]
}
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"
  ]
}
SmartLinkDomainAvailabilityResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "primaryDomain": {
      "type": "string"
    },
    "candidates": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "input": {
            "type": "string"
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "host": {
            "type": [
              "string",
              "null"
            ]
          },
          "available": {
            "type": "boolean"
          },
          "ownedByTenant": {
            "type": "boolean"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "input",
          "label",
          "host",
          "available",
          "ownedByTenant",
          "reason"
        ]
      }
    }
  },
  "required": [
    "primaryDomain",
    "candidates"
  ]
}
SmartLinkDomainBindingRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "bindingId": {
      "type": "string"
    },
    "domainId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "host": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "lockedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "bindingId",
    "domainId",
    "tenantId",
    "appId",
    "environment",
    "host",
    "active",
    "createdAt",
    "updatedAt",
    "updatedBy"
  ]
}
AppLinkIdentityRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "identityId": {
      "type": "string"
    },
    "bindingId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "host": {
      "type": "string"
    },
    "platform": {
      "enum": [
        "unattributed",
        "iOS",
        "Android",
        "Windows",
        "MacCatalyst",
        "Web",
        "macOS",
        "watchOS",
        "tvOS",
        "WinUI",
        "Wpf",
        "Linux",
        "iPadOS"
      ]
    },
    "environment": {
      "type": "string"
    },
    "bundleId": {
      "type": [
        "string",
        "null"
      ]
    },
    "appIdPrefix": {
      "type": [
        "string",
        "null"
      ]
    },
    "packageName": {
      "type": [
        "string",
        "null"
      ]
    },
    "sha256CertFingerprint": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    }
  },
  "required": [
    "identityId",
    "bindingId",
    "tenantId",
    "appId",
    "host",
    "platform",
    "environment",
    "bundleId",
    "appIdPrefix",
    "packageName",
    "sha256CertFingerprint",
    "createdAt",
    "updatedAt",
    "updatedBy"
  ]
}
SmartLinks
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "linkId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environment": {
        "type": "string"
      },
      "bindingId": {
        "type": "string"
      },
      "host": {
        "type": "string"
      },
      "publicUrl": {
        "type": "string"
      },
      "slug": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "deepLinkUrl": {
        "type": [
          "string",
          "null"
        ]
      },
      "fallbackUrl": {
        "type": "string"
      },
      "campaign": {
        "type": [
          "string",
          "null"
        ]
      },
      "source": {
        "type": [
          "string",
          "null"
        ]
      },
      "medium": {
        "type": [
          "string",
          "null"
        ]
      },
      "expiresAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "active": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      },
      "iosDeepLinkUrl": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "androidDeepLinkUrl": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "iosStoreUrl": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "androidStoreUrl": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "destinationPolicy": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "defaultApp": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "DefaultApp",
                  "IosApp",
                  "AndroidApp",
                  "Web",
                  "IosStore",
                  "AndroidStore",
                  "HostFallback"
                ]
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ]
              },
              "installationContext": {
                "enum": [
                  "Installed",
                  "NotInstalled"
                ]
              },
              "protocol": {
                "enum": [
                  "AppRelative",
                  "CustomScheme",
                  "Https"
                ]
              },
              "url": {
                "type": "string"
              },
              "precedence": {
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "platform",
              "installationContext",
              "protocol",
              "url",
              "precedence"
            ]
          },
          "iosApp": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "DefaultApp",
                  "IosApp",
                  "AndroidApp",
                  "Web",
                  "IosStore",
                  "AndroidStore",
                  "HostFallback"
                ]
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ]
              },
              "installationContext": {
                "enum": [
                  "Installed",
                  "NotInstalled"
                ]
              },
              "protocol": {
                "enum": [
                  "AppRelative",
                  "CustomScheme",
                  "Https"
                ]
              },
              "url": {
                "type": "string"
              },
              "precedence": {
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "platform",
              "installationContext",
              "protocol",
              "url",
              "precedence"
            ]
          },
          "androidApp": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "DefaultApp",
                  "IosApp",
                  "AndroidApp",
                  "Web",
                  "IosStore",
                  "AndroidStore",
                  "HostFallback"
                ]
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ]
              },
              "installationContext": {
                "enum": [
                  "Installed",
                  "NotInstalled"
                ]
              },
              "protocol": {
                "enum": [
                  "AppRelative",
                  "CustomScheme",
                  "Https"
                ]
              },
              "url": {
                "type": "string"
              },
              "precedence": {
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "platform",
              "installationContext",
              "protocol",
              "url",
              "precedence"
            ]
          },
          "iosStore": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "DefaultApp",
                  "IosApp",
                  "AndroidApp",
                  "Web",
                  "IosStore",
                  "AndroidStore",
                  "HostFallback"
                ]
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ]
              },
              "installationContext": {
                "enum": [
                  "Installed",
                  "NotInstalled"
                ]
              },
              "protocol": {
                "enum": [
                  "AppRelative",
                  "CustomScheme",
                  "Https"
                ]
              },
              "url": {
                "type": "string"
              },
              "precedence": {
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "platform",
              "installationContext",
              "protocol",
              "url",
              "precedence"
            ]
          },
          "androidStore": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "DefaultApp",
                  "IosApp",
                  "AndroidApp",
                  "Web",
                  "IosStore",
                  "AndroidStore",
                  "HostFallback"
                ]
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ]
              },
              "installationContext": {
                "enum": [
                  "Installed",
                  "NotInstalled"
                ]
              },
              "protocol": {
                "enum": [
                  "AppRelative",
                  "CustomScheme",
                  "Https"
                ]
              },
              "url": {
                "type": "string"
              },
              "precedence": {
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "platform",
              "installationContext",
              "protocol",
              "url",
              "precedence"
            ]
          },
          "web": {
            "type": "object",
            "properties": {
              "kind": {
                "enum": [
                  "DefaultApp",
                  "IosApp",
                  "AndroidApp",
                  "Web",
                  "IosStore",
                  "AndroidStore",
                  "HostFallback"
                ]
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ]
              },
              "installationContext": {
                "enum": [
                  "Installed",
                  "NotInstalled"
                ]
              },
              "protocol": {
                "enum": [
                  "AppRelative",
                  "CustomScheme",
                  "Https"
                ]
              },
              "url": {
                "type": "string"
              },
              "precedence": {
                "type": "integer"
              }
            },
            "required": [
              "kind",
              "platform",
              "installationContext",
              "protocol",
              "url",
              "precedence"
            ]
          }
        },
        "required": [
          "defaultApp",
          "iosApp",
          "androidApp",
          "iosStore",
          "androidStore",
          "web"
        ],
        "default": null
      },
      "totalClicks": {
        "type": [
          "integer",
          "null"
        ]
      }
    },
    "required": [
      "linkId",
      "tenantId",
      "appId",
      "environment",
      "bindingId",
      "host",
      "publicUrl",
      "slug",
      "displayName",
      "deepLinkUrl",
      "fallbackUrl",
      "campaign",
      "source",
      "medium",
      "expiresAt",
      "active",
      "createdAt",
      "updatedAt",
      "updatedBy"
    ]
  }
}
SmartLinkPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "linkId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environment": {
            "type": "string"
          },
          "bindingId": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "publicUrl": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "deepLinkUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "fallbackUrl": {
            "type": "string"
          },
          "campaign": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "medium": {
            "type": [
              "string",
              "null"
            ]
          },
          "expiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "iosDeepLinkUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "androidDeepLinkUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "iosStoreUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "androidStoreUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "destinationPolicy": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "defaultApp": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "iosApp": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "androidApp": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "iosStore": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "androidStore": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              },
              "web": {
                "type": "object",
                "properties": {
                  "kind": {
                    "enum": [
                      "DefaultApp",
                      "IosApp",
                      "AndroidApp",
                      "Web",
                      "IosStore",
                      "AndroidStore",
                      "HostFallback"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ]
                  },
                  "installationContext": {
                    "enum": [
                      "Installed",
                      "NotInstalled"
                    ]
                  },
                  "protocol": {
                    "enum": [
                      "AppRelative",
                      "CustomScheme",
                      "Https"
                    ]
                  },
                  "url": {
                    "type": "string"
                  },
                  "precedence": {
                    "type": "integer"
                  }
                },
                "required": [
                  "kind",
                  "platform",
                  "installationContext",
                  "protocol",
                  "url",
                  "precedence"
                ]
              }
            },
            "required": [
              "defaultApp",
              "iosApp",
              "androidApp",
              "iosStore",
              "androidStore",
              "web"
            ],
            "default": null
          },
          "totalClicks": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "linkId",
          "tenantId",
          "appId",
          "environment",
          "bindingId",
          "host",
          "publicUrl",
          "slug",
          "displayName",
          "deepLinkUrl",
          "fallbackUrl",
          "campaign",
          "source",
          "medium",
          "expiresAt",
          "active",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
SmartLinkDomains
{
  "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"
    ]
  }
}
AppLinkIdentities
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "identityId": {
        "type": "string"
      },
      "bindingId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "host": {
        "type": "string"
      },
      "platform": {
        "enum": [
          "unattributed",
          "iOS",
          "Android",
          "Windows",
          "MacCatalyst",
          "Web",
          "macOS",
          "watchOS",
          "tvOS",
          "WinUI",
          "Wpf",
          "Linux",
          "iPadOS"
        ]
      },
      "environment": {
        "type": "string"
      },
      "bundleId": {
        "type": [
          "string",
          "null"
        ]
      },
      "appIdPrefix": {
        "type": [
          "string",
          "null"
        ]
      },
      "packageName": {
        "type": [
          "string",
          "null"
        ]
      },
      "sha256CertFingerprint": {
        "type": [
          "string",
          "null"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      }
    },
    "required": [
      "identityId",
      "bindingId",
      "tenantId",
      "appId",
      "host",
      "platform",
      "environment",
      "bundleId",
      "appIdPrefix",
      "packageName",
      "sha256CertFingerprint",
      "createdAt",
      "updatedAt",
      "updatedBy"
    ]
  }
}
SmartLinkUpsertRequest
{
  "type": "object",
  "properties": {
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "deepLinkUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "fallbackUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "campaign": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "medium": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "active": {
      "type": "boolean",
      "default": true
    },
    "iosDeepLinkUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "androidDeepLinkUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "iosStoreUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "androidStoreUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
SmartLinkCopyRequest
{
  "type": "object",
  "properties": {
    "linkIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "targetEnvironment": {
      "type": [
        "string",
        "null"
      ]
    },
    "conflictBehavior": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[sS][kK][iI][pP]|[rR][eE][pP][lL][aA][cC][eE])(?:\\s*,\\s*(?:[sS][kK][iI][pP]|[rR][eE][pP][lL][aA][cC][eE]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Skip",
        "Replace"
      ],
      "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": "Skip"
    }
  }
}
SmartLinkDomainAvailabilityRequest
{
  "type": "object",
  "properties": {
    "labels": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  }
}
SmartLinkDomainRequest
{
  "type": "object",
  "properties": {
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "additionalEnvironments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "defaultFallbackUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "purpose": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "environmentPrefix": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
SmartLinkEnvironmentDomainRequest
{
  "type": "object",
  "properties": {
    "baseDomainId": {
      "type": [
        "string",
        "null"
      ]
    },
    "environment": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
SmartLinkDomainBindingRequest
{
  "type": "object",
  "properties": {
    "domainId": {
      "type": [
        "string",
        "null"
      ]
    },
    "active": {
      "type": "boolean",
      "default": true
    }
  }
}
AppLinkIdentityRequest
{
  "type": "object",
  "properties": {
    "platform": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "unattributed",
        "iOS",
        "Android",
        "Windows",
        "MacCatalyst",
        "Web",
        "macOS",
        "watchOS",
        "tvOS",
        "WinUI",
        "Wpf",
        "Linux",
        "iPadOS"
      ],
      "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."
    },
    "environment": {
      "type": [
        "string",
        "null"
      ]
    },
    "bundleId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appIdPrefix": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "packageName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "sha256CertFingerprint": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DashboardSmartLinkProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    },
    "dnsCompensationRequired": {
      "type": "boolean"
    }
  }
}
SmartLinkInfrastructureState
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "binding": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "bindingId": {
          "type": "string"
        },
        "domainId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "environment": {
          "type": "string"
        },
        "host": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string"
        },
        "lockedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "bindingId",
        "domainId",
        "tenantId",
        "appId",
        "environment",
        "host",
        "active",
        "createdAt",
        "updatedAt",
        "updatedBy"
      ]
    },
    "domain": {
      "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"
      ]
    },
    "productionDomain": {
      "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": {
          "$ref": "#/components/schemas/SmartLinkInfrastructureState/properties/domain/properties/familyHosts",
          "default": null
        },
        "requestedForAppId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "domainId",
        "tenantId",
        "label",
        "environmentPrefix",
        "host",
        "defaultFallbackUrl",
        "purpose",
        "status",
        "active",
        "requestedAt",
        "requestedBy",
        "reviewedAt",
        "reviewedBy",
        "decisionReason",
        "updatedAt"
      ]
    },
    "familyEnvironmentDomainExists": {
      "type": "boolean"
    },
    "hasLinks": {
      "type": "boolean"
    },
    "hasIdentities": {
      "type": "boolean"
    },
    "appleReady": {
      "type": "boolean"
    },
    "androidReady": {
      "type": "boolean"
    }
  },
  "required": [
    "tenantId",
    "appId",
    "environment",
    "binding",
    "domain",
    "productionDomain",
    "familyEnvironmentDomainExists",
    "hasLinks",
    "hasIdentities",
    "appleReady",
    "androidReady"
  ]
}
SmartLinkInfrastructureDomainPage
{
  "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"
  ]
}
SmartLinkInfrastructureIdentityPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "identityId": {
            "type": "string"
          },
          "bindingId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "host": {
            "type": "string"
          },
          "platform": {
            "enum": [
              "unattributed",
              "iOS",
              "Android",
              "Windows",
              "MacCatalyst",
              "Web",
              "macOS",
              "watchOS",
              "tvOS",
              "WinUI",
              "Wpf",
              "Linux",
              "iPadOS"
            ]
          },
          "environment": {
            "type": "string"
          },
          "bundleId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appIdPrefix": {
            "type": [
              "string",
              "null"
            ]
          },
          "packageName": {
            "type": [
              "string",
              "null"
            ]
          },
          "sha256CertFingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "identityId",
          "bindingId",
          "tenantId",
          "appId",
          "host",
          "platform",
          "environment",
          "bundleId",
          "appIdPrefix",
          "packageName",
          "sha256CertFingerprint",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
AuthenticatedUser
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "user": {
      "type": "object",
      "properties": {
        "userId": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "hasPassword": {
          "type": "boolean"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "active": {
          "type": "boolean"
        }
      },
      "required": [
        "userId",
        "email",
        "displayName",
        "hasPassword",
        "createdAt",
        "active"
      ]
    },
    "memberships": {
      "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"
        ]
      }
    },
    "activeOrg": {
      "type": "string"
    },
    "access": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "orgAdmin": {
          "type": "boolean"
        },
        "canManageApps": {
          "type": "boolean"
        },
        "allApps": {
          "type": "boolean"
        },
        "baselineCapabilities": {
          "type": "array",
          "items": {
            "enum": [
              "ViewAnalytics",
              "ViewCrashes",
              "ManageCrashWorkflow",
              "AssignCrashOwners",
              "ViewLogs",
              "ManageReleases",
              "AccessDistribution",
              "ManageMessaging",
              "ViewLocation",
              "ManageIssueConnections",
              "ManageTeamMembers"
            ]
          }
        },
        "apps": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "appId": {
                "type": "string"
              },
              "capabilities": {
                "type": "array",
                "items": {
                  "enum": [
                    "ViewAnalytics",
                    "ViewCrashes",
                    "ManageCrashWorkflow",
                    "AssignCrashOwners",
                    "ViewLogs",
                    "ManageReleases",
                    "AccessDistribution",
                    "ManageMessaging",
                    "ViewLocation",
                    "ManageIssueConnections",
                    "ManageTeamMembers"
                  ]
                }
              }
            },
            "required": [
              "appId",
              "capabilities"
            ]
          }
        },
        "deniedAppIds": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "tenantRoles": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "enum": [
              "Admin",
              "AppOwner",
              "Developer",
              "ProductOwner",
              "Support",
              "PlatformOperator"
            ]
          },
          "default": null
        }
      },
      "required": [
        "orgAdmin",
        "canManageApps",
        "allApps",
        "baselineCapabilities",
        "apps"
      ],
      "default": null
    },
    "isWaitlisted": {
      "type": "boolean",
      "default": false
    },
    "canCreateWorkspaces": {
      "type": "boolean",
      "default": true
    },
    "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
    },
    "profileAvatarAvailable": {
      "type": "boolean"
    }
  },
  "required": [
    "user",
    "memberships",
    "activeOrg"
  ]
}
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"
  ]
}
AccessDenialRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "denialId": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": "string"
    },
    "createdBy": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "restoredBy": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "restoredAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "restoreReason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "denialId",
    "userId",
    "tenantId",
    "appId",
    "reason",
    "createdBy",
    "createdAt"
  ]
}
ApiClientKeySummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "keyId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "revokedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastUsedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "kind": {
      "enum": [
        "SdkClient",
        "Server",
        "Upload"
      ],
      "default": "Upload"
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "permissions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "enum": [
          "TelemetryIngest",
          "MessageCenter",
          "Location",
          "ReleaseUpload",
          "PushSend",
          "SmsSend",
          "UserBindingIssue",
          "AudienceRead",
          "AudienceWrite",
          "ReleasePublish"
        ]
      },
      "default": null
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "rotatedFromKeyId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "status": {
      "enum": [
        "Active",
        "Expired",
        "Revoked"
      ],
      "default": "Active"
    },
    "allowedNetworkRanges": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "createdBy": {
      "type": "string",
      "default": "unknown"
    }
  },
  "required": [
    "keyId",
    "tenantId",
    "appId",
    "name",
    "createdAt",
    "revokedAt",
    "lastUsedAt"
  ]
}
ApiClientKeyCreated
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "keyId": {
      "type": "string"
    },
    "rawKey": {
      "type": "string"
    },
    "key": {
      "type": "object",
      "properties": {
        "keyId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "revokedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastUsedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "kind": {
          "enum": [
            "SdkClient",
            "Server",
            "Upload"
          ],
          "default": "Upload"
        },
        "environmentName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "permissions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "enum": [
              "TelemetryIngest",
              "MessageCenter",
              "Location",
              "ReleaseUpload",
              "PushSend",
              "SmsSend",
              "UserBindingIssue",
              "AudienceRead",
              "AudienceWrite",
              "ReleasePublish"
            ]
          },
          "default": null
        },
        "expiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "rotatedFromKeyId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "status": {
          "enum": [
            "Active",
            "Expired",
            "Revoked"
          ],
          "default": "Active"
        },
        "allowedNetworkRanges": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "createdBy": {
          "type": "string",
          "default": "unknown"
        }
      },
      "required": [
        "keyId",
        "tenantId",
        "appId",
        "name",
        "createdAt",
        "revokedAt",
        "lastUsedAt"
      ]
    }
  },
  "required": [
    "keyId",
    "rawKey",
    "key"
  ]
}
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"
  ]
}
ExternalAccessEvidenceRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "evidenceId": {
      "type": "string"
    },
    "policyId": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "externalIdentityId": {
      "type": "string"
    },
    "connectionId": {
      "type": "string"
    },
    "status": {
      "enum": [
        "Active",
        "Indeterminate",
        "Suspended",
        "Revoked"
      ]
    },
    "lastVerifiedAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastFailure": {
      "type": [
        "string",
        "null"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "evidenceId",
    "policyId",
    "userId",
    "externalIdentityId",
    "connectionId",
    "status",
    "lastVerifiedAt",
    "expiresAt",
    "lastFailure",
    "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",
      "readOnly": true,
      "description": "Whether this administrator can configure Microsoft directory membership for the selected organization."
    },
    "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"
  ]
}
PendingInvite
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "tenantName": {
      "type": "string"
    },
    "roles": {
      "type": "array",
      "items": {
        "enum": [
          "Admin",
          "AppOwner",
          "Developer",
          "ProductOwner",
          "Support",
          "PlatformOperator"
        ]
      }
    },
    "invitedAt": {
      "type": "string",
      "format": "date-time"
    },
    "canAccept": {
      "type": "boolean",
      "default": true
    },
    "invitationId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "tenantId",
    "tenantSlug",
    "tenantName",
    "roles",
    "invitedAt"
  ]
}
EnrollmentDirectoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "provider": {
      "enum": [
        "Microsoft",
        "Google",
        "GitHub"
      ]
    },
    "connectionId": {
      "type": "string"
    },
    "accountName": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "selectionToken": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "detail",
          "selectionToken"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "coverage": {
      "type": "string"
    },
    "supportsVerifiedDomains": {
      "type": "boolean"
    },
    "supportsTeamTargets": {
      "type": "boolean"
    },
    "supportsDirectoryMembers": {
      "type": "boolean"
    }
  },
  "required": [
    "tenantId",
    "provider",
    "connectionId",
    "accountName",
    "items",
    "nextCursor",
    "coverage"
  ]
}
ExternalIdentityRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "identityId": {
      "type": "string"
    },
    "provider": {
      "enum": [
        "Microsoft",
        "Google",
        "GitHub"
      ]
    },
    "issuer": {
      "type": "string"
    },
    "externalSubject": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "providerAccountName": {
      "type": [
        "string",
        "null"
      ]
    },
    "providerTenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "hostedDomain": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "enum": [
        "Active",
        "ReauthenticationRequired",
        "Disabled",
        "Revoked"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastAuthenticatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastVerifiedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "identityId",
    "provider",
    "issuer",
    "externalSubject",
    "email",
    "displayName",
    "providerAccountName",
    "providerTenantId",
    "hostedDomain",
    "status",
    "createdAt",
    "lastAuthenticatedAt",
    "lastVerifiedAt"
  ]
}
ProviderConnectionRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connectionId": {
      "type": "string"
    },
    "externalIdentityId": {
      "type": "string"
    },
    "provider": {
      "enum": [
        "Microsoft",
        "Google",
        "GitHub"
      ]
    },
    "scope": {
      "enum": [
        "Account",
        "Organization",
        "EnrollmentSetup"
      ]
    },
    "providerOrganization": {
      "type": [
        "string",
        "null"
      ]
    },
    "grantedScopes": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "status": {
      "enum": [
        "Active",
        "ReauthorizationRequired",
        "Revoked"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "lastRefreshedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastFailure": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "connectionId",
    "externalIdentityId",
    "provider",
    "scope",
    "providerOrganization",
    "grantedScopes",
    "status",
    "createdAt",
    "lastRefreshedAt",
    "lastFailure"
  ]
}
ProviderConnectionCatalogEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connection": {
      "type": "object",
      "properties": {
        "connectionId": {
          "type": "string"
        },
        "externalIdentityId": {
          "type": "string"
        },
        "provider": {
          "enum": [
            "Microsoft",
            "Google",
            "GitHub"
          ]
        },
        "scope": {
          "enum": [
            "Account",
            "Organization",
            "EnrollmentSetup"
          ]
        },
        "providerOrganization": {
          "type": [
            "string",
            "null"
          ]
        },
        "grantedScopes": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "status": {
          "enum": [
            "Active",
            "ReauthorizationRequired",
            "Revoked"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "lastRefreshedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastFailure": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "connectionId",
        "externalIdentityId",
        "provider",
        "scope",
        "providerOrganization",
        "grantedScopes",
        "status",
        "createdAt",
        "lastRefreshedAt",
        "lastFailure"
      ]
    },
    "accountName": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "connection",
    "accountName"
  ]
}
WorkOrganization
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "identityId": {
      "type": "string"
    },
    "provider": {
      "enum": [
        "Microsoft",
        "Google",
        "GitHub"
      ]
    },
    "authority": {
      "type": "string"
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "accountName": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  },
  "required": [
    "identityId",
    "provider",
    "authority",
    "displayName",
    "accountName",
    "status"
  ]
}
OrganizationClaimPresentation
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "claimPresentationId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "terms": {
      "type": "object",
      "properties": {
        "revisionId": {
          "type": "string"
        },
        "sha256": {
          "type": "string"
        },
        "locale": {
          "type": "string"
        },
        "content": {
          "type": "string"
        }
      },
      "required": [
        "revisionId",
        "sha256",
        "locale",
        "content"
      ]
    },
    "organizationAuthority": {
      "type": "object",
      "properties": {
        "revisionId": {
          "type": "string"
        },
        "sha256": {
          "type": "string"
        },
        "locale": {
          "type": "string"
        },
        "content": {
          "type": "string"
        }
      },
      "required": [
        "revisionId",
        "sha256",
        "locale",
        "content"
      ]
    }
  },
  "required": [
    "claimPresentationId",
    "name",
    "slug",
    "expiresAt",
    "terms",
    "organizationAuthority"
  ]
}
OrganizationClaimPending
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "ticketId": {
      "type": "string"
    },
    "caseId": {
      "type": "string"
    }
  },
  "required": [
    "status",
    "tenantId",
    "tenantSlug",
    "ticketId",
    "caseId"
  ]
}
OrganizationClaimStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "ticketId": {
      "type": [
        "string",
        "null"
      ]
    },
    "caseId": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "status",
    "name",
    "tenantId",
    "tenantSlug",
    "ticketId",
    "caseId",
    "createdAt"
  ]
}
OnboardingSlugCheckResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "available": {
      "type": "boolean"
    },
    "normalized": {
      "type": "string"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "suggestions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  },
  "required": [
    "available",
    "normalized"
  ]
}
EnterpriseOrganizationRequestReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "ticketId": {
      "type": [
        "string",
        "null"
      ]
    },
    "caseId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "status",
    "tenantId",
    "tenantSlug",
    "ticketId",
    "caseId"
  ]
}
EnterpriseCustomerSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "enterpriseCustomerId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    }
  },
  "required": [
    "enterpriseCustomerId",
    "name"
  ]
}
EnterpriseOrganizationPage
{
  "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"
  ]
}
EnterpriseOrganizationSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    }
  },
  "required": [
    "tenantId",
    "name",
    "slug"
  ]
}
SignInIdentity
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "identityId": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "accountName": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "identityId",
    "provider",
    "email",
    "accountName"
  ]
}
McpAuthorizationRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "clientId": {
      "type": "string"
    },
    "clientName": {
      "type": "string"
    },
    "clientUri": {
      "type": [
        "string",
        "null"
      ]
    },
    "clientMetadataVerified": {
      "type": "boolean"
    },
    "requestedScopes": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "returnDestination": {
      "type": "string"
    },
    "organizations": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "tenantSlug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "apps": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "appId",
                "name"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "tenantSlug",
          "name",
          "apps"
        ]
      }
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "clientId",
    "clientName",
    "clientUri",
    "clientMetadataVerified",
    "requestedScopes",
    "returnDestination",
    "organizations",
    "expiresAt"
  ]
}
McpAuthorizationApproval
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "redirectUri": {
      "type": "string"
    },
    "connection": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "connectionId": {
          "type": "string"
        },
        "clientId": {
          "type": "string"
        },
        "clientName": {
          "type": "string"
        },
        "kind": {
          "enum": [
            "Customer",
            "PlatformRead",
            "CustomerPortfolio"
          ]
        },
        "status": {
          "enum": [
            "Pending",
            "Active",
            "Revoked"
          ]
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "grantedScopes": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "organizationAccessPolicy": {
          "enum": [
            "AllAccessible",
            "Selected"
          ]
        },
        "organizationGrants": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appAccessPolicy": {
                "enum": [
                  "AllApps",
                  "Allowlist"
                ]
              },
              "appIds": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "tenantId",
              "appAccessPolicy",
              "appIds"
            ]
          }
        },
        "appAccessPolicy": {
          "enum": [
            "AllApps",
            "Allowlist"
          ]
        },
        "appIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "authorizedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastUsedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "revokedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "organizationExcludedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "connectionId",
        "clientId",
        "clientName",
        "kind",
        "status",
        "tenantId",
        "grantedScopes",
        "organizationAccessPolicy",
        "organizationGrants",
        "appAccessPolicy",
        "appIds",
        "createdAt",
        "authorizedAt",
        "lastUsedAt",
        "revokedAt"
      ],
      "default": null
    }
  },
  "required": [
    "redirectUri"
  ]
}
McpConnection
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connectionId": {
      "type": "string"
    },
    "clientId": {
      "type": "string"
    },
    "clientName": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "Customer",
        "PlatformRead",
        "CustomerPortfolio"
      ]
    },
    "status": {
      "enum": [
        "Pending",
        "Active",
        "Revoked"
      ]
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    },
    "grantedScopes": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "organizationAccessPolicy": {
      "enum": [
        "AllAccessible",
        "Selected"
      ]
    },
    "organizationGrants": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "appAccessPolicy": {
            "enum": [
              "AllApps",
              "Allowlist"
            ]
          },
          "appIds": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "required": [
          "tenantId",
          "appAccessPolicy",
          "appIds"
        ]
      }
    },
    "appAccessPolicy": {
      "enum": [
        "AllApps",
        "Allowlist"
      ]
    },
    "appIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "authorizedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastUsedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "revokedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "organizationExcludedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "connectionId",
    "clientId",
    "clientName",
    "kind",
    "status",
    "tenantId",
    "grantedScopes",
    "organizationAccessPolicy",
    "organizationGrants",
    "appAccessPolicy",
    "appIds",
    "createdAt",
    "authorizedAt",
    "lastUsedAt",
    "revokedAt"
  ]
}
McpConnectionPageItem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connection": {
      "type": "object",
      "properties": {
        "connectionId": {
          "type": "string"
        },
        "clientId": {
          "type": "string"
        },
        "clientName": {
          "type": "string"
        },
        "kind": {
          "enum": [
            "Customer",
            "PlatformRead",
            "CustomerPortfolio"
          ]
        },
        "status": {
          "enum": [
            "Pending",
            "Active",
            "Revoked"
          ]
        },
        "tenantId": {
          "type": [
            "string",
            "null"
          ]
        },
        "grantedScopes": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "organizationAccessPolicy": {
          "enum": [
            "AllAccessible",
            "Selected"
          ]
        },
        "organizationGrants": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appAccessPolicy": {
                "enum": [
                  "AllApps",
                  "Allowlist"
                ]
              },
              "appIds": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "tenantId",
              "appAccessPolicy",
              "appIds"
            ]
          }
        },
        "appAccessPolicy": {
          "enum": [
            "AllApps",
            "Allowlist"
          ]
        },
        "appIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "authorizedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastUsedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "revokedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "organizationExcludedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        }
      },
      "required": [
        "connectionId",
        "clientId",
        "clientName",
        "kind",
        "status",
        "tenantId",
        "grantedScopes",
        "organizationAccessPolicy",
        "organizationGrants",
        "appAccessPolicy",
        "appIds",
        "createdAt",
        "authorizedAt",
        "lastUsedAt",
        "revokedAt"
      ]
    },
    "ownedByCurrentUser": {
      "type": "boolean"
    },
    "hasOrganizationActions": {
      "type": "boolean",
      "readOnly": true
    }
  },
  "required": [
    "connection",
    "ownedByCurrentUser"
  ]
}
LoginRequest
{
  "type": "object",
  "properties": {
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
RegisterRequest
{
  "type": "object",
  "properties": {
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "agreement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "presentationToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "actionId": {
          "type": "string",
          "format": "uuid"
        },
        "accepted": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}
SwitchOrgRequest
{
  "type": "object",
  "properties": {
    "tenantId": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
ClaimPersonalOrgRequest
{
  "type": "object",
  "properties": {
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "automatic": {
      "type": "boolean",
      "default": false
    }
  }
}
CreateOrganizationRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "certifiedNotImpersonating": {
      "type": "boolean",
      "default": false
    },
    "slug": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "claimAgreement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "claimPresentationId": {
          "type": [
            "string",
            "null"
          ]
        },
        "termsActionId": {
          "type": "string",
          "format": "uuid"
        },
        "authorityActionId": {
          "type": "string",
          "format": "uuid"
        },
        "accepted": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}
OrganizationClaimPresentationRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "additionalProperties": false
}
OrganizationInvitationTokenRequest
{
  "type": "object",
  "properties": {
    "claimToken": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
OrganizationInvitationLocalClaimRequest
{
  "type": "object",
  "properties": {
    "claimToken": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "agreement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "presentationToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "actionId": {
          "type": "string",
          "format": "uuid"
        },
        "accepted": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}
OrganizationInvitationSocialStartRequest
{
  "type": "object",
  "properties": {
    "claimToken": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": [
        "string",
        "null"
      ]
    },
    "explicitConsent": {
      "type": "boolean"
    },
    "returnUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "agreement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "presentationToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "actionId": {
          "type": "string",
          "format": "uuid"
        },
        "accepted": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}
InviteMemberRequest
{
  "type": "object",
  "properties": {
    "email": {
      "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."
      }
    }
  }
}
OrganizationInvitationRevisionRequest
{
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
RemoveAccessRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
RestoreAccessRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
CreateTeamRequest
{
  "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."
      }
    }
  }
}
UpdateTeamRequest
{
  "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."
      }
    }
  }
}
AddTeamMemberRequest
{
  "type": "object",
  "properties": {
    "userId": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
CreateApiKeyRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "appId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "kind": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[sS][dD][kK][cC][lL][iI][eE][nN][tT]|[sS][eE][rR][vV][eE][rR]|[uU][pP][lL][oO][aA][dD])(?:\\s*,\\s*(?:[sS][dD][kK][cC][lL][iI][eE][nN][tT]|[sS][eE][rR][vV][eE][rR]|[uU][pP][lL][oO][aA][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "SdkClient",
        "Server",
        "Upload"
      ],
      "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": "Upload"
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "permissions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "anyOf": [
          {
            "type": "string",
            "pattern": "^\\s*(?:(?:[tT][eE][lL][eE][mM][eE][tT][rR][yY][iI][nN][gG][eE][sS][tT]|[mM][eE][sS][sS][aA][gG][eE][cC][eE][nN][tT][eE][rR]|[lL][oO][cC][aA][tT][iI][oO][nN]|[rR][eE][lL][eE][aA][sS][eE][uU][pP][lL][oO][aA][dD]|[pP][uU][sS][hH][sS][eE][nN][dD]|[sS][mM][sS][sS][eE][nN][dD]|[uU][sS][eE][rR][bB][iI][nN][dD][iI][nN][gG][iI][sS][sS][uU][eE]|[aA][uU][dD][iI][eE][nN][cC][eE][rR][eE][aA][dD]|[aA][uU][dD][iI][eE][nN][cC][eE][wW][rR][iI][tT][eE]|[rR][eE][lL][eE][aA][sS][eE][pP][uU][bB][lL][iI][sS][hH])(?:\\s*,\\s*(?:[tT][eE][lL][eE][mM][eE][tT][rR][yY][iI][nN][gG][eE][sS][tT]|[mM][eE][sS][sS][aA][gG][eE][cC][eE][nN][tT][eE][rR]|[lL][oO][cC][aA][tT][iI][oO][nN]|[rR][eE][lL][eE][aA][sS][eE][uU][pP][lL][oO][aA][dD]|[pP][uU][sS][hH][sS][eE][nN][dD]|[sS][mM][sS][sS][eE][nN][dD]|[uU][sS][eE][rR][bB][iI][nN][dD][iI][nN][gG][iI][sS][sS][uU][eE]|[aA][uU][dD][iI][eE][nN][cC][eE][rR][eE][aA][dD]|[aA][uU][dD][iI][eE][nN][cC][eE][wW][rR][iI][tT][eE]|[rR][eE][lL][eE][aA][sS][eE][pP][uU][bB][lL][iI][sS][hH]))*|[+-]?[0-9]+)\\s*$"
          },
          {
            "type": "integer"
          }
        ],
        "x-appportal-canonical-enum-values": [
          "TelemetryIngest",
          "MessageCenter",
          "Location",
          "ReleaseUpload",
          "PushSend",
          "SmsSend",
          "UserBindingIssue",
          "AudienceRead",
          "AudienceWrite",
          "ReleasePublish"
        ],
        "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
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "allowedNetworkRanges": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  }
}
RotateApiKeyRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  }
}
CreateExternalAccessPolicyRequest
{
  "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",
      "default": false
    },
    "enabled": {
      "type": "boolean",
      "default": true
    }
  }
}
UpdateExternalAccessPolicyRequest
{
  "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"
    }
  }
}
UpdateOrganizationAccessSettingsRequest
{
  "type": "object",
  "properties": {
    "externalAccessRefreshHours": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
ApproveMcpAuthorizationRequest
{
  "type": "object",
  "properties": {
    "organizationAccessPolicy": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[aA][lL][lL][aA][cC][cC][eE][sS][sS][iI][bB][lL][eE]|[sS][eE][lL][eE][cC][tT][eE][dD])(?:\\s*,\\s*(?:[aA][lL][lL][aA][cC][cC][eE][sS][sS][iI][bB][lL][eE]|[sS][eE][lL][eE][cC][tT][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "AllAccessible",
        "Selected"
      ],
      "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."
    },
    "organizationGrants": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "appAccessPolicy": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[aA][lL][lL][aA][pP][pP][sS]|[aA][lL][lL][oO][wW][lL][iI][sS][tT])(?:\\s*,\\s*(?:[aA][lL][lL][aA][pP][pP][sS]|[aA][lL][lL][oO][wW][lL][iI][sS][tT]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "AllApps",
              "Allowlist"
            ],
            "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."
          },
          "appIds": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      },
      "default": null
    },
    "grantedScopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  }
}
EnrollmentStartRequest
{
  "type": "object",
  "properties": {
    "returnUrl": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
EnrollmentDirectoryStartRequest
{
  "type": "object",
  "properties": {
    "returnUrl": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048
    },
    "identityId": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "maxLength": 256,
      "description": "ID of an active linked account for the selected provider."
    },
    "microsoftDirectoryId": {
      "type": [
        "string",
        "null"
      ],
      "default": null,
      "format": "uuid",
      "description": "Microsoft Entra directory to authorize. A selected linked Microsoft account must belong to this directory."
    },
    "directoryMembersOnly": {
      "type": "boolean",
      "default": false,
      "description": "Use Microsoft directory membership only. Group setup remains the default."
    }
  },
  "required": [
    "returnUrl"
  ]
}
EnrollmentMappingRequest
{
  "type": "object",
  "properties": {
    "connectionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "selectionToken": {
      "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."
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "requireCurrentProvider": {
      "type": "boolean"
    },
    "operationId": {
      "type": "string",
      "format": "uuid"
    },
    "domainSelectionToken": {
      "type": [
        "string",
        "null"
      ]
    },
    "teamId": {
      "type": [
        "string",
        "null"
      ]
    },
    "directoryMembersOnly": {
      "type": "boolean"
    }
  },
  "required": [
    "connectionId",
    "selectionToken",
    "role",
    "appId",
    "requireCurrentProvider",
    "operationId"
  ]
}
LinkEnterpriseOrganizationRequest
{
  "type": "object",
  "properties": {
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
AddEnterpriseAdministratorRequest
{
  "type": "object",
  "properties": {
    "email": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
IdentityEnrollmentProviders
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "enum": [
      "Microsoft",
      "Google",
      "GitHub"
    ]
  }
}
IdentityMembers
{
  "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"
    ]
  }
}
IdentityMemberPage
{
  "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"
  ]
}
IdentityTeams
{
  "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"
    ]
  }
}
IdentityTeamPage
{
  "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"
  ]
}
IdentityTeamMemberPage
{
  "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"
  ]
}
IdentityDenials
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "denialId": {
        "type": "string"
      },
      "userId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": [
          "string",
          "null"
        ]
      },
      "reason": {
        "type": "string"
      },
      "createdBy": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "restoredBy": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "restoredAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "default": null
      },
      "restoreReason": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "email": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "displayName": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "denialId",
      "userId",
      "tenantId",
      "appId",
      "reason",
      "createdBy",
      "createdAt"
    ]
  }
}
IdentityDenialPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "denialId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "reason": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "restoredBy": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "restoredAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "restoreReason": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "denialId",
          "userId",
          "tenantId",
          "appId",
          "reason",
          "createdBy",
          "createdAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityCredentialSummaries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "keyId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": [
          "string",
          "null"
        ]
      },
      "name": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "revokedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "lastUsedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "kind": {
        "enum": [
          "SdkClient",
          "Server",
          "Upload"
        ],
        "default": "Upload"
      },
      "environmentName": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "permissions": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "enum": [
            "TelemetryIngest",
            "MessageCenter",
            "Location",
            "ReleaseUpload",
            "PushSend",
            "SmsSend",
            "UserBindingIssue",
            "AudienceRead",
            "AudienceWrite",
            "ReleasePublish"
          ]
        },
        "default": null
      },
      "expiresAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "default": null
      },
      "rotatedFromKeyId": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "status": {
        "enum": [
          "Active",
          "Expired",
          "Revoked"
        ],
        "default": "Active"
      },
      "allowedNetworkRanges": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "string",
            "null"
          ]
        },
        "default": null
      },
      "createdBy": {
        "type": "string",
        "default": "unknown"
      }
    },
    "required": [
      "keyId",
      "tenantId",
      "appId",
      "name",
      "createdAt",
      "revokedAt",
      "lastUsedAt"
    ]
  }
}
IdentityCredentialPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "keyId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "revokedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lastUsedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "kind": {
            "enum": [
              "SdkClient",
              "Server",
              "Upload"
            ],
            "default": "Upload"
          },
          "environmentName": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "permissions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "enum": [
                "TelemetryIngest",
                "MessageCenter",
                "Location",
                "ReleaseUpload",
                "PushSend",
                "SmsSend",
                "UserBindingIssue",
                "AudienceRead",
                "AudienceWrite",
                "ReleasePublish"
              ]
            },
            "default": null
          },
          "expiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "rotatedFromKeyId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "status": {
            "enum": [
              "Active",
              "Expired",
              "Revoked"
            ],
            "default": "Active"
          },
          "allowedNetworkRanges": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "createdBy": {
            "type": "string",
            "default": "unknown"
          }
        },
        "required": [
          "keyId",
          "tenantId",
          "appId",
          "name",
          "createdAt",
          "revokedAt",
          "lastUsedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityPolicies
{
  "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"
    ]
  }
}
IdentityPolicyPage
{
  "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"
  ]
}
IdentityEvidence
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "evidenceId": {
        "type": "string"
      },
      "policyId": {
        "type": "string"
      },
      "userId": {
        "type": "string"
      },
      "externalIdentityId": {
        "type": "string"
      },
      "connectionId": {
        "type": "string"
      },
      "status": {
        "enum": [
          "Active",
          "Indeterminate",
          "Suspended",
          "Revoked"
        ]
      },
      "lastVerifiedAt": {
        "type": "string",
        "format": "date-time"
      },
      "expiresAt": {
        "type": "string",
        "format": "date-time"
      },
      "lastFailure": {
        "type": [
          "string",
          "null"
        ]
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "evidenceId",
      "policyId",
      "userId",
      "externalIdentityId",
      "connectionId",
      "status",
      "lastVerifiedAt",
      "expiresAt",
      "lastFailure",
      "updatedAt"
    ]
  }
}
IdentityEvidencePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "evidenceId": {
            "type": "string"
          },
          "policyId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "externalIdentityId": {
            "type": "string"
          },
          "connectionId": {
            "type": "string"
          },
          "status": {
            "enum": [
              "Active",
              "Indeterminate",
              "Suspended",
              "Revoked"
            ]
          },
          "lastVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastFailure": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "evidenceId",
          "policyId",
          "userId",
          "externalIdentityId",
          "connectionId",
          "status",
          "lastVerifiedAt",
          "expiresAt",
          "lastFailure",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityInvitationManagement
{
  "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"
    ]
  }
}
IdentityInvitationPage
{
  "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"
  ]
}
IdentityPendingInvites
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "tenantId": {
        "type": "string"
      },
      "tenantSlug": {
        "type": "string"
      },
      "tenantName": {
        "type": "string"
      },
      "roles": {
        "type": "array",
        "items": {
          "enum": [
            "Admin",
            "AppOwner",
            "Developer",
            "ProductOwner",
            "Support",
            "PlatformOperator"
          ]
        }
      },
      "invitedAt": {
        "type": "string",
        "format": "date-time"
      },
      "canAccept": {
        "type": "boolean",
        "default": true
      },
      "invitationId": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "tenantId",
      "tenantSlug",
      "tenantName",
      "roles",
      "invitedAt"
    ]
  }
}
IdentityExternalIdentities
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "identityId": {
        "type": "string"
      },
      "provider": {
        "enum": [
          "Microsoft",
          "Google",
          "GitHub"
        ]
      },
      "issuer": {
        "type": "string"
      },
      "externalSubject": {
        "type": "string"
      },
      "email": {
        "type": "string"
      },
      "displayName": {
        "type": [
          "string",
          "null"
        ]
      },
      "providerAccountName": {
        "type": [
          "string",
          "null"
        ]
      },
      "providerTenantId": {
        "type": [
          "string",
          "null"
        ]
      },
      "hostedDomain": {
        "type": [
          "string",
          "null"
        ]
      },
      "status": {
        "enum": [
          "Active",
          "ReauthenticationRequired",
          "Disabled",
          "Revoked"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "lastAuthenticatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "lastVerifiedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "identityId",
      "provider",
      "issuer",
      "externalSubject",
      "email",
      "displayName",
      "providerAccountName",
      "providerTenantId",
      "hostedDomain",
      "status",
      "createdAt",
      "lastAuthenticatedAt",
      "lastVerifiedAt"
    ]
  }
}
IdentityExternalIdentityPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "identityId": {
            "type": "string"
          },
          "provider": {
            "enum": [
              "Microsoft",
              "Google",
              "GitHub"
            ]
          },
          "issuer": {
            "type": "string"
          },
          "externalSubject": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerAccountName": {
            "type": [
              "string",
              "null"
            ]
          },
          "providerTenantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "hostedDomain": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "Active",
              "ReauthenticationRequired",
              "Disabled",
              "Revoked"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastAuthenticatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lastVerifiedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "identityId",
          "provider",
          "issuer",
          "externalSubject",
          "email",
          "displayName",
          "providerAccountName",
          "providerTenantId",
          "hostedDomain",
          "status",
          "createdAt",
          "lastAuthenticatedAt",
          "lastVerifiedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityProviderConnections
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "connectionId": {
        "type": "string"
      },
      "externalIdentityId": {
        "type": "string"
      },
      "provider": {
        "enum": [
          "Microsoft",
          "Google",
          "GitHub"
        ]
      },
      "scope": {
        "enum": [
          "Account",
          "Organization",
          "EnrollmentSetup"
        ]
      },
      "providerOrganization": {
        "type": [
          "string",
          "null"
        ]
      },
      "grantedScopes": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "status": {
        "enum": [
          "Active",
          "ReauthorizationRequired",
          "Revoked"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "lastRefreshedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "lastFailure": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "connectionId",
      "externalIdentityId",
      "provider",
      "scope",
      "providerOrganization",
      "grantedScopes",
      "status",
      "createdAt",
      "lastRefreshedAt",
      "lastFailure"
    ]
  }
}
IdentityProviderConnectionPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "connection": {
            "type": "object",
            "properties": {
              "connectionId": {
                "type": "string"
              },
              "externalIdentityId": {
                "type": "string"
              },
              "provider": {
                "enum": [
                  "Microsoft",
                  "Google",
                  "GitHub"
                ]
              },
              "scope": {
                "enum": [
                  "Account",
                  "Organization",
                  "EnrollmentSetup"
                ]
              },
              "providerOrganization": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "grantedScopes": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "status": {
                "enum": [
                  "Active",
                  "ReauthorizationRequired",
                  "Revoked"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "lastRefreshedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastFailure": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "connectionId",
              "externalIdentityId",
              "provider",
              "scope",
              "providerOrganization",
              "grantedScopes",
              "status",
              "createdAt",
              "lastRefreshedAt",
              "lastFailure"
            ]
          },
          "accountName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "connection",
          "accountName"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityWorkOrganizations
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "identityId": {
        "type": "string"
      },
      "provider": {
        "enum": [
          "Microsoft",
          "Google",
          "GitHub"
        ]
      },
      "authority": {
        "type": "string"
      },
      "displayName": {
        "type": [
          "string",
          "null"
        ]
      },
      "accountName": {
        "type": "string"
      },
      "status": {
        "type": "string"
      }
    },
    "required": [
      "identityId",
      "provider",
      "authority",
      "displayName",
      "accountName",
      "status"
    ]
  }
}
IdentityWorkOrganizationPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "identityId": {
            "type": "string"
          },
          "provider": {
            "enum": [
              "Microsoft",
              "Google",
              "GitHub"
            ]
          },
          "authority": {
            "type": "string"
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ]
          },
          "accountName": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "identityId",
          "provider",
          "authority",
          "displayName",
          "accountName",
          "status"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityWorkspacePage
{
  "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"
  ]
}
IdentityClaimHistory
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "status": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "tenantSlug": {
        "type": "string"
      },
      "ticketId": {
        "type": [
          "string",
          "null"
        ]
      },
      "caseId": {
        "type": [
          "string",
          "null"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "status",
      "name",
      "tenantId",
      "tenantSlug",
      "ticketId",
      "caseId",
      "createdAt"
    ]
  }
}
IdentityEnterpriseCustomerPage
{
  "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"
  ]
}
IdentityEnterpriseAdministratorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "canRemove": {
            "type": "boolean"
          }
        },
        "required": [
          "userId",
          "displayName",
          "email",
          "active",
          "canRemove"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityMcpConnections
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "connectionId": {
        "type": "string"
      },
      "clientId": {
        "type": "string"
      },
      "clientName": {
        "type": "string"
      },
      "kind": {
        "enum": [
          "Customer",
          "PlatformRead",
          "CustomerPortfolio"
        ]
      },
      "status": {
        "enum": [
          "Pending",
          "Active",
          "Revoked"
        ]
      },
      "tenantId": {
        "type": [
          "string",
          "null"
        ]
      },
      "grantedScopes": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "organizationAccessPolicy": {
        "enum": [
          "AllAccessible",
          "Selected"
        ]
      },
      "organizationGrants": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "tenantId": {
              "type": "string"
            },
            "appAccessPolicy": {
              "enum": [
                "AllApps",
                "Allowlist"
              ]
            },
            "appIds": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "required": [
            "tenantId",
            "appAccessPolicy",
            "appIds"
          ]
        }
      },
      "appAccessPolicy": {
        "enum": [
          "AllApps",
          "Allowlist"
        ]
      },
      "appIds": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "authorizedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "lastUsedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "revokedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "organizationExcludedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time",
        "default": null
      }
    },
    "required": [
      "connectionId",
      "clientId",
      "clientName",
      "kind",
      "status",
      "tenantId",
      "grantedScopes",
      "organizationAccessPolicy",
      "organizationGrants",
      "appAccessPolicy",
      "appIds",
      "createdAt",
      "authorizedAt",
      "lastUsedAt",
      "revokedAt"
    ]
  }
}
IdentityMcpConnectionPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "connection": {
            "type": "object",
            "properties": {
              "connectionId": {
                "type": "string"
              },
              "clientId": {
                "type": "string"
              },
              "clientName": {
                "type": "string"
              },
              "kind": {
                "enum": [
                  "Customer",
                  "PlatformRead",
                  "CustomerPortfolio"
                ]
              },
              "status": {
                "enum": [
                  "Pending",
                  "Active",
                  "Revoked"
                ]
              },
              "tenantId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "grantedScopes": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "organizationAccessPolicy": {
                "enum": [
                  "AllAccessible",
                  "Selected"
                ]
              },
              "organizationGrants": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "tenantId": {
                      "type": "string"
                    },
                    "appAccessPolicy": {
                      "enum": [
                        "AllApps",
                        "Allowlist"
                      ]
                    },
                    "appIds": {
                      "type": "array",
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "required": [
                    "tenantId",
                    "appAccessPolicy",
                    "appIds"
                  ]
                }
              },
              "appAccessPolicy": {
                "enum": [
                  "AllApps",
                  "Allowlist"
                ]
              },
              "appIds": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "authorizedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "lastUsedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "revokedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "organizationExcludedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "connectionId",
              "clientId",
              "clientName",
              "kind",
              "status",
              "tenantId",
              "grantedScopes",
              "organizationAccessPolicy",
              "organizationGrants",
              "appAccessPolicy",
              "appIds",
              "createdAt",
              "authorizedAt",
              "lastUsedAt",
              "revokedAt"
            ]
          },
          "ownedByCurrentUser": {
            "type": "boolean"
          },
          "hasOrganizationActions": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "required": [
          "connection",
          "ownedByCurrentUser"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
IdentityTeamIds
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "string",
      "null"
    ]
  }
}
IdentityEnrollmentMappingReceipt
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "policyId": {
      "type": "string"
    },
    "replayed": {
      "type": "boolean"
    }
  },
  "required": [
    "policyId",
    "replayed"
  ]
}
IdentityBrowserSession
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "tenantId": {
      "type": "string"
    },
    "tenantSlug": {
      "type": "string"
    },
    "sessionVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "signInIdentity": {
      "$ref": "#/components/schemas/SignInIdentity"
    }
  },
  "required": [
    "expiresAt",
    "tenantId",
    "tenantSlug",
    "sessionVersion"
  ],
  "description": "Exact BffSessionSummary from src/AppPortal.Bff/BffSession.cs and WriteSummaryAsync. SessionVersion is a one-way scope correlation, not an authentication credential. No upstream access/refresh token is a browser response field."
}
IdentityAuthorizeUrl
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "authorizeUrl": {
      "type": "string"
    }
  },
  "required": [
    "authorizeUrl"
  ]
}
DashboardIdentityProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    },
    "normalized": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "existingSlug": {
      "type": "string"
    },
    "available": {
      "type": "boolean"
    },
    "suggestions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    }
  }
}
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"
  ]
}
PolicyArchiveDescriptor
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revisionId": {
      "type": "string"
    },
    "policyKey": {
      "type": "string"
    },
    "sha256": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "effectiveOn": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "canonicalRoute": {
      "type": [
        "string",
        "null"
      ]
    },
    "classification": {
      "type": "string"
    }
  },
  "required": [
    "revisionId",
    "policyKey",
    "sha256",
    "locale",
    "effectiveOn",
    "canonicalRoute",
    "classification"
  ]
}
PublishedPolicyRevisions
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "revisionId": {
        "type": "string"
      },
      "policyKey": {
        "type": "string"
      },
      "sha256": {
        "type": "string"
      },
      "locale": {
        "type": "string"
      },
      "effectiveOn": {
        "type": [
          "string",
          "null"
        ],
        "format": "date"
      },
      "canonicalRoute": {
        "type": [
          "string",
          "null"
        ]
      },
      "classification": {
        "type": "string"
      }
    },
    "required": [
      "revisionId",
      "policyKey",
      "sha256",
      "locale",
      "effectiveOn",
      "canonicalRoute",
      "classification"
    ]
  }
}
SignupTermsPresentationResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "revisionId": {
      "type": "string"
    },
    "sha256": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "presentationToken": {
      "type": "string"
    }
  },
  "required": [
    "revisionId",
    "sha256",
    "locale",
    "content",
    "presentationToken"
  ]
}
SignupTermsAcceptance
{
  "type": "object",
  "properties": {
    "presentationToken": {
      "type": [
        "string",
        "null"
      ]
    },
    "actionId": {
      "type": "string",
      "format": "uuid"
    },
    "accepted": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
SocialSignupStartRequest
{
  "type": "object",
  "properties": {
    "agreement": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "presentationToken": {
          "type": [
            "string",
            "null"
          ]
        },
        "actionId": {
          "type": "string",
          "format": "uuid"
        },
        "accepted": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "returnUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
McpActionSafetyPolicy
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connectionId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "requireHumanConfirmation": {
      "type": "boolean"
    },
    "maxResourcesPerAction": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "maxRecipientsPerAction": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "maxActionsPerMinute": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "maxSpendMinorUnits": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    },
    "spendCurrency": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "approvedActionScopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  },
  "required": [
    "connectionId",
    "tenantId",
    "revision",
    "requireHumanConfirmation"
  ]
}
McpOrganizationActionPolicyResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "policy": {
      "type": "object",
      "properties": {
        "connectionId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "requireHumanConfirmation": {
          "type": "boolean"
        },
        "maxResourcesPerAction": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "maxRecipientsPerAction": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "maxActionsPerMinute": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "maxSpendMinorUnits": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "spendCurrency": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "approvedActionScopes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        }
      },
      "required": [
        "connectionId",
        "tenantId",
        "revision",
        "requireHumanConfirmation"
      ]
    },
    "availableActions": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "policy",
    "availableActions"
  ]
}
UpdateMcpActionSafetyPolicyRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "requireHumanConfirmation": {
      "type": "boolean"
    },
    "maxResourcesPerAction": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "maxRecipientsPerAction": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "maxActionsPerMinute": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "maxSpendMinorUnits": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "spendCurrency": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "approvedActionScopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  }
}
McpActionApprovalRequest
{
  "type": "object",
  "required": [
    "action",
    "request"
  ],
  "properties": {
    "action": {
      "type": "string",
      "maxLength": 80,
      "enum": [
        "geofence",
        "bulk-radial",
        "tag-policy",
        "crash-note",
        "crash-workflow",
        "smart-link",
        "smart-link-environment",
        "dashboard"
      ]
    },
    "request": {
      "type": "object",
      "description": "The exact matching domain apply envelope, including its protected preview token. Current route selection and original caller key are supplied unchanged; the server derives scope, impact and current authority."
    }
  }
}
McpActionApproval
{
  "type": "object",
  "required": [
    "approvalReference",
    "expiresAt",
    "policyRevision",
    "impact"
  ],
  "properties": {
    "approvalReference": {
      "type": "string",
      "maxLength": 16384
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "policyRevision": {
      "type": "integer",
      "format": "int64"
    },
    "impact": {
      "type": "object",
      "description": "Current server-derived action impact and hard ceilings; never caller-asserted approval."
    }
  }
}
DashboardEngagementMessageTemplate
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "templateId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "deepLink": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "templateId",
    "tenantId",
    "appId",
    "name",
    "title",
    "body",
    "deepLink",
    "createdAt",
    "updatedAt"
  ]
}
DashboardEngagementAudienceDefinition
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "audienceId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "userIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "platforms": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "enum": [
          "unattributed",
          "iOS",
          "Android",
          "Windows",
          "MacCatalyst",
          "Web",
          "macOS",
          "watchOS",
          "tvOS",
          "WinUI",
          "Wpf",
          "Linux",
          "iPadOS"
        ]
      },
      "default": null
    },
    "tags": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "locality": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "minAppVersion": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "dormantDays": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "audienceId",
    "tenantId",
    "appId",
    "name"
  ]
}
DashboardEngagementAudienceEstimate
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "totalReachable": {
      "type": "integer"
    },
    "byChannel": {
      "type": "object",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "excludedSuppressed": {
      "type": "integer"
    },
    "excludedNoConsent": {
      "type": "integer"
    },
    "excludedInactive": {
      "type": "integer"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "totalReachable",
    "byChannel",
    "excludedSuppressed",
    "excludedNoConsent",
    "excludedInactive",
    "warnings"
  ]
}
DashboardEngagementCampaignRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "campaignId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "templateId": {
      "type": "string"
    },
    "audienceId": {
      "type": "string"
    },
    "channelPolicy": {
      "type": "object",
      "properties": {
        "messageCenterAlways": {
          "type": "boolean"
        },
        "pushWhenReachable": {
          "type": "boolean"
        },
        "smsFallbackAllowed": {
          "type": "boolean"
        },
        "smsRequiresExplicitConsent": {
          "type": "boolean",
          "default": true
        },
        "messagingChannel": {
          "enum": [
            "Sms",
            "Mms",
            "Rcs"
          ],
          "default": "Sms"
        },
        "messageCategory": {
          "enum": [
            "Marketing",
            "Transactional",
            "Conversational"
          ],
          "default": "Transactional"
        }
      },
      "required": [
        "messageCenterAlways",
        "pushWhenReachable",
        "smsFallbackAllowed"
      ]
    },
    "status": {
      "enum": [
        "Draft",
        "Scheduled",
        "Sending",
        "Completed",
        "Cancelled"
      ]
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdBy": {
      "type": "string"
    },
    "dedupeKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "campaignId",
    "tenantId",
    "appId",
    "environmentName",
    "name",
    "templateId",
    "audienceId",
    "channelPolicy",
    "status",
    "scheduledAt",
    "createdAt",
    "createdBy"
  ]
}
DashboardEngagementEngagementCampaignPageItem
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "campaign": {
      "type": "object",
      "properties": {
        "campaignId": {
          "type": "string"
        },
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "environmentName": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "templateId": {
          "type": "string"
        },
        "audienceId": {
          "type": "string"
        },
        "channelPolicy": {
          "type": "object",
          "properties": {
            "messageCenterAlways": {
              "type": "boolean"
            },
            "pushWhenReachable": {
              "type": "boolean"
            },
            "smsFallbackAllowed": {
              "type": "boolean"
            },
            "smsRequiresExplicitConsent": {
              "type": "boolean",
              "default": true
            },
            "messagingChannel": {
              "enum": [
                "Sms",
                "Mms",
                "Rcs"
              ],
              "default": "Sms"
            },
            "messageCategory": {
              "enum": [
                "Marketing",
                "Transactional",
                "Conversational"
              ],
              "default": "Transactional"
            }
          },
          "required": [
            "messageCenterAlways",
            "pushWhenReachable",
            "smsFallbackAllowed"
          ]
        },
        "status": {
          "enum": [
            "Draft",
            "Scheduled",
            "Sending",
            "Completed",
            "Cancelled"
          ]
        },
        "scheduledAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "createdBy": {
          "type": "string"
        },
        "dedupeKey": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "campaignId",
        "tenantId",
        "appId",
        "environmentName",
        "name",
        "templateId",
        "audienceId",
        "channelPolicy",
        "status",
        "scheduledAt",
        "createdAt",
        "createdBy"
      ]
    },
    "templateName": {
      "type": [
        "string",
        "null"
      ]
    },
    "audienceName": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "campaign",
    "templateName",
    "audienceName"
  ]
}
DashboardEngagementCampaignDryRunResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "estimate": {
      "type": "object",
      "properties": {
        "totalReachable": {
          "type": "integer"
        },
        "byChannel": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "excludedSuppressed": {
          "type": "integer"
        },
        "excludedNoConsent": {
          "type": "integer"
        },
        "excludedInactive": {
          "type": "integer"
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "required": [
        "totalReachable",
        "byChannel",
        "excludedSuppressed",
        "excludedNoConsent",
        "excludedInactive",
        "warnings"
      ]
    },
    "smsSegments": {
      "type": "integer"
    },
    "providerCostEstimate": {
      "type": "number"
    },
    "billableEstimate": {
      "type": "number"
    },
    "readiness": {
      "enum": [
        "Ready",
        "Warning",
        "Blocked"
      ]
    },
    "blockers": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "confirmationToken": {
      "type": "string"
    },
    "messagingChannel": {
      "enum": [
        "Sms",
        "Mms",
        "Rcs"
      ],
      "default": "Sms"
    },
    "messageCategory": {
      "enum": [
        "Marketing",
        "Transactional",
        "Conversational"
      ],
      "default": "Transactional"
    },
    "messageDirection": {
      "enum": [
        "Send",
        "Receive"
      ],
      "default": "Send"
    },
    "creditsEstimate": {
      "type": "number",
      "default": 0
    },
    "spendGuard": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "decision": {
          "type": "integer"
        },
        "currentPeriodSpend": {
          "type": "number"
        },
        "pendingAmount": {
          "type": "number"
        },
        "projectedSpend": {
          "type": "number"
        },
        "monthlyCapAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "paidSendsSuspended": {
          "type": "boolean"
        },
        "reason": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "decision",
        "currentPeriodSpend",
        "pendingAmount",
        "projectedSpend",
        "monthlyCapAmount",
        "paidSendsSuspended"
      ],
      "default": null
    }
  },
  "required": [
    "estimate",
    "smsSegments",
    "providerCostEstimate",
    "billableEstimate",
    "readiness",
    "blockers",
    "confirmationToken"
  ]
}
DashboardEngagementCampaignSendDispatchReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dispatchId": {
      "type": "string"
    },
    "campaignId": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "deduplicated": {
      "type": "boolean"
    }
  },
  "required": [
    "dispatchId",
    "campaignId",
    "status",
    "createdAt",
    "deduplicated"
  ]
}
DashboardEngagementCampaignSendDispatchStatusResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dispatchId": {
      "type": "string"
    },
    "campaignId": {
      "type": "string"
    },
    "status": {
      "type": "integer"
    },
    "attempts": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "result": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "campaignId": {
          "type": "string"
        },
        "correlationId": {
          "type": "string"
        },
        "requestedCount": {
          "type": "integer"
        },
        "matchedCount": {
          "type": "integer"
        },
        "sentCount": {
          "type": "integer"
        },
        "failedCount": {
          "type": "integer"
        },
        "perChannel": {
          "type": "object",
          "additionalProperties": {
            "type": "integer"
          }
        },
        "mode": {
          "enum": [
            "Test",
            "DryRun",
            "Send"
          ]
        }
      },
      "required": [
        "campaignId",
        "correlationId",
        "requestedCount",
        "matchedCount",
        "sentCount",
        "failedCount",
        "perChannel",
        "mode"
      ]
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "dispatchId",
    "campaignId",
    "status",
    "attempts",
    "createdAt",
    "startedAt",
    "completedAt",
    "result",
    "error"
  ]
}
DashboardEngagementMessageDeliveryRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "deliveryId": {
      "type": "string"
    },
    "campaignId": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "channel": {
      "enum": [
        "MessageCenter",
        "Push",
        "Sms"
      ]
    },
    "state": {
      "enum": [
        "Queued",
        "Sent",
        "Delivered",
        "Failed",
        "Opened",
        "Clicked",
        "Read",
        "Dismissed",
        "Expired",
        "OptedOut",
        "Indeterminate"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "failureReason": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "isClientFallback": {
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "deliveryId",
    "campaignId",
    "userId",
    "channel",
    "state",
    "updatedAt"
  ]
}
DashboardEngagementConsentPreference
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "channel": {
      "enum": [
        "MessageCenter",
        "Push",
        "Sms"
      ]
    },
    "granted": {
      "type": "boolean"
    },
    "source": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "tenantId",
    "appId",
    "userId",
    "channel",
    "granted",
    "source",
    "updatedAt"
  ]
}
DashboardEngagementSuppressionEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "suppressionId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "userIdOrPhone": {
      "type": "string"
    },
    "channel": {
      "enum": [
        "MessageCenter",
        "Push",
        "Sms"
      ]
    },
    "reason": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "suppressionId",
    "tenantId",
    "appId",
    "userIdOrPhone",
    "channel",
    "reason",
    "createdAt"
  ]
}
DashboardEngagementUsageLedgerEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "entryId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "campaignId": {
      "type": "string"
    },
    "channel": {
      "enum": [
        "MessageCenter",
        "Push",
        "Sms"
      ]
    },
    "sender": {
      "type": "string"
    },
    "units": {
      "type": "integer"
    },
    "providerCost": {
      "type": "number"
    },
    "billableAmount": {
      "type": "number"
    },
    "margin": {
      "type": "number"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "reconciliationStatus": {
      "type": "string"
    },
    "messagingChannel": {
      "enum": [
        "Sms",
        "Mms",
        "Rcs"
      ],
      "default": "Sms"
    },
    "messageCategory": {
      "enum": [
        "Marketing",
        "Transactional",
        "Conversational"
      ],
      "default": "Transactional"
    },
    "messageDirection": {
      "enum": [
        "Send",
        "Receive"
      ],
      "default": "Send"
    },
    "credits": {
      "type": "number",
      "default": 0
    }
  },
  "required": [
    "entryId",
    "tenantId",
    "appId",
    "campaignId",
    "channel",
    "sender",
    "units",
    "providerCost",
    "billableAmount",
    "margin",
    "occurredAt",
    "reconciliationStatus"
  ]
}
DashboardEngagementEngagementUsageSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "entries": {
      "type": "integer"
    },
    "billableAmount": {
      "type": "number"
    },
    "smsUnits": {
      "type": "integer"
    },
    "pushUnits": {
      "type": "integer"
    }
  },
  "required": [
    "entries",
    "billableAmount",
    "smsUnits",
    "pushUnits"
  ]
}
DashboardEngagementTemplateUpsertRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "body": {
      "type": [
        "string",
        "null"
      ]
    },
    "deepLink": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DashboardEngagementAudienceUpsertRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "userIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "platforms": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "anyOf": [
          {
            "type": "string",
            "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
          },
          {
            "type": "integer"
          }
        ],
        "x-appportal-canonical-enum-values": [
          "unattributed",
          "iOS",
          "Android",
          "Windows",
          "MacCatalyst",
          "Web",
          "macOS",
          "watchOS",
          "tvOS",
          "WinUI",
          "Wpf",
          "Linux",
          "iPadOS"
        ],
        "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
    },
    "tags": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "locality": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "minAppVersion": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "dormantDays": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    }
  }
}
DashboardEngagementCampaignCreateRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "templateId": {
      "type": [
        "string",
        "null"
      ]
    },
    "audienceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "channelPolicy": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "messageCenterAlways": {
          "type": "boolean"
        },
        "pushWhenReachable": {
          "type": "boolean"
        },
        "smsFallbackAllowed": {
          "type": "boolean"
        },
        "smsRequiresExplicitConsent": {
          "type": "boolean",
          "default": true
        },
        "messagingChannel": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[sS][mM][sS]|[mM][mM][sS]|[rR][cC][sS])(?:\\s*,\\s*(?:[sS][mM][sS]|[mM][mM][sS]|[rR][cC][sS]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "Sms",
            "Mms",
            "Rcs"
          ],
          "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": "Sms"
        },
        "messageCategory": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\s*(?:(?:[mM][aA][rR][kK][eE][tT][iI][nN][gG]|[tT][rR][aA][nN][sS][aA][cC][tT][iI][oO][nN][aA][lL]|[cC][oO][nN][vV][eE][rR][sS][aA][tT][iI][oO][nN][aA][lL])(?:\\s*,\\s*(?:[mM][aA][rR][kK][eE][tT][iI][nN][gG]|[tT][rR][aA][nN][sS][aA][cC][tT][iI][oO][nN][aA][lL]|[cC][oO][nN][vV][eE][rR][sS][aA][tT][iI][oO][nN][aA][lL]))*|[+-]?[0-9]+)\\s*$"
            },
            {
              "type": "integer"
            }
          ],
          "x-appportal-canonical-enum-values": [
            "Marketing",
            "Transactional",
            "Conversational"
          ],
          "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": "Transactional"
        }
      }
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "dedupeKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DashboardEngagementCampaignSendRequest
{
  "type": "object",
  "properties": {
    "mode": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[tT][eE][sS][tT]|[dD][rR][yY][rR][uU][nN]|[sS][eE][nN][dD])(?:\\s*,\\s*(?:[tT][eE][sS][tT]|[dD][rR][yY][rR][uU][nN]|[sS][eE][nN][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Test",
        "DryRun",
        "Send"
      ],
      "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."
    },
    "confirmationToken": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "testUserIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "idempotencyKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DashboardEngagementTemplates
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "templateId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "body": {
        "type": "string"
      },
      "deepLink": {
        "type": [
          "string",
          "null"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "templateId",
      "tenantId",
      "appId",
      "name",
      "title",
      "body",
      "deepLink",
      "createdAt",
      "updatedAt"
    ]
  }
}
DashboardEngagementAudiences
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "audienceId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "userIds": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "string",
            "null"
          ]
        },
        "default": null
      },
      "platforms": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "enum": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS"
          ]
        },
        "default": null
      },
      "tags": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        },
        "default": null
      },
      "locality": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "environmentName": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "minAppVersion": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "dormantDays": {
        "type": [
          "integer",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "audienceId",
      "tenantId",
      "appId",
      "name"
    ]
  }
}
DashboardEngagementCampaigns
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "campaignId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "templateId": {
        "type": "string"
      },
      "audienceId": {
        "type": "string"
      },
      "channelPolicy": {
        "type": "object",
        "properties": {
          "messageCenterAlways": {
            "type": "boolean"
          },
          "pushWhenReachable": {
            "type": "boolean"
          },
          "smsFallbackAllowed": {
            "type": "boolean"
          },
          "smsRequiresExplicitConsent": {
            "type": "boolean",
            "default": true
          },
          "messagingChannel": {
            "enum": [
              "Sms",
              "Mms",
              "Rcs"
            ],
            "default": "Sms"
          },
          "messageCategory": {
            "enum": [
              "Marketing",
              "Transactional",
              "Conversational"
            ],
            "default": "Transactional"
          }
        },
        "required": [
          "messageCenterAlways",
          "pushWhenReachable",
          "smsFallbackAllowed"
        ]
      },
      "status": {
        "enum": [
          "Draft",
          "Scheduled",
          "Sending",
          "Completed",
          "Cancelled"
        ]
      },
      "scheduledAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "createdBy": {
        "type": "string"
      },
      "dedupeKey": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "campaignId",
      "tenantId",
      "appId",
      "environmentName",
      "name",
      "templateId",
      "audienceId",
      "channelPolicy",
      "status",
      "scheduledAt",
      "createdAt",
      "createdBy"
    ]
  }
}
DashboardEngagementDeliveries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "deliveryId": {
        "type": "string"
      },
      "campaignId": {
        "type": "string"
      },
      "userId": {
        "type": "string"
      },
      "channel": {
        "enum": [
          "MessageCenter",
          "Push",
          "Sms"
        ]
      },
      "state": {
        "enum": [
          "Queued",
          "Sent",
          "Delivered",
          "Failed",
          "Opened",
          "Clicked",
          "Read",
          "Dismissed",
          "Expired",
          "OptedOut",
          "Indeterminate"
        ]
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "failureReason": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      },
      "isClientFallback": {
        "type": [
          "boolean",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "deliveryId",
      "campaignId",
      "userId",
      "channel",
      "state",
      "updatedAt"
    ]
  }
}
DashboardEngagementConsents
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "userId": {
        "type": "string"
      },
      "channel": {
        "enum": [
          "MessageCenter",
          "Push",
          "Sms"
        ]
      },
      "granted": {
        "type": "boolean"
      },
      "source": {
        "type": "string"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "tenantId",
      "appId",
      "userId",
      "channel",
      "granted",
      "source",
      "updatedAt"
    ]
  }
}
DashboardEngagementSuppressions
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "suppressionId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "userIdOrPhone": {
        "type": "string"
      },
      "channel": {
        "enum": [
          "MessageCenter",
          "Push",
          "Sms"
        ]
      },
      "reason": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "suppressionId",
      "tenantId",
      "appId",
      "userIdOrPhone",
      "channel",
      "reason",
      "createdAt"
    ]
  }
}
DashboardEngagementUsageEntries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "entryId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "campaignId": {
        "type": "string"
      },
      "channel": {
        "enum": [
          "MessageCenter",
          "Push",
          "Sms"
        ]
      },
      "sender": {
        "type": "string"
      },
      "units": {
        "type": "integer"
      },
      "providerCost": {
        "type": "number"
      },
      "billableAmount": {
        "type": "number"
      },
      "margin": {
        "type": "number"
      },
      "occurredAt": {
        "type": "string",
        "format": "date-time"
      },
      "reconciliationStatus": {
        "type": "string"
      },
      "messagingChannel": {
        "enum": [
          "Sms",
          "Mms",
          "Rcs"
        ],
        "default": "Sms"
      },
      "messageCategory": {
        "enum": [
          "Marketing",
          "Transactional",
          "Conversational"
        ],
        "default": "Transactional"
      },
      "messageDirection": {
        "enum": [
          "Send",
          "Receive"
        ],
        "default": "Send"
      },
      "credits": {
        "type": "number",
        "default": 0
      }
    },
    "required": [
      "entryId",
      "tenantId",
      "appId",
      "campaignId",
      "channel",
      "sender",
      "units",
      "providerCost",
      "billableAmount",
      "margin",
      "occurredAt",
      "reconciliationStatus"
    ]
  }
}
DashboardEngagementTemplatePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "templateId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "deepLink": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "templateId",
          "tenantId",
          "appId",
          "name",
          "title",
          "body",
          "deepLink",
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardEngagementAudiencePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "audienceId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "userIds": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "platforms": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS"
              ]
            },
            "default": null
          },
          "tags": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "locality": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "environmentName": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "minAppVersion": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "dormantDays": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "audienceId",
          "tenantId",
          "appId",
          "name"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardEngagementCampaignPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "campaign": {
            "type": "object",
            "properties": {
              "campaignId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "templateId": {
                "type": "string"
              },
              "audienceId": {
                "type": "string"
              },
              "channelPolicy": {
                "type": "object",
                "properties": {
                  "messageCenterAlways": {
                    "type": "boolean"
                  },
                  "pushWhenReachable": {
                    "type": "boolean"
                  },
                  "smsFallbackAllowed": {
                    "type": "boolean"
                  },
                  "smsRequiresExplicitConsent": {
                    "type": "boolean",
                    "default": true
                  },
                  "messagingChannel": {
                    "enum": [
                      "Sms",
                      "Mms",
                      "Rcs"
                    ],
                    "default": "Sms"
                  },
                  "messageCategory": {
                    "enum": [
                      "Marketing",
                      "Transactional",
                      "Conversational"
                    ],
                    "default": "Transactional"
                  }
                },
                "required": [
                  "messageCenterAlways",
                  "pushWhenReachable",
                  "smsFallbackAllowed"
                ]
              },
              "status": {
                "enum": [
                  "Draft",
                  "Scheduled",
                  "Sending",
                  "Completed",
                  "Cancelled"
                ]
              },
              "scheduledAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "createdBy": {
                "type": "string"
              },
              "dedupeKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "campaignId",
              "tenantId",
              "appId",
              "environmentName",
              "name",
              "templateId",
              "audienceId",
              "channelPolicy",
              "status",
              "scheduledAt",
              "createdAt",
              "createdBy"
            ]
          },
          "templateName": {
            "type": [
              "string",
              "null"
            ]
          },
          "audienceName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "campaign",
          "templateName",
          "audienceName"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardEngagementDeliveryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "deliveryId": {
            "type": "string"
          },
          "campaignId": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "channel": {
            "enum": [
              "MessageCenter",
              "Push",
              "Sms"
            ]
          },
          "state": {
            "enum": [
              "Queued",
              "Sent",
              "Delivered",
              "Failed",
              "Opened",
              "Clicked",
              "Read",
              "Dismissed",
              "Expired",
              "OptedOut",
              "Indeterminate"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "failureReason": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "isClientFallback": {
            "type": [
              "boolean",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "deliveryId",
          "campaignId",
          "userId",
          "channel",
          "state",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardEngagementSuppressionPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "suppressionId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "userIdOrPhone": {
            "type": "string"
          },
          "channel": {
            "enum": [
              "MessageCenter",
              "Push",
              "Sms"
            ]
          },
          "reason": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "suppressionId",
          "tenantId",
          "appId",
          "userIdOrPhone",
          "channel",
          "reason",
          "createdAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardEngagementUsagePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "entryId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "campaignId": {
            "type": "string"
          },
          "channel": {
            "enum": [
              "MessageCenter",
              "Push",
              "Sms"
            ]
          },
          "sender": {
            "type": "string"
          },
          "units": {
            "type": "integer"
          },
          "providerCost": {
            "type": "number"
          },
          "billableAmount": {
            "type": "number"
          },
          "margin": {
            "type": "number"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "reconciliationStatus": {
            "type": "string"
          },
          "messagingChannel": {
            "enum": [
              "Sms",
              "Mms",
              "Rcs"
            ],
            "default": "Sms"
          },
          "messageCategory": {
            "enum": [
              "Marketing",
              "Transactional",
              "Conversational"
            ],
            "default": "Transactional"
          },
          "messageDirection": {
            "enum": [
              "Send",
              "Receive"
            ],
            "default": "Send"
          },
          "credits": {
            "type": "number",
            "default": 0
          }
        },
        "required": [
          "entryId",
          "tenantId",
          "appId",
          "campaignId",
          "channel",
          "sender",
          "units",
          "providerCost",
          "billableAmount",
          "margin",
          "occurredAt",
          "reconciliationStatus"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardCustomerSupportTicketCreateCapabilities
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "organizationAvailable": {
      "type": "boolean"
    },
    "applicationIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "organizationAvailable",
    "applicationIds"
  ]
}
DashboardCustomerSupportTicketSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "ticketNumber": {
      "type": "string"
    },
    "scope": {
      "enum": [
        "Personal",
        "Organization",
        "Application",
        "Platform"
      ]
    },
    "tenantId": {
      "type": "null"
    },
    "targetTenantId": {
      "type": "null"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "creatorUserId": {
      "type": "string",
      "const": ""
    },
    "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": {
      "const": "Normal"
    },
    "queue": {
      "type": "string",
      "const": ""
    },
    "assignedOperatorId": {
      "type": "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"
  ],
  "description": "Actual customer projection: tenant/targetTenant/assignedOperator null; creatorUserId/queue empty; priority Normal. updatedAt/operatorLastActivityAt mirror customer-visible activity, not hidden staff work. canReopen is a current authorized result, not a client permission."
}
DashboardCustomerSupportTicketDetail
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticket": {
      "$ref": "#/components/schemas/DashboardCustomerSupportTicketSummary"
    },
    "messages": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DashboardCustomerSupportTicketMessage"
      }
    },
    "participants": {
      "type": "array",
      "maxItems": 0,
      "items": {}
    },
    "transitions": {
      "type": "array",
      "maxItems": 0,
      "items": {}
    }
  },
  "required": [
    "ticket",
    "messages",
    "participants",
    "transitions"
  ]
}
DashboardCustomerSupportTicketPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DashboardCustomerSupportTicketSummary"
      }
    },
    "page": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "page",
    "pageSize",
    "total"
  ]
}
DashboardCustomerSupportTicketWorkspace
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticket": {
      "$ref": "#/components/schemas/DashboardCustomerSupportTicketSummary"
    }
  },
  "required": [
    "ticket"
  ]
}
DashboardCustomerSupportTicketMutationReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "ticketId",
    "version"
  ]
}
DashboardCustomerSupportTicketMessage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "messageId": {
      "type": "string"
    },
    "authorId": {
      "type": "string",
      "const": ""
    },
    "authorType": {
      "enum": [
        "Customer",
        "Operator",
        "System"
      ]
    },
    "visibility": {
      "enum": [
        "RequesterVisible",
        "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"
  ],
  "description": "Customer-visible or this actor's participant-private message only; no OperatorOnly entry. Author identity is empty. Current revision/timestamps retained; a tombstoned body is empty. PrivateParticipantUserId does not grant another participant's access."
}
DashboardCustomerSupportNotificationPreferenceReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketId": {
      "type": "string"
    },
    "preference": {
      "enum": [
        "Email",
        "None"
      ]
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "ticketId",
    "preference",
    "version"
  ]
}
DashboardCustomerSupportAttachmentSummary
{
  "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"
  ]
}
DashboardCustomerSupportEvidenceDownload
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "proof": {
      "type": "string"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "proof",
    "expiresAt"
  ]
}
DashboardCustomerSupportCustomerExport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "ticketNumber": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "state": {
      "enum": [
        "New",
        "Triage",
        "InProgress",
        "WaitingForRequester",
        "WaitingForThirdParty",
        "DecisionPending",
        "Resolved",
        "Closed",
        "Reopened"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "messages": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "messageId": {
            "type": "string"
          },
          "body": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "tombstoned": {
            "type": "boolean"
          },
          "attachments": {
            "type": "array",
            "items": {
              "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"
              ]
            }
          }
        },
        "required": [
          "messageId",
          "body",
          "createdAt",
          "tombstoned",
          "attachments"
        ]
      }
    }
  },
  "required": [
    "ticketNumber",
    "subject",
    "state",
    "createdAt",
    "messages"
  ]
}
DashboardCustomerCreateSupportTicketRequest
{
  "type": "object",
  "properties": {
    "scope": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[pP][eE][rR][sS][oO][nN][aA][lL]|[oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN]|[pP][lL][aA][tT][fF][oO][rR][mM])(?:\\s*,\\s*(?:[pP][eE][rR][sS][oO][nN][aA][lL]|[oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN]|[pP][lL][aA][tT][fF][oO][rR][mM]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Personal",
        "Organization",
        "Application",
        "Platform"
      ],
      "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."
    },
    "category": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[aA][cC][cC][oO][uU][nN][tT][aA][cC][cC][eE][sS][sS]|[bB][iI][lL][lL][iI][nN][gG]|[sS][dD][kK][iI][nN][tT][eE][gG][rR][aA][tT][iI][oO][nN]|[tT][eE][lL][eE][mM][eE][tT][rR][yY][dD][aA][tT][aA]|[dD][iI][sS][tT][rR][iI][bB][uU][tT][iI][oO][nN]|[sS][eE][cC][uU][rR][iI][tT][yY][pP][rR][iI][vV][aA][cC][yY]|[oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN][iI][dD][eE][nN][tT][iI][tT][yY]|[fF][eE][aA][tT][uU][rR][eE][rR][eE][qQ][uU][eE][sS][tT]|[oO][tT][hH][eE][rR])(?:\\s*,\\s*(?:[aA][cC][cC][oO][uU][nN][tT][aA][cC][cC][eE][sS][sS]|[bB][iI][lL][lL][iI][nN][gG]|[sS][dD][kK][iI][nN][tT][eE][gG][rR][aA][tT][iI][oO][nN]|[tT][eE][lL][eE][mM][eE][tT][rR][yY][dD][aA][tT][aA]|[dD][iI][sS][tT][rR][iI][bB][uU][tT][iI][oO][nN]|[sS][eE][cC][uU][rR][iI][tT][yY][pP][rR][iI][vV][aA][cC][yY]|[oO][rR][gG][aA][nN][iI][zZ][aA][tT][iI][oO][nN][iI][dD][eE][nN][tT][iI][tT][yY]|[fF][eE][aA][tT][uU][rR][eE][rR][eE][qQ][uU][eE][sS][tT]|[oO][tT][hH][eE][rR]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "AccountAccess",
        "Billing",
        "SdkIntegration",
        "TelemetryData",
        "Distribution",
        "SecurityPrivacy",
        "OrganizationIdentity",
        "FeatureRequest",
        "Other"
      ],
      "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."
    },
    "subcategory": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[nN][oO][nN][eE]|[sS][lL][uU][gG][cC][lL][aA][iI][mM]|[pP][rR][oO][tT][eE][cC][tT][eE][dD][bB][rR][aA][nN][dD][vV][eE][rR][iI][fF][iI][cC][aA][tT][iI][oO][nN]|[iI][mM][pP][eE][rR][sS][oO][nN][aA][tT][iI][oO][nN]|[aA][pP][pP][eE][aA][lL])(?:\\s*,\\s*(?:[nN][oO][nN][eE]|[sS][lL][uU][gG][cC][lL][aA][iI][mM]|[pP][rR][oO][tT][eE][cC][tT][eE][dD][bB][rR][aA][nN][dD][vV][eE][rR][iI][fF][iI][cC][aA][tT][iI][oO][nN]|[iI][mM][pP][eE][rR][sS][oO][nN][aA][tT][iI][oO][nN]|[aA][pP][pP][eE][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "None",
        "SlugClaim",
        "ProtectedBrandVerification",
        "Impersonation",
        "Appeal"
      ],
      "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."
    },
    "subject": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "urgency": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[lL][oO][wW]|[nN][oO][rR][mM][aA][lL]|[hH][iI][gG][hH])(?:\\s*,\\s*(?:[lL][oO][wW]|[nN][oO][rR][mM][aA][lL]|[hH][iI][gG][hH]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Low",
        "Normal",
        "High"
      ],
      "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": "Normal"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notificationPreference": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[eE][mM][aA][iI][lL]|[nN][oO][nN][eE])(?:\\s*,\\s*(?:[eE][mM][aA][iI][lL]|[nN][oO][nN][eE]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Email",
        "None"
      ],
      "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": "Email"
    },
    "preferredLocale": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "subjectReference": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DashboardCustomerReplySupportTicketRequest
{
  "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
    }
  }
}
DashboardCustomerSupportTicketActionRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DashboardCustomerChangeSupportNotificationPreferenceRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "preference": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[eE][mM][aA][iI][lL]|[nN][oO][nN][eE])(?:\\s*,\\s*(?:[eE][mM][aA][iI][lL]|[nN][oO][nN][eE]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Email",
        "None"
      ],
      "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."
    }
  }
}
DashboardCustomerReserveSupportAttachmentRequest
{
  "type": "object",
  "properties": {
    "messageId": {
      "type": [
        "string",
        "null"
      ]
    },
    "fileName": {
      "type": [
        "string",
        "null"
      ]
    },
    "length": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "sha256": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DashboardCustomerSupportDownloadProofRequest
{
  "type": "object",
  "properties": {
    "proof": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DashboardCustomerSupportTicketCursorPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DashboardCustomerSupportTicketSummary"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardCustomerSupportMessagePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DashboardCustomerSupportTicketMessage"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardCustomerSupportAttachmentPage
{
  "type": "object",
  "required": [
    "available",
    "downloadAvailable",
    "purgeAvailable",
    "messageId",
    "items",
    "nextCursor",
    "totalCount",
    "acceptedTypes",
    "maximumBytes"
  ],
  "properties": {
    "available": {
      "type": "boolean"
    },
    "downloadAvailable": {
      "type": "boolean"
    },
    "purgeAvailable": {
      "type": "boolean",
      "const": false
    },
    "messageId": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DashboardCustomerSupportAttachmentSummary"
      }
    },
    "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
    }
  }
}
CoreProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
CoreMetricSummaries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "metricKey": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "value": {
        "type": "number"
      },
      "unit": {
        "type": "string"
      },
      "previousValue": {
        "type": [
          "number",
          "null"
        ],
        "default": null
      },
      "changePercent": {
        "type": [
          "number",
          "null"
        ],
        "default": null
      },
      "state": {
        "enum": [
          "Complete",
          "PartialCoverage",
          "NoQualifyingData",
          "NotCollected",
          "NotApplicable",
          "InsufficientSample",
          "WithheldByIdentityPolicy",
          "UnsupportedByPlatform",
          "TemporarilyUnavailable",
          null
        ],
        "default": null
      },
      "sampleCount": {
        "type": [
          "integer",
          "null"
        ],
        "default": null
      },
      "populationCount": {
        "type": [
          "integer",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "metricKey",
      "displayName",
      "value",
      "unit"
    ]
  }
}
CoreMetricSeries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "bucketStart": {
        "type": "string",
        "format": "date-time"
      },
      "value": {
        "type": "number"
      }
    },
    "required": [
      "bucketStart",
      "value"
    ]
  }
}
CoreDimensionBreakdowns
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "dimension": {
        "type": "string"
      },
      "value": {
        "type": "string"
      },
      "metricValue": {
        "type": "number"
      },
      "sampleCount": {
        "type": "integer"
      }
    },
    "required": [
      "dimension",
      "value",
      "metricValue",
      "sampleCount"
    ]
  }
}
CoreEventsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "eventId": {
            "type": "string"
          },
          "identity": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "deploymentTarget": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "clientId": {
                "type": "string"
              },
              "appVersion": {
                "type": "string"
              },
              "buildNumber": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sessionId": {
                "type": "string"
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deviceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "buildVariant": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "sdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ],
                "default": null
              },
              "contextSchemaVersion": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "identityAssociation": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "associationId": {
                    "type": "string"
                  },
                  "deliveryGenerationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "resolvedState": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "schemaVersion",
                  "associationId",
                  "deliveryGenerationId",
                  "capturedAt"
                ]
              },
              "userProfile": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "displayName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traits": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "required": [
                  "schemaVersion",
                  "displayName",
                  "traits"
                ]
              },
              "effectiveTarget": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectivePlatform": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              }
            },
            "required": [
              "tenantId",
              "appId",
              "environmentName",
              "deploymentTarget",
              "clientId",
              "appVersion",
              "buildNumber",
              "sessionId",
              "userId",
              "deviceId",
              "buildVariant"
            ]
          },
          "eventType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "properties": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "measurements": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": "number"
            },
            "default": null
          }
        },
        "required": [
          "eventId",
          "identity",
          "eventType",
          "name",
          "timestamp"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreEventCatalog
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "previousFrom": {
      "type": "string",
      "format": "date-time"
    },
    "previousTo": {
      "type": "string",
      "format": "date-time"
    },
    "userMetricsAvailable": {
      "type": "boolean"
    },
    "hasAnyEventsInScope": {
      "type": "boolean"
    },
    "isTruncated": {
      "type": "boolean"
    },
    "events": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "eventKey": {
            "type": "string"
          },
          "eventType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "occurrenceCount": {
            "type": "integer"
          },
          "previousOccurrenceCount": {
            "type": "integer"
          },
          "occurrenceChangePercent": {
            "type": [
              "number",
              "null"
            ]
          },
          "distinctUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "previousDistinctUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "userChangePercent": {
            "type": [
              "number",
              "null"
            ]
          },
          "distinctSessions": {
            "type": "integer"
          },
          "occurrencesPerUser": {
            "type": [
              "number",
              "null"
            ]
          },
          "occurrencesPerSession": {
            "type": "number"
          }
        },
        "required": [
          "eventKey",
          "eventType",
          "name",
          "occurrenceCount",
          "previousOccurrenceCount",
          "occurrenceChangePercent",
          "distinctUsers",
          "previousDistinctUsers",
          "userChangePercent",
          "distinctSessions",
          "occurrencesPerUser",
          "occurrencesPerSession"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "previousFrom",
    "previousTo",
    "userMetricsAvailable",
    "hasAnyEventsInScope",
    "isTruncated",
    "events"
  ]
}
CoreEventDetail
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "summary": {
      "type": "object",
      "properties": {
        "eventKey": {
          "type": "string"
        },
        "eventType": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "occurrenceCount": {
          "type": "integer"
        },
        "previousOccurrenceCount": {
          "type": "integer"
        },
        "occurrenceChangePercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "distinctUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "previousDistinctUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userChangePercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "distinctSessions": {
          "type": "integer"
        },
        "occurrencesPerUser": {
          "type": [
            "number",
            "null"
          ]
        },
        "occurrencesPerSession": {
          "type": "number"
        }
      },
      "required": [
        "eventKey",
        "eventType",
        "name",
        "occurrenceCount",
        "previousOccurrenceCount",
        "occurrenceChangePercent",
        "distinctUsers",
        "previousDistinctUsers",
        "userChangePercent",
        "distinctSessions",
        "occurrencesPerUser",
        "occurrencesPerSession"
      ]
    },
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "previousFrom": {
      "type": "string",
      "format": "date-time"
    },
    "previousTo": {
      "type": "string",
      "format": "date-time"
    },
    "userMetricsAvailable": {
      "type": "boolean"
    },
    "series": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bucketStart": {
            "type": "string",
            "format": "date-time"
          },
          "occurrenceCount": {
            "type": "integer"
          },
          "distinctUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "distinctSessions": {
            "type": "integer"
          },
          "occurrencesPerUser": {
            "type": [
              "number",
              "null"
            ]
          },
          "occurrencesPerSession": {
            "type": "number"
          }
        },
        "required": [
          "bucketStart",
          "occurrenceCount",
          "distinctUsers",
          "distinctSessions",
          "occurrencesPerUser",
          "occurrencesPerSession"
        ]
      }
    },
    "properties": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "sampleCount": {
            "type": "integer"
          },
          "distinctValueCount": {
            "type": "integer"
          },
          "highCardinality": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "sampleCount",
          "distinctValueCount",
          "highCardinality"
        ]
      }
    }
  },
  "required": [
    "summary",
    "from",
    "to",
    "previousFrom",
    "previousTo",
    "userMetricsAvailable",
    "series",
    "properties"
  ]
}
CoreEventPropertyDistribution
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "propertyName": {
      "type": "string"
    },
    "occurrenceCount": {
      "type": "integer"
    },
    "sampleCount": {
      "type": "integer"
    },
    "unknownCount": {
      "type": "integer"
    },
    "distinctValueCount": {
      "type": "integer"
    },
    "privacySuppressed": {
      "type": "boolean"
    },
    "minimumBucketSize": {
      "type": "integer"
    },
    "buckets": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "value": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "percentage": {
            "type": "number"
          },
          "kind": {
            "enum": [
              "Value",
              "Redacted",
              "Unknown",
              "Other"
            ]
          }
        },
        "required": [
          "value",
          "count",
          "percentage",
          "kind"
        ]
      }
    }
  },
  "required": [
    "propertyName",
    "occurrenceCount",
    "sampleCount",
    "unknownCount",
    "distinctValueCount",
    "privacySuppressed",
    "minimumBucketSize",
    "buckets"
  ]
}
CoreSessionsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "sessionId": {
            "type": "string"
          },
          "identity": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "deploymentTarget": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "clientId": {
                "type": "string"
              },
              "appVersion": {
                "type": "string"
              },
              "buildNumber": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sessionId": {
                "type": "string"
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deviceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "buildVariant": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "sdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ],
                "default": null
              },
              "contextSchemaVersion": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "identityAssociation": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "associationId": {
                    "type": "string"
                  },
                  "deliveryGenerationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "resolvedState": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "schemaVersion",
                  "associationId",
                  "deliveryGenerationId",
                  "capturedAt"
                ]
              },
              "userProfile": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "displayName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traits": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "required": [
                  "schemaVersion",
                  "displayName",
                  "traits"
                ]
              },
              "effectiveTarget": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectivePlatform": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              }
            },
            "required": [
              "tenantId",
              "appId",
              "environmentName",
              "deploymentTarget",
              "clientId",
              "appVersion",
              "buildNumber",
              "sessionId",
              "userId",
              "deviceId",
              "buildVariant"
            ]
          },
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "endedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "osVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "deviceModel": {
            "type": [
              "string",
              "null"
            ]
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "foregroundTransitions": {
            "type": "integer"
          },
          "endedInCrash": {
            "type": "boolean"
          },
          "deviceContext": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "osFamily": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "osVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "osBuild": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "manufacturer": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "model": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "modelName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "idiom": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "architecture": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "isEmulator": {
                "type": [
                  "boolean",
                  "null"
                ],
                "default": null
              },
              "runtimeName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "runtimeVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wrapperName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wrapperVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "screenWidthPixels": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "screenHeightPixels": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "screenScale": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "schemaVersion"
            ],
            "default": null
          },
          "geography": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "countryCode": {
                "type": "string"
              },
              "region": {
                "type": "string"
              },
              "city": {
                "type": "string"
              }
            },
            "required": [
              "countryCode",
              "region",
              "city"
            ],
            "default": null
          },
          "lastActivityAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "activeDurationMs": {
            "type": [
              "integer",
              "null"
            ]
          },
          "lifecycleState": {
            "enum": [
              "Unknown",
              "Foreground",
              "Background",
              "Terminated",
              null
            ]
          },
          "lifecycleStateChangedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "lifecycleTransitions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "sequence": {
                  "type": "integer"
                },
                "state": {
                  "enum": [
                    "Unknown",
                    "Foreground",
                    "Background",
                    "Terminated"
                  ]
                },
                "occurredAt": {
                  "type": "string",
                  "format": "date-time"
                }
              },
              "required": [
                "sequence",
                "state",
                "occurredAt"
              ]
            }
          },
          "lifecycleTransitionsTruncated": {
            "type": "boolean"
          },
          "observedUsers": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "userId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "displayName": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "readOnly": true
                    }
                  },
                  "required": [
                    "userId"
                  ]
                }
              },
              "count": {
                "type": "integer"
              },
              "isTruncated": {
                "type": "boolean"
              }
            },
            "required": [
              "items",
              "count",
              "isTruncated"
            ]
          }
        },
        "required": [
          "sessionId",
          "identity",
          "startedAt",
          "endedAt",
          "osVersion",
          "deviceModel",
          "region",
          "foregroundTransitions",
          "endedInCrash"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreSessionEngagement
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "previousFrom": {
      "type": "string",
      "format": "date-time"
    },
    "previousTo": {
      "type": "string",
      "format": "date-time"
    },
    "hasAnySessionsInScope": {
      "type": "boolean"
    },
    "activeUserWindows": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "days": {
            "type": "integer"
          },
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "activeUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "previousActiveUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "changePercent": {
            "type": [
              "number",
              "null"
            ]
          },
          "isAvailable": {
            "type": "boolean"
          },
          "state": {
            "enum": [
              "Complete",
              "PartialCoverage",
              "NoQualifyingData",
              "NotCollected",
              "NotApplicable",
              "InsufficientSample",
              "WithheldByIdentityPolicy",
              "UnsupportedByPlatform",
              "TemporarilyUnavailable"
            ]
          },
          "previousState": {
            "enum": [
              "Complete",
              "PartialCoverage",
              "NoQualifyingData",
              "NotCollected",
              "NotApplicable",
              "InsufficientSample",
              "WithheldByIdentityPolicy",
              "UnsupportedByPlatform",
              "TemporarilyUnavailable"
            ]
          },
          "identifiedSessions": {
            "type": "integer"
          },
          "observedIdentifiedUsers": {
            "type": "integer"
          },
          "installedDevices": {
            "type": "integer"
          },
          "totalSessions": {
            "type": "integer"
          }
        },
        "required": [
          "days",
          "from",
          "to",
          "activeUsers",
          "previousActiveUsers",
          "changePercent",
          "isAvailable",
          "state",
          "previousState",
          "identifiedSessions",
          "observedIdentifiedUsers",
          "installedDevices",
          "totalSessions"
        ]
      }
    },
    "current": {
      "type": "object",
      "properties": {
        "totalSessions": {
          "type": "integer"
        },
        "activeUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "installedDevices": {
          "type": "integer"
        },
        "sessionsPerActiveUser": {
          "type": [
            "number",
            "null"
          ]
        },
        "userMetricsAvailable": {
          "type": "boolean"
        },
        "userMetricState": {
          "enum": [
            "Complete",
            "PartialCoverage",
            "NoQualifyingData",
            "NotCollected",
            "NotApplicable",
            "InsufficientSample",
            "WithheldByIdentityPolicy",
            "UnsupportedByPlatform",
            "TemporarilyUnavailable"
          ]
        },
        "identifiedSessions": {
          "type": "integer"
        },
        "observedIdentifiedUsers": {
          "type": "integer"
        },
        "unidentifiedInstallations": {
          "type": [
            "integer",
            "null"
          ]
        },
        "unidentifiedInstallationsAvailable": {
          "type": "boolean"
        },
        "unidentifiedInstallationMetricState": {
          "enum": [
            "Complete",
            "PartialCoverage",
            "NoQualifyingData",
            "NotCollected",
            "NotApplicable",
            "InsufficientSample",
            "WithheldByIdentityPolicy",
            "UnsupportedByPlatform",
            "TemporarilyUnavailable"
          ]
        },
        "closedSessions": {
          "type": "integer"
        },
        "stillLiveSessions": {
          "type": "integer"
        },
        "abandonedSessions": {
          "type": "integer"
        },
        "invalidDurationSessions": {
          "type": "integer"
        },
        "durationSampleCount": {
          "type": "integer"
        },
        "averageDurationSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "medianDurationSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "p95DurationSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "durationMetricState": {
          "enum": [
            "Complete",
            "PartialCoverage",
            "NoQualifyingData",
            "NotCollected",
            "NotApplicable",
            "InsufficientSample",
            "WithheldByIdentityPolicy",
            "UnsupportedByPlatform",
            "TemporarilyUnavailable"
          ]
        },
        "isPartial": {
          "type": "boolean"
        },
        "backgroundedSessions": {
          "type": [
            "integer",
            "null"
          ],
          "deprecated": true,
          "readOnly": true
        }
      },
      "required": [
        "totalSessions",
        "activeUsers",
        "installedDevices",
        "sessionsPerActiveUser",
        "userMetricsAvailable",
        "userMetricState",
        "identifiedSessions",
        "observedIdentifiedUsers",
        "unidentifiedInstallations",
        "unidentifiedInstallationsAvailable",
        "unidentifiedInstallationMetricState",
        "closedSessions",
        "stillLiveSessions",
        "abandonedSessions",
        "invalidDurationSessions",
        "durationSampleCount",
        "averageDurationSeconds",
        "medianDurationSeconds",
        "p95DurationSeconds",
        "durationMetricState",
        "isPartial"
      ]
    },
    "previous": {
      "type": "object",
      "properties": {
        "totalSessions": {
          "type": "integer"
        },
        "activeUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "installedDevices": {
          "type": "integer"
        },
        "sessionsPerActiveUser": {
          "type": [
            "number",
            "null"
          ]
        },
        "userMetricsAvailable": {
          "type": "boolean"
        },
        "userMetricState": {
          "enum": [
            "Complete",
            "PartialCoverage",
            "NoQualifyingData",
            "NotCollected",
            "NotApplicable",
            "InsufficientSample",
            "WithheldByIdentityPolicy",
            "UnsupportedByPlatform",
            "TemporarilyUnavailable"
          ]
        },
        "identifiedSessions": {
          "type": "integer"
        },
        "observedIdentifiedUsers": {
          "type": "integer"
        },
        "unidentifiedInstallations": {
          "type": [
            "integer",
            "null"
          ]
        },
        "unidentifiedInstallationsAvailable": {
          "type": "boolean"
        },
        "unidentifiedInstallationMetricState": {
          "enum": [
            "Complete",
            "PartialCoverage",
            "NoQualifyingData",
            "NotCollected",
            "NotApplicable",
            "InsufficientSample",
            "WithheldByIdentityPolicy",
            "UnsupportedByPlatform",
            "TemporarilyUnavailable"
          ]
        },
        "closedSessions": {
          "type": "integer"
        },
        "stillLiveSessions": {
          "type": "integer"
        },
        "abandonedSessions": {
          "type": "integer"
        },
        "invalidDurationSessions": {
          "type": "integer"
        },
        "durationSampleCount": {
          "type": "integer"
        },
        "averageDurationSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "medianDurationSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "p95DurationSeconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "durationMetricState": {
          "enum": [
            "Complete",
            "PartialCoverage",
            "NoQualifyingData",
            "NotCollected",
            "NotApplicable",
            "InsufficientSample",
            "WithheldByIdentityPolicy",
            "UnsupportedByPlatform",
            "TemporarilyUnavailable"
          ]
        },
        "isPartial": {
          "type": "boolean"
        },
        "backgroundedSessions": {
          "type": [
            "integer",
            "null"
          ],
          "deprecated": true,
          "readOnly": true
        }
      },
      "required": [
        "totalSessions",
        "activeUsers",
        "installedDevices",
        "sessionsPerActiveUser",
        "userMetricsAvailable",
        "userMetricState",
        "identifiedSessions",
        "observedIdentifiedUsers",
        "unidentifiedInstallations",
        "unidentifiedInstallationsAvailable",
        "unidentifiedInstallationMetricState",
        "closedSessions",
        "stillLiveSessions",
        "abandonedSessions",
        "invalidDurationSessions",
        "durationSampleCount",
        "averageDurationSeconds",
        "medianDurationSeconds",
        "p95DurationSeconds",
        "durationMetricState",
        "isPartial"
      ]
    },
    "changes": {
      "type": "object",
      "properties": {
        "totalSessionsPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "sessionsPerActiveUserPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "averageDurationPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "medianDurationPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "p95DurationPercent": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "totalSessionsPercent",
        "sessionsPerActiveUserPercent",
        "averageDurationPercent",
        "medianDurationPercent",
        "p95DurationPercent"
      ]
    },
    "daily": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bucketStart": {
            "type": "string",
            "format": "date-time"
          },
          "sessions": {
            "type": "integer"
          },
          "activeUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "sessionsPerActiveUser": {
            "type": [
              "number",
              "null"
            ]
          },
          "userMetricsAvailable": {
            "type": "boolean"
          },
          "userMetricState": {
            "enum": [
              "Complete",
              "PartialCoverage",
              "NoQualifyingData",
              "NotCollected",
              "NotApplicable",
              "InsufficientSample",
              "WithheldByIdentityPolicy",
              "UnsupportedByPlatform",
              "TemporarilyUnavailable"
            ]
          }
        },
        "required": [
          "bucketStart",
          "sessions",
          "activeUsers",
          "sessionsPerActiveUser",
          "userMetricsAvailable",
          "userMetricState"
        ]
      }
    },
    "durationBuckets": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "sessions": {
            "type": "integer"
          },
          "sharePercent": {
            "type": "number"
          }
        },
        "required": [
          "key",
          "label",
          "sessions",
          "sharePercent"
        ]
      }
    },
    "versionAdoption": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "buildNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "sessions": {
            "type": "integer"
          },
          "sharePercent": {
            "type": "number"
          },
          "previousSessions": {
            "type": "integer"
          },
          "changePercent": {
            "type": [
              "number",
              "null"
            ]
          },
          "installedDevices": {
            "type": "integer",
            "default": 0
          },
          "deviceSharePercent": {
            "type": "number",
            "default": 0
          },
          "lastSeen": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "version",
          "buildNumber",
          "sessions",
          "sharePercent",
          "previousSessions",
          "changePercent"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "previousFrom",
    "previousTo",
    "hasAnySessionsInScope",
    "activeUserWindows",
    "current",
    "previous",
    "changes",
    "daily",
    "durationBuckets",
    "versionAdoption"
  ]
}
CoreSessionGeography
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "previousFrom": {
      "type": "string",
      "format": "date-time"
    },
    "previousTo": {
      "type": "string",
      "format": "date-time"
    },
    "totalSessions": {
      "type": "integer"
    },
    "locatedSessions": {
      "type": "integer"
    },
    "unknownSessions": {
      "type": "integer"
    },
    "suppressedCitySessions": {
      "type": "integer"
    },
    "minimumCitySessions": {
      "type": "integer"
    },
    "hasAnySessionsInScope": {
      "type": "boolean"
    },
    "countries": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "countryCode": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "sessions": {
            "type": "integer"
          },
          "previousSessions": {
            "type": [
              "integer",
              "null"
            ]
          },
          "sharePercent": {
            "type": "number"
          },
          "changePercent": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "countryCode",
          "region",
          "city",
          "sessions",
          "previousSessions",
          "sharePercent",
          "changePercent"
        ]
      }
    },
    "cities": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CoreSessionGeography/properties/countries/items"
      }
    }
  },
  "required": [
    "from",
    "to",
    "previousFrom",
    "previousTo",
    "totalSessions",
    "locatedSessions",
    "unknownSessions",
    "suppressedCitySessions",
    "minimumCitySessions",
    "hasAnySessionsInScope",
    "countries",
    "cities"
  ]
}
CoreSessionBreakdown
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dimension": {
      "enum": [
        "Platform",
        "DeviceModel",
        "DeviceModelIdentifier",
        "OsFamily",
        "OsVersion",
        "OperatingSystemVersion",
        "Manufacturer",
        "FormFactor",
        "Idiom",
        "Architecture",
        "EmulatorState",
        "RuntimeName",
        "RuntimeVersion",
        "WrapperName",
        "WrapperVersion",
        "SdkName",
        "SdkVersion",
        "AppVersion",
        "BuildNumber"
      ]
    },
    "totalSessions": {
      "type": "integer"
    },
    "distinctValues": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "dimension": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "metricValue": {
            "type": "number"
          },
          "sampleCount": {
            "type": "integer"
          }
        },
        "required": [
          "dimension",
          "value",
          "metricValue",
          "sampleCount"
        ]
      }
    },
    "isAvailable": {
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "dimension",
    "totalSessions",
    "distinctValues",
    "items"
  ]
}
CoreSessionStory
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "session": {
      "type": "object",
      "properties": {
        "sessionId": {
          "type": "string"
        },
        "identity": {
          "type": "object",
          "properties": {
            "tenantId": {
              "type": "string"
            },
            "appId": {
              "type": "string"
            },
            "environmentName": {
              "type": "string"
            },
            "deploymentTarget": {
              "type": [
                "string",
                "null"
              ]
            },
            "clientId": {
              "type": "string"
            },
            "appVersion": {
              "type": "string"
            },
            "buildNumber": {
              "type": [
                "string",
                "null"
              ]
            },
            "sessionId": {
              "type": "string"
            },
            "userId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deviceId": {
              "type": [
                "string",
                "null"
              ]
            },
            "buildVariant": {
              "type": [
                "string",
                "null"
              ]
            },
            "sdkName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "sdkVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ],
              "default": null
            },
            "contextSchemaVersion": {
              "type": [
                "integer",
                "null"
              ]
            },
            "identityAssociation": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer"
                },
                "associationId": {
                  "type": "string"
                },
                "deliveryGenerationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "capturedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedState": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "schemaVersion",
                "associationId",
                "deliveryGenerationId",
                "capturedAt"
              ]
            },
            "userProfile": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer"
                },
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "traits": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "required": [
                "schemaVersion",
                "displayName",
                "traits"
              ]
            },
            "effectiveTarget": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            },
            "effectivePlatform": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            },
            "effectiveSdkName": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            },
            "effectiveSdkVersion": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            }
          },
          "required": [
            "tenantId",
            "appId",
            "environmentName",
            "deploymentTarget",
            "clientId",
            "appVersion",
            "buildNumber",
            "sessionId",
            "userId",
            "deviceId",
            "buildVariant"
          ]
        },
        "startedAt": {
          "type": "string",
          "format": "date-time"
        },
        "endedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceModel": {
          "type": [
            "string",
            "null"
          ]
        },
        "region": {
          "type": [
            "string",
            "null"
          ]
        },
        "foregroundTransitions": {
          "type": "integer"
        },
        "endedInCrash": {
          "type": "boolean"
        },
        "deviceContext": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer"
            },
            "osFamily": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "osVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "osBuild": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "manufacturer": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "model": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "modelName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "idiom": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "architecture": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "isEmulator": {
              "type": [
                "boolean",
                "null"
              ],
              "default": null
            },
            "runtimeName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "runtimeVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "wrapperName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "wrapperVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "screenWidthPixels": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "screenHeightPixels": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "screenScale": {
              "type": [
                "number",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "schemaVersion"
          ],
          "default": null
        },
        "geography": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "countryCode": {
              "type": "string"
            },
            "region": {
              "type": "string"
            },
            "city": {
              "type": "string"
            }
          },
          "required": [
            "countryCode",
            "region",
            "city"
          ],
          "default": null
        },
        "lastActivityAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "activeDurationMs": {
          "type": [
            "integer",
            "null"
          ]
        },
        "lifecycleState": {
          "enum": [
            "Unknown",
            "Foreground",
            "Background",
            "Terminated",
            null
          ]
        },
        "lifecycleStateChangedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lifecycleTransitions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sequence": {
                "type": "integer"
              },
              "state": {
                "enum": [
                  "Unknown",
                  "Foreground",
                  "Background",
                  "Terminated"
                ]
              },
              "occurredAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "sequence",
              "state",
              "occurredAt"
            ]
          }
        },
        "lifecycleTransitionsTruncated": {
          "type": "boolean"
        },
        "observedUsers": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "userId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "displayName": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "readOnly": true
                  }
                },
                "required": [
                  "userId"
                ]
              }
            },
            "count": {
              "type": "integer"
            },
            "isTruncated": {
              "type": "boolean"
            }
          },
          "required": [
            "items",
            "count",
            "isTruncated"
          ]
        }
      },
      "required": [
        "sessionId",
        "identity",
        "startedAt",
        "endedAt",
        "osVersion",
        "deviceModel",
        "region",
        "foregroundTransitions",
        "endedInCrash"
      ]
    },
    "timeline": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "kind": {
            "enum": [
              "SessionStart",
              "SessionEnd",
              "ScreenView",
              "Event",
              "Log",
              "HandledError",
              "Crash",
              "NetworkRequest",
              "PerformanceMarker",
              "EngagementInteraction",
              "LifecycleTransition"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string"
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          },
          "referenceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "severity": {
            "enum": [
              "Trace",
              "Debug",
              "Information",
              "Warning",
              "Error",
              "Critical",
              null
            ],
            "default": null
          },
          "durationMs": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "offsetMs": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "stackTrace": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "properties": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "measurements": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": "number"
            },
            "default": null
          },
          "crashGroupId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "networkOrigin": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "attribution": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "state": {
                "type": "string"
              },
              "evidence": {
                "type": "string"
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "state",
              "evidence"
            ]
          },
          "httpRequest": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "path": {
                "type": "string"
              },
              "queryString": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "headers": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "body": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "path"
            ]
          },
          "symbolication": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "availability": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "readRevision": {
                "type": "string"
              },
              "frameCounts": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "total": {
                    "type": "integer"
                  },
                  "matching": {
                    "type": "integer"
                  },
                  "resolved": {
                    "type": "integer"
                  },
                  "ambiguous": {
                    "type": "integer"
                  }
                },
                "required": [
                  "total",
                  "matching",
                  "resolved",
                  "ambiguous"
                ],
                "default": null
              },
              "unavailableStackNodeCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "displayTruncated": {
                "type": [
                  "boolean",
                  "null"
                ],
                "default": null
              },
              "omittedFrameCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "omittedNodeCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "nodes": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "nodeIndex": {
                      "type": "integer"
                    },
                    "path": {
                      "type": "string"
                    },
                    "inputStatus": {
                      "type": "string"
                    },
                    "truncated": {
                      "type": "boolean"
                    },
                    "omittedFrameCount": {
                      "type": "integer"
                    },
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "index": {
                            "type": "integer"
                          },
                          "availability": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          },
                          "function": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "sourceFile": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "sourceLine": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "default": null
                          },
                          "displayTruncated": {
                            "type": [
                              "boolean",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "required": [
                          "index",
                          "availability",
                          "status",
                          "reason"
                        ]
                      }
                    }
                  },
                  "required": [
                    "nodeIndex",
                    "path",
                    "inputStatus",
                    "truncated",
                    "omittedFrameCount",
                    "frames"
                  ]
                },
                "default": null
              },
              "native": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "availability": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "inputStatus": {
                    "type": "string"
                  },
                  "imagesTruncated": {
                    "type": "boolean"
                  },
                  "frameCounts": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "matching": {
                        "type": "integer"
                      },
                      "resolved": {
                        "type": "integer"
                      },
                      "ambiguous": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "total",
                      "matching",
                      "resolved",
                      "ambiguous"
                    ],
                    "default": null
                  },
                  "displayTruncated": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "default": null
                  },
                  "omittedFrameCount": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "frames": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "index": {
                          "type": "integer"
                        },
                        "address": {
                          "type": "string"
                        },
                        "addressKind": {
                          "type": "string"
                        },
                        "availability": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "imageIndex": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "imageFormat": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "imageName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "imageIdentity": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "architecture": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "coordinateBasis": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "linkTimeAddress": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "function": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "sourceFile": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "sourceLine": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "displayTruncated": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "default": null
                        }
                      },
                      "required": [
                        "index",
                        "address",
                        "addressKind",
                        "availability",
                        "status",
                        "reason"
                      ]
                    },
                    "default": null
                  }
                },
                "required": [
                  "availability",
                  "status",
                  "reason",
                  "inputStatus",
                  "imagesTruncated"
                ]
              },
              "java": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "availability": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "inputStatus": {
                    "type": "string"
                  },
                  "frameCounts": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "matching": {
                        "type": "integer"
                      },
                      "resolved": {
                        "type": "integer"
                      },
                      "ambiguous": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "total",
                      "matching",
                      "resolved",
                      "ambiguous"
                    ]
                  },
                  "displayTruncated": {
                    "type": "boolean",
                    "default": false
                  },
                  "omittedFrameCount": {
                    "type": "integer",
                    "default": 0
                  },
                  "nodes": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "nodeIndex": {
                          "type": "integer"
                        },
                        "path": {
                          "type": "string"
                        },
                        "frames": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "index": {
                                "type": "integer"
                              },
                              "availability": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              },
                              "mappingHash": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "default": null
                              },
                              "inlineFrames": {
                                "type": [
                                  "array",
                                  "null"
                                ],
                                "items": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "function": {
                                      "type": "string"
                                    },
                                    "sourceFile": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "sourceLine": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "function",
                                    "sourceFile",
                                    "sourceLine"
                                  ]
                                },
                                "default": null
                              }
                            },
                            "required": [
                              "index",
                              "availability",
                              "status",
                              "reason"
                            ]
                          }
                        }
                      },
                      "required": [
                        "nodeIndex",
                        "path",
                        "frames"
                      ]
                    },
                    "default": null
                  }
                },
                "required": [
                  "availability",
                  "status",
                  "reason",
                  "inputStatus",
                  "frameCounts"
                ]
              }
            },
            "required": [
              "availability",
              "status",
              "reason",
              "readRevision"
            ]
          }
        },
        "required": [
          "kind",
          "timestamp",
          "title",
          "detail",
          "referenceId"
        ]
      }
    },
    "focusTimestamp": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "isTruncated": {
      "type": "boolean",
      "default": false
    },
    "observedUsers": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "items": {
          "$ref": "#/components/schemas/CoreSessionStory/properties/session/properties/observedUsers/properties/items"
        },
        "count": {
          "type": "integer"
        },
        "isTruncated": {
          "type": "boolean"
        }
      },
      "required": [
        "items",
        "count",
        "isTruncated"
      ]
    }
  },
  "required": [
    "session",
    "timeline"
  ]
}
CoreUsersPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "sessions": {
            "type": "integer"
          },
          "events": {
            "type": "integer"
          },
          "crashes": {
            "type": "integer"
          },
          "targets": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "displayName": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          },
          "installationCount": {
            "type": "integer"
          },
          "deviceTypes": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "unattributedInstallationObservations": {
            "type": "integer"
          }
        },
        "required": [
          "userId",
          "firstSeen",
          "lastSeen",
          "sessions",
          "events",
          "crashes",
          "targets"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreUserDevicesPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "clientId": {
            "type": "string"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "sessions": {
            "type": "integer"
          },
          "model": {
            "type": [
              "string",
              "null"
            ]
          },
          "manufacturer": {
            "type": [
              "string",
              "null"
            ]
          },
          "deviceType": {
            "type": [
              "string",
              "null"
            ]
          },
          "osFamily": {
            "type": [
              "string",
              "null"
            ]
          },
          "osVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "platform": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "clientId",
          "firstSeen",
          "lastSeen",
          "sessions",
          "model",
          "manufacturer",
          "deviceType",
          "osFamily",
          "osVersion",
          "platform"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreLogsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "logId": {
            "type": "string"
          },
          "identity": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "deploymentTarget": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "clientId": {
                "type": "string"
              },
              "appVersion": {
                "type": "string"
              },
              "buildNumber": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sessionId": {
                "type": "string"
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deviceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "buildVariant": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "sdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ],
                "default": null
              },
              "contextSchemaVersion": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "identityAssociation": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "associationId": {
                    "type": "string"
                  },
                  "deliveryGenerationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "resolvedState": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "schemaVersion",
                  "associationId",
                  "deliveryGenerationId",
                  "capturedAt"
                ]
              },
              "userProfile": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "displayName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traits": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "required": [
                  "schemaVersion",
                  "displayName",
                  "traits"
                ]
              },
              "effectiveTarget": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectivePlatform": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              }
            },
            "required": [
              "tenantId",
              "appId",
              "environmentName",
              "deploymentTarget",
              "clientId",
              "appVersion",
              "buildNumber",
              "sessionId",
              "userId",
              "deviceId",
              "buildVariant"
            ]
          },
          "severity": {
            "enum": [
              "Trace",
              "Debug",
              "Information",
              "Warning",
              "Error",
              "Critical"
            ]
          },
          "message": {
            "type": "string"
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "properties": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "deviceContext": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "osFamily": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "osVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "osBuild": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "manufacturer": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "model": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "modelName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "idiom": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "architecture": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "isEmulator": {
                "type": [
                  "boolean",
                  "null"
                ],
                "default": null
              },
              "runtimeName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "runtimeVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wrapperName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wrapperVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "screenWidthPixels": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "screenHeightPixels": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "screenScale": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "schemaVersion"
            ],
            "default": null
          },
          "exception": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "stackTrace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "type"
            ],
            "default": null
          }
        },
        "required": [
          "logId",
          "identity",
          "severity",
          "message",
          "category",
          "timestamp"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreLog
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "logId": {
      "type": "string"
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "environmentName": {
          "type": "string"
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": "string"
        },
        "appVersion": {
          "type": "string"
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": "string"
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "enum": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS",
            null
          ],
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "integer",
            "null"
          ]
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer"
            },
            "associationId": {
              "type": "string"
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "schemaVersion",
            "associationId",
            "deliveryGenerationId",
            "capturedAt"
          ]
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "required": [
            "schemaVersion",
            "displayName",
            "traits"
          ]
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "required": [
        "tenantId",
        "appId",
        "environmentName",
        "deploymentTarget",
        "clientId",
        "appVersion",
        "buildNumber",
        "sessionId",
        "userId",
        "deviceId",
        "buildVariant"
      ]
    },
    "severity": {
      "enum": [
        "Trace",
        "Debug",
        "Information",
        "Warning",
        "Error",
        "Critical"
      ]
    },
    "message": {
      "type": "string"
    },
    "category": {
      "type": [
        "string",
        "null"
      ]
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "properties": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "deviceContext": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": "integer"
        },
        "osFamily": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "osBuild": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "modelName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "idiom": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "architecture": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "isEmulator": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "runtimeName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "runtimeVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "wrapperName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "wrapperVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "screenWidthPixels": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "screenHeightPixels": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "screenScale": {
          "type": [
            "number",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "schemaVersion"
      ],
      "default": null
    },
    "exception": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "message": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "stackTrace": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "type"
      ],
      "default": null
    }
  },
  "required": [
    "logId",
    "identity",
    "severity",
    "message",
    "category",
    "timestamp"
  ]
}
CoreRumAggregates
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "kind": {
        "enum": [
          "AppStart",
          "ScreenLoad",
          "NetworkRequest",
          "Custom"
        ]
      },
      "name": {
        "type": [
          "string",
          "null"
        ]
      },
      "sampleCount": {
        "type": "integer"
      },
      "p50DurationMs": {
        "type": "number"
      },
      "p95DurationMs": {
        "type": "number"
      },
      "failureRatePercent": {
        "type": "number"
      }
    },
    "required": [
      "kind",
      "name",
      "sampleCount",
      "p50DurationMs",
      "p95DurationMs",
      "failureRatePercent"
    ]
  }
}
CoreRumMarker
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "integer"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "markerId": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "AppStart",
        "ScreenLoad",
        "NetworkRequest",
        "Custom"
      ]
    },
    "name": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "storedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "durationMs": {
      "type": "number"
    },
    "succeeded": {
      "type": "boolean"
    },
    "httpStatusCode": {
      "type": [
        "integer",
        "null"
      ]
    },
    "resourceTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "appVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "buildNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "sdkName": {
      "type": [
        "string",
        "null"
      ]
    },
    "sdkVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "sessionView": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "schemaVersion",
    "appId",
    "environment",
    "platform",
    "markerId",
    "kind",
    "name",
    "timestamp",
    "storedAt",
    "durationMs",
    "succeeded",
    "httpStatusCode",
    "resourceTarget",
    "appVersion",
    "buildNumber",
    "sdkName",
    "sdkVersion",
    "sessionView"
  ]
}
CoreTelemetryIntake
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "integer"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "platform": {
      "type": [
        "string",
        "null"
      ]
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "fromInclusive": {
      "type": "string",
      "format": "date-time"
    },
    "toExclusive": {
      "type": "string",
      "format": "date-time"
    },
    "availability": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "entryId": {
            "type": "string",
            "format": "uuid"
          },
          "kind": {
            "type": "string"
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "appVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "buildNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "sdkName": {
            "type": [
              "string",
              "null"
            ]
          },
          "sdkVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "environment": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "reasonCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "acceptedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "persistedObservedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "canOpen": {
            "type": "boolean"
          }
        },
        "required": [
          "entryId",
          "kind",
          "receivedAt",
          "updatedAt",
          "appVersion",
          "buildNumber",
          "sdkName",
          "sdkVersion",
          "environment",
          "platform",
          "summary",
          "outcome",
          "reasonCode",
          "acceptedAt",
          "persistedObservedAt",
          "canOpen"
        ]
      }
    },
    "truncated": {
      "type": "boolean"
    },
    "snapshotToken": {
      "type": "string"
    }
  },
  "required": [
    "schemaVersion",
    "appId",
    "environment",
    "platform",
    "observedAt",
    "fromInclusive",
    "toExclusive",
    "availability",
    "items",
    "truncated",
    "snapshotToken"
  ]
}
CoreTelemetryIntakeDestination
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "view": {
      "type": "string"
    }
  },
  "required": [
    "view"
  ]
}
CoreCrashDashboard
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dashboardKey": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "filters": {
      "type": "object",
      "properties": {
        "environment": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "to": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "platform": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTargets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "rangeDays": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "funnelSteps": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "funnelWindowHours": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        }
      }
    },
    "cards": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "cardKey": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "metric",
              "series",
              "breakdown",
              "table",
              "cohort",
              "comparison",
              "funnel"
            ]
          },
          "metric": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "metricKey": {
                "type": "string"
              },
              "displayName": {
                "type": "string"
              },
              "value": {
                "type": "number"
              },
              "unit": {
                "type": "string"
              },
              "previousValue": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "changePercent": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "state": {
                "enum": [
                  "Complete",
                  "PartialCoverage",
                  "NoQualifyingData",
                  "NotCollected",
                  "NotApplicable",
                  "InsufficientSample",
                  "WithheldByIdentityPolicy",
                  "UnsupportedByPlatform",
                  "TemporarilyUnavailable",
                  null
                ],
                "default": null
              },
              "sampleCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "populationCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "metricKey",
              "displayName",
              "value",
              "unit"
            ],
            "default": null
          },
          "series": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "bucketStart": {
                  "type": "string",
                  "format": "date-time"
                },
                "value": {
                  "type": "number"
                }
              },
              "required": [
                "bucketStart",
                "value"
              ]
            },
            "default": null
          },
          "breakdown": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "dimension": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "metricValue": {
                  "type": "number"
                },
                "sampleCount": {
                  "type": "integer"
                }
              },
              "required": [
                "dimension",
                "value",
                "metricValue",
                "sampleCount"
              ]
            },
            "default": null
          },
          "columns": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "rows": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "cells": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "drilldownPath": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "cells"
              ]
            },
            "default": null
          },
          "retention": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "metricKey": {
                "type": "string"
              },
              "periodUnit": {
                "type": "string"
              },
              "periodDays": {
                "type": "integer"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cohorts": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "cohortStart": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "cohortUsers": {
                      "type": "integer"
                    },
                    "cells": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "periodIndex": {
                            "type": "integer"
                          },
                          "retainedUsers": {
                            "type": "integer"
                          },
                          "retentionPercent": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "periodIndex",
                          "retainedUsers",
                          "retentionPercent"
                        ]
                      }
                    }
                  },
                  "required": [
                    "cohortStart",
                    "cohortUsers",
                    "cells"
                  ]
                }
              }
            },
            "required": [
              "metricKey",
              "periodUnit",
              "periodDays",
              "unavailableReason",
              "cohorts"
            ],
            "default": null
          },
          "comparison": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "occurrenceMetricKey": {
                "type": "string"
              },
              "userMetricKey": {
                "type": "string"
              },
              "sessionMetricKey": {
                "type": "string"
              },
              "eventsPerUserMetricKey": {
                "type": "string"
              },
              "eventsPerSessionMetricKey": {
                "type": "string"
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "dimensionKey": {
                      "type": "string"
                    },
                    "displayName": {
                      "type": "string"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "value": {
                            "type": "string"
                          },
                          "occurrenceCount": {
                            "type": "integer"
                          },
                          "distinctUsers": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "distinctSessions": {
                            "type": "integer"
                          },
                          "eventsPerUser": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "eventsPerSession": {
                            "type": "number"
                          },
                          "userMetricsUnavailableReason": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "required": [
                          "value",
                          "occurrenceCount",
                          "distinctUsers",
                          "distinctSessions",
                          "eventsPerUser",
                          "eventsPerSession"
                        ]
                      }
                    }
                  },
                  "required": [
                    "dimensionKey",
                    "displayName",
                    "rows"
                  ]
                }
              },
              "unavailableDimensionKeys": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              }
            },
            "required": [
              "occurrenceMetricKey",
              "userMetricKey",
              "sessionMetricKey",
              "eventsPerUserMetricKey",
              "eventsPerSessionMetricKey",
              "groups"
            ],
            "default": null
          },
          "funnel": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "usersMetricKey": {
                "type": "string"
              },
              "conversionMetricKey": {
                "type": "string"
              },
              "dropOffMetricKey": {
                "type": "string"
              },
              "conversionWindowHours": {
                "type": "integer"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "eventKey": {
                      "type": "string"
                    },
                    "eventType": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "users": {
                      "type": "integer"
                    },
                    "dropOffUsers": {
                      "type": "integer"
                    },
                    "conversionFromPreviousPercent": {
                      "type": "number"
                    },
                    "conversionFromFirstPercent": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "eventKey",
                    "eventType",
                    "name",
                    "users",
                    "dropOffUsers",
                    "conversionFromPreviousPercent",
                    "conversionFromFirstPercent"
                  ]
                }
              }
            },
            "required": [
              "usersMetricKey",
              "conversionMetricKey",
              "dropOffMetricKey",
              "conversionWindowHours",
              "unavailableReason",
              "steps"
            ],
            "default": null
          }
        },
        "required": [
          "cardKey",
          "title",
          "kind"
        ]
      }
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "dataState": {
      "enum": [
        "Ready",
        "NoDataInWindow",
        "NoDataInScope"
      ],
      "default": "Ready"
    }
  },
  "required": [
    "dashboardKey",
    "title",
    "filters",
    "cards",
    "generatedAt"
  ]
}
CoreCrashBucketsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bucketId": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "severity": {
            "enum": [
              "HandledError",
              "UnhandledCrash"
            ]
          },
          "exceptionType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "occurrenceCount": {
            "type": "integer"
          },
          "affectedUsers": {
            "type": "integer"
          },
          "affectedSessions": {
            "type": "integer"
          },
          "status": {
            "enum": [
              "New",
              "Investigating",
              "Linked",
              "Resolved",
              "Ignored",
              "Reopened"
            ]
          },
          "owner": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalIssueUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalIssueId": {
            "type": [
              "string",
              "null"
            ]
          },
          "representativeCrashId": {
            "type": "string"
          },
          "lastReceivedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "bucketId",
          "signature",
          "tenantId",
          "appId",
          "environmentName",
          "severity",
          "exceptionType",
          "title",
          "firstSeen",
          "lastSeen",
          "occurrenceCount",
          "affectedUsers",
          "affectedSessions",
          "status",
          "owner",
          "externalIssueUrl",
          "externalIssueId",
          "representativeCrashId"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreCrashTriage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bucketId": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "severity": {
            "enum": [
              "HandledError",
              "UnhandledCrash"
            ]
          },
          "exceptionType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "occurrenceCount": {
            "type": "integer"
          },
          "affectedUsers": {
            "type": "integer"
          },
          "affectedSessions": {
            "type": "integer"
          },
          "status": {
            "enum": [
              "New",
              "Investigating",
              "Linked",
              "Resolved",
              "Ignored",
              "Reopened"
            ]
          },
          "owner": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalIssueUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "externalIssueId": {
            "type": [
              "string",
              "null"
            ]
          },
          "representativeCrashId": {
            "type": "string"
          },
          "lastReceivedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          }
        },
        "required": [
          "bucketId",
          "signature",
          "tenantId",
          "appId",
          "environmentName",
          "severity",
          "exceptionType",
          "title",
          "firstSeen",
          "lastSeen",
          "occurrenceCount",
          "affectedUsers",
          "affectedSessions",
          "status",
          "owner",
          "externalIssueUrl",
          "externalIssueId",
          "representativeCrashId"
        ]
      }
    },
    "candidateCountLowerBound": {
      "type": "integer"
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "captureComplete": {
      "type": "boolean"
    },
    "requiresNarrowerFilter": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "candidateCountLowerBound",
    "totalCount",
    "generatedAt",
    "captureComplete",
    "requiresNarrowerFilter"
  ]
}
CoreCrashSymbolNeedsPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "groupKey": {
            "type": "string"
          },
          "artifact": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string"
              },
              "moduleMvid": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "pdbGuid": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "pdbStamp": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "nativeIdentity": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "architecture": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "javaMappingHash": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "kind"
            ]
          },
          "platform": {
            "type": "string"
          },
          "target": {
            "type": [
              "string",
              "null"
            ]
          },
          "appVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "buildNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurrenceCount": {
            "type": "integer"
          },
          "firstSeen": {
            "type": "string",
            "format": "date-time"
          },
          "lastSeen": {
            "type": "string",
            "format": "date-time"
          },
          "states": {
            "type": "object",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "exampleCrashId": {
            "type": [
              "string",
              "null"
            ]
          },
          "exampleBucketId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "groupKey",
          "artifact",
          "platform",
          "target",
          "appVersion",
          "buildNumber",
          "occurrenceCount",
          "firstSeen",
          "lastSeen",
          "states",
          "exampleCrashId",
          "exampleBucketId"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "retainedFrom": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "items",
    "nextCursor",
    "totalCount",
    "observedAt",
    "retainedFrom"
  ]
}
CoreCrashAssignees
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "userId": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "email": {
        "type": "string"
      }
    },
    "required": [
      "userId",
      "displayName",
      "email"
    ]
  }
}
CoreCrashAssigneesPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "userId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "userId",
          "displayName",
          "email"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreCrashBucket
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "bucketId": {
      "type": "string"
    },
    "signature": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "severity": {
      "enum": [
        "HandledError",
        "UnhandledCrash"
      ]
    },
    "exceptionType": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "firstSeen": {
      "type": "string",
      "format": "date-time"
    },
    "lastSeen": {
      "type": "string",
      "format": "date-time"
    },
    "occurrenceCount": {
      "type": "integer"
    },
    "affectedUsers": {
      "type": "integer"
    },
    "affectedSessions": {
      "type": "integer"
    },
    "status": {
      "enum": [
        "New",
        "Investigating",
        "Linked",
        "Resolved",
        "Ignored",
        "Reopened"
      ]
    },
    "owner": {
      "type": [
        "string",
        "null"
      ]
    },
    "externalIssueUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "externalIssueId": {
      "type": [
        "string",
        "null"
      ]
    },
    "representativeCrashId": {
      "type": "string"
    },
    "lastReceivedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "bucketId",
    "signature",
    "tenantId",
    "appId",
    "environmentName",
    "severity",
    "exceptionType",
    "title",
    "firstSeen",
    "lastSeen",
    "occurrenceCount",
    "affectedUsers",
    "affectedSessions",
    "status",
    "owner",
    "externalIssueUrl",
    "externalIssueId",
    "representativeCrashId"
  ]
}
CoreCrashActivityPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "activityId": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "WorkflowUpdated",
              "WorkflowAbandoned",
              "ExternalIssueLinked",
              "NoteAdded"
            ]
          },
          "actor": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "summary": {
            "type": "string"
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "afterState": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "targetUrl": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "activityId",
          "kind",
          "actor",
          "occurredAt",
          "summary"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreCrashImpact
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "previousFrom": {
      "type": "string",
      "format": "date-time"
    },
    "previousTo": {
      "type": "string",
      "format": "date-time"
    },
    "current": {
      "type": "object",
      "properties": {
        "occurrences": {
          "type": "integer"
        },
        "affectedSessions": {
          "type": "integer"
        },
        "affectedUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "activeUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "affectedUserPercentage": {
          "type": [
            "number",
            "null"
          ]
        },
        "userMetricsAvailable": {
          "type": "boolean"
        }
      },
      "required": [
        "occurrences",
        "affectedSessions",
        "affectedUsers",
        "activeUsers",
        "affectedUserPercentage",
        "userMetricsAvailable"
      ]
    },
    "previous": {
      "type": "object",
      "properties": {
        "occurrences": {
          "type": "integer"
        },
        "affectedSessions": {
          "type": "integer"
        },
        "affectedUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "activeUsers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "affectedUserPercentage": {
          "type": [
            "number",
            "null"
          ]
        },
        "userMetricsAvailable": {
          "type": "boolean"
        }
      },
      "required": [
        "occurrences",
        "affectedSessions",
        "affectedUsers",
        "activeUsers",
        "affectedUserPercentage",
        "userMetricsAvailable"
      ]
    },
    "changes": {
      "type": "object",
      "properties": {
        "occurrencesPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "affectedSessionsPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "affectedUsersPercent": {
          "type": [
            "number",
            "null"
          ]
        },
        "affectedUserPercentagePoints": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "occurrencesPercent",
        "affectedSessionsPercent",
        "affectedUsersPercent",
        "affectedUserPercentagePoints"
      ]
    },
    "daily": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bucketStart": {
            "type": "string",
            "format": "date-time"
          },
          "occurrences": {
            "type": "integer"
          },
          "affectedSessions": {
            "type": "integer"
          },
          "affectedUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "userMetricsAvailable": {
            "type": "boolean"
          }
        },
        "required": [
          "bucketStart",
          "occurrences",
          "affectedSessions",
          "affectedUsers",
          "userMetricsAvailable"
        ]
      }
    },
    "breakdowns": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "dimension": {
            "enum": [
              "Release",
              "DeploymentTarget",
              "DeviceModel",
              "OsVersion",
              "DeviceModelIdentifier",
              "OsFamily",
              "Manufacturer",
              "FormFactor",
              "Idiom",
              "Architecture",
              "EmulatorState",
              "RuntimeName",
              "RuntimeVersion",
              "WrapperName",
              "WrapperVersion",
              "SdkName",
              "SdkVersion",
              "ForegroundState",
              "Platform"
            ]
          },
          "value": {
            "type": "string"
          },
          "secondaryValue": {
            "type": [
              "string",
              "null"
            ]
          },
          "occurrences": {
            "type": "integer"
          },
          "affectedSessions": {
            "type": "integer"
          },
          "affectedUsers": {
            "type": [
              "integer",
              "null"
            ]
          },
          "userMetricsAvailable": {
            "type": "boolean"
          },
          "occurrenceSharePercent": {
            "type": "number"
          }
        },
        "required": [
          "dimension",
          "value",
          "secondaryValue",
          "occurrences",
          "affectedSessions",
          "affectedUsers",
          "userMetricsAvailable",
          "occurrenceSharePercent"
        ]
      }
    }
  },
  "required": [
    "from",
    "to",
    "previousFrom",
    "previousTo",
    "current",
    "previous",
    "changes",
    "daily",
    "breakdowns"
  ]
}
CoreCrashOccurrencesPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "crashId": {
            "type": "string"
          },
          "identity": {
            "type": "object",
            "properties": {
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "deploymentTarget": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "clientId": {
                "type": "string"
              },
              "appVersion": {
                "type": "string"
              },
              "buildNumber": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sessionId": {
                "type": "string"
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deviceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "buildVariant": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "sdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "platform": {
                "enum": [
                  "unattributed",
                  "iOS",
                  "Android",
                  "Windows",
                  "MacCatalyst",
                  "Web",
                  "macOS",
                  "watchOS",
                  "tvOS",
                  "WinUI",
                  "Wpf",
                  "Linux",
                  "iPadOS",
                  null
                ],
                "default": null
              },
              "contextSchemaVersion": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "identityAssociation": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "associationId": {
                    "type": "string"
                  },
                  "deliveryGenerationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "capturedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "resolvedState": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "schemaVersion",
                  "associationId",
                  "deliveryGenerationId",
                  "capturedAt"
                ]
              },
              "userProfile": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "schemaVersion": {
                    "type": "integer"
                  },
                  "displayName": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "traits": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "required": [
                  "schemaVersion",
                  "displayName",
                  "traits"
                ]
              },
              "effectiveTarget": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectivePlatform": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkName": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              },
              "effectiveSdkVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "readOnly": true
              }
            },
            "required": [
              "tenantId",
              "appId",
              "environmentName",
              "deploymentTarget",
              "clientId",
              "appVersion",
              "buildNumber",
              "sessionId",
              "userId",
              "deviceId",
              "buildVariant"
            ]
          },
          "severity": {
            "enum": [
              "HandledError",
              "UnhandledCrash"
            ]
          },
          "exceptionType": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "stackTrace": {
            "type": "string"
          },
          "wasInForeground": {
            "type": "boolean"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "deviceModel": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "osVersion": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "properties": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "receivedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "attachmentFingerprint": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "rawStackTrace": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "symbolicationStatus": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "symbolArtifactId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "bucketId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "deviceContext": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "osFamily": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "osVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "osBuild": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "manufacturer": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "model": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "modelName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "idiom": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "architecture": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "isEmulator": {
                "type": [
                  "boolean",
                  "null"
                ],
                "default": null
              },
              "runtimeName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "runtimeVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wrapperName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "wrapperVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "screenWidthPixels": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "screenHeightPixels": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "screenScale": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "schemaVersion"
            ],
            "default": null
          },
          "exception": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "stackTrace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "properties": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "innerExceptions": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "stackTrace": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "properties": {
                      "$ref": "#/components/schemas/CoreCrashOccurrencesPage/properties/items/items/properties/exception/properties/properties",
                      "default": null
                    },
                    "innerExceptions": {
                      "$ref": "#/components/schemas/CoreCrashOccurrencesPage/properties/items/items/properties/exception/properties/innerExceptions",
                      "default": null
                    },
                    "stackContext": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "modules": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "moduleMvid": {
                                "type": "string"
                              },
                              "architecture": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "default": null
                              },
                              "pdb": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "kind": {
                                    "type": "string"
                                  },
                                  "guid": {
                                    "type": "string"
                                  },
                                  "stamp": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "guid",
                                  "stamp"
                                ],
                                "default": null
                              }
                            },
                            "required": [
                              "moduleMvid"
                            ]
                          }
                        },
                        "frames": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "moduleIndex": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "default": null
                              },
                              "methodToken": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "default": null
                              },
                              "ilOffset": {
                                "type": [
                                  "integer",
                                  "null"
                                ],
                                "default": null
                              }
                            }
                          }
                        },
                        "truncated": {
                          "type": "boolean",
                          "default": false
                        }
                      },
                      "required": [
                        "kind",
                        "modules",
                        "frames"
                      ]
                    }
                  },
                  "required": [
                    "type"
                  ]
                },
                "default": null
              },
              "stackContext": {
                "$ref": "#/components/schemas/CoreCrashOccurrencesPage/properties/items/items/properties/exception/properties/innerExceptions/items/properties/stackContext"
              }
            },
            "required": [
              "type"
            ],
            "default": null
          },
          "symbolication": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "availability": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "readRevision": {
                "type": "string"
              },
              "frameCounts": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "total": {
                    "type": "integer"
                  },
                  "matching": {
                    "type": "integer"
                  },
                  "resolved": {
                    "type": "integer"
                  },
                  "ambiguous": {
                    "type": "integer"
                  }
                },
                "required": [
                  "total",
                  "matching",
                  "resolved",
                  "ambiguous"
                ],
                "default": null
              },
              "unavailableStackNodeCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "displayTruncated": {
                "type": [
                  "boolean",
                  "null"
                ],
                "default": null
              },
              "omittedFrameCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "omittedNodeCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "nodes": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "nodeIndex": {
                      "type": "integer"
                    },
                    "path": {
                      "type": "string"
                    },
                    "inputStatus": {
                      "type": "string"
                    },
                    "truncated": {
                      "type": "boolean"
                    },
                    "omittedFrameCount": {
                      "type": "integer"
                    },
                    "frames": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "index": {
                            "type": "integer"
                          },
                          "availability": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          },
                          "function": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "sourceFile": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "sourceLine": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "default": null
                          },
                          "displayTruncated": {
                            "type": [
                              "boolean",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "required": [
                          "index",
                          "availability",
                          "status",
                          "reason"
                        ]
                      }
                    }
                  },
                  "required": [
                    "nodeIndex",
                    "path",
                    "inputStatus",
                    "truncated",
                    "omittedFrameCount",
                    "frames"
                  ]
                },
                "default": null
              },
              "native": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "availability": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "inputStatus": {
                    "type": "string"
                  },
                  "imagesTruncated": {
                    "type": "boolean"
                  },
                  "frameCounts": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "matching": {
                        "type": "integer"
                      },
                      "resolved": {
                        "type": "integer"
                      },
                      "ambiguous": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "total",
                      "matching",
                      "resolved",
                      "ambiguous"
                    ],
                    "default": null
                  },
                  "displayTruncated": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "default": null
                  },
                  "omittedFrameCount": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "frames": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "index": {
                          "type": "integer"
                        },
                        "address": {
                          "type": "string"
                        },
                        "addressKind": {
                          "type": "string"
                        },
                        "availability": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "imageIndex": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "imageFormat": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "imageName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "imageIdentity": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "architecture": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "coordinateBasis": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "linkTimeAddress": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "function": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "sourceFile": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "sourceLine": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "displayTruncated": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "default": null
                        }
                      },
                      "required": [
                        "index",
                        "address",
                        "addressKind",
                        "availability",
                        "status",
                        "reason"
                      ]
                    },
                    "default": null
                  }
                },
                "required": [
                  "availability",
                  "status",
                  "reason",
                  "inputStatus",
                  "imagesTruncated"
                ]
              },
              "java": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "availability": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "inputStatus": {
                    "type": "string"
                  },
                  "frameCounts": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "matching": {
                        "type": "integer"
                      },
                      "resolved": {
                        "type": "integer"
                      },
                      "ambiguous": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "total",
                      "matching",
                      "resolved",
                      "ambiguous"
                    ]
                  },
                  "displayTruncated": {
                    "type": "boolean",
                    "default": false
                  },
                  "omittedFrameCount": {
                    "type": "integer",
                    "default": 0
                  },
                  "nodes": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "nodeIndex": {
                          "type": "integer"
                        },
                        "path": {
                          "type": "string"
                        },
                        "frames": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "index": {
                                "type": "integer"
                              },
                              "availability": {
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              },
                              "mappingHash": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "default": null
                              },
                              "inlineFrames": {
                                "type": [
                                  "array",
                                  "null"
                                ],
                                "items": {
                                  "type": [
                                    "object",
                                    "null"
                                  ],
                                  "properties": {
                                    "function": {
                                      "type": "string"
                                    },
                                    "sourceFile": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "sourceLine": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "function",
                                    "sourceFile",
                                    "sourceLine"
                                  ]
                                },
                                "default": null
                              }
                            },
                            "required": [
                              "index",
                              "availability",
                              "status",
                              "reason"
                            ]
                          }
                        }
                      },
                      "required": [
                        "nodeIndex",
                        "path",
                        "frames"
                      ]
                    },
                    "default": null
                  }
                },
                "required": [
                  "availability",
                  "status",
                  "reason",
                  "inputStatus",
                  "frameCounts"
                ]
              }
            },
            "required": [
              "availability",
              "status",
              "reason",
              "readRevision"
            ],
            "readOnly": true
          },
          "captureAttribution": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "state": {
                "type": "string"
              },
              "evidence": {
                "type": "string"
              },
              "userId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "state",
              "evidence"
            ],
            "readOnly": true
          }
        },
        "required": [
          "crashId",
          "identity",
          "severity",
          "exceptionType",
          "message",
          "stackTrace",
          "wasInForeground",
          "occurredAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreCrashOccurrenceStory
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "occurrence": {
      "type": "object",
      "properties": {
        "crashId": {
          "type": "string"
        },
        "identity": {
          "type": "object",
          "properties": {
            "tenantId": {
              "type": "string"
            },
            "appId": {
              "type": "string"
            },
            "environmentName": {
              "type": "string"
            },
            "deploymentTarget": {
              "type": [
                "string",
                "null"
              ]
            },
            "clientId": {
              "type": "string"
            },
            "appVersion": {
              "type": "string"
            },
            "buildNumber": {
              "type": [
                "string",
                "null"
              ]
            },
            "sessionId": {
              "type": "string"
            },
            "userId": {
              "type": [
                "string",
                "null"
              ]
            },
            "deviceId": {
              "type": [
                "string",
                "null"
              ]
            },
            "buildVariant": {
              "type": [
                "string",
                "null"
              ]
            },
            "sdkName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "sdkVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS",
                null
              ],
              "default": null
            },
            "contextSchemaVersion": {
              "type": [
                "integer",
                "null"
              ]
            },
            "identityAssociation": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer"
                },
                "associationId": {
                  "type": "string"
                },
                "deliveryGenerationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "capturedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "resolvedState": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "schemaVersion",
                "associationId",
                "deliveryGenerationId",
                "capturedAt"
              ]
            },
            "userProfile": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer"
                },
                "displayName": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "traits": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "required": [
                "schemaVersion",
                "displayName",
                "traits"
              ]
            },
            "effectiveTarget": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            },
            "effectivePlatform": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            },
            "effectiveSdkName": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            },
            "effectiveSdkVersion": {
              "type": [
                "string",
                "null"
              ],
              "readOnly": true
            }
          },
          "required": [
            "tenantId",
            "appId",
            "environmentName",
            "deploymentTarget",
            "clientId",
            "appVersion",
            "buildNumber",
            "sessionId",
            "userId",
            "deviceId",
            "buildVariant"
          ]
        },
        "severity": {
          "enum": [
            "HandledError",
            "UnhandledCrash"
          ]
        },
        "exceptionType": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "stackTrace": {
          "type": "string"
        },
        "wasInForeground": {
          "type": "boolean"
        },
        "occurredAt": {
          "type": "string",
          "format": "date-time"
        },
        "deviceModel": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "receivedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "attachmentFingerprint": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "rawStackTrace": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "symbolicationStatus": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "symbolArtifactId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "bucketId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deviceContext": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer"
            },
            "osFamily": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "osVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "osBuild": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "manufacturer": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "model": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "modelName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "idiom": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "architecture": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "isEmulator": {
              "type": [
                "boolean",
                "null"
              ],
              "default": null
            },
            "runtimeName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "runtimeVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "wrapperName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "wrapperVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "screenWidthPixels": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "screenHeightPixels": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "screenScale": {
              "type": [
                "number",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "schemaVersion"
          ],
          "default": null
        },
        "exception": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "message": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "stackTrace": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "properties": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "default": null
            },
            "innerExceptions": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "message": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "stackTrace": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "properties": {
                    "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/exception/properties/properties",
                    "default": null
                  },
                  "innerExceptions": {
                    "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/exception/properties/innerExceptions",
                    "default": null
                  },
                  "stackContext": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "kind": {
                        "type": "string"
                      },
                      "modules": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "moduleMvid": {
                              "type": "string"
                            },
                            "architecture": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "pdb": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string"
                                },
                                "guid": {
                                  "type": "string"
                                },
                                "stamp": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "guid",
                                "stamp"
                              ],
                              "default": null
                            }
                          },
                          "required": [
                            "moduleMvid"
                          ]
                        }
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "moduleIndex": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "default": null
                            },
                            "methodToken": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "default": null
                            },
                            "ilOffset": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "default": null
                            }
                          }
                        }
                      },
                      "truncated": {
                        "type": "boolean",
                        "default": false
                      }
                    },
                    "required": [
                      "kind",
                      "modules",
                      "frames"
                    ]
                  }
                },
                "required": [
                  "type"
                ]
              },
              "default": null
            },
            "stackContext": {
              "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/exception/properties/innerExceptions/items/properties/stackContext"
            }
          },
          "required": [
            "type"
          ],
          "default": null
        },
        "symbolication": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "availability": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "readRevision": {
              "type": "string"
            },
            "frameCounts": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "total": {
                  "type": "integer"
                },
                "matching": {
                  "type": "integer"
                },
                "resolved": {
                  "type": "integer"
                },
                "ambiguous": {
                  "type": "integer"
                }
              },
              "required": [
                "total",
                "matching",
                "resolved",
                "ambiguous"
              ],
              "default": null
            },
            "unavailableStackNodeCount": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "displayTruncated": {
              "type": [
                "boolean",
                "null"
              ],
              "default": null
            },
            "omittedFrameCount": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "omittedNodeCount": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "nodes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "nodeIndex": {
                    "type": "integer"
                  },
                  "path": {
                    "type": "string"
                  },
                  "inputStatus": {
                    "type": "string"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "omittedFrameCount": {
                    "type": "integer"
                  },
                  "frames": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "index": {
                          "type": "integer"
                        },
                        "availability": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "function": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "sourceFile": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "sourceLine": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "displayTruncated": {
                          "type": [
                            "boolean",
                            "null"
                          ],
                          "default": null
                        }
                      },
                      "required": [
                        "index",
                        "availability",
                        "status",
                        "reason"
                      ]
                    }
                  }
                },
                "required": [
                  "nodeIndex",
                  "path",
                  "inputStatus",
                  "truncated",
                  "omittedFrameCount",
                  "frames"
                ]
              },
              "default": null
            },
            "native": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "availability": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "inputStatus": {
                  "type": "string"
                },
                "imagesTruncated": {
                  "type": "boolean"
                },
                "frameCounts": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "total": {
                      "type": "integer"
                    },
                    "matching": {
                      "type": "integer"
                    },
                    "resolved": {
                      "type": "integer"
                    },
                    "ambiguous": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "total",
                    "matching",
                    "resolved",
                    "ambiguous"
                  ],
                  "default": null
                },
                "displayTruncated": {
                  "type": [
                    "boolean",
                    "null"
                  ],
                  "default": null
                },
                "omittedFrameCount": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "default": null
                },
                "frames": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "index": {
                        "type": "integer"
                      },
                      "address": {
                        "type": "string"
                      },
                      "addressKind": {
                        "type": "string"
                      },
                      "availability": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "reason": {
                        "type": "string"
                      },
                      "imageIndex": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "default": null
                      },
                      "imageFormat": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "imageName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "imageIdentity": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "architecture": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "coordinateBasis": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "linkTimeAddress": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "function": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "sourceFile": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "sourceLine": {
                        "type": [
                          "integer",
                          "null"
                        ],
                        "default": null
                      },
                      "displayTruncated": {
                        "type": [
                          "boolean",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "required": [
                      "index",
                      "address",
                      "addressKind",
                      "availability",
                      "status",
                      "reason"
                    ]
                  },
                  "default": null
                }
              },
              "required": [
                "availability",
                "status",
                "reason",
                "inputStatus",
                "imagesTruncated"
              ]
            },
            "java": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "availability": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "inputStatus": {
                  "type": "string"
                },
                "frameCounts": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer"
                    },
                    "matching": {
                      "type": "integer"
                    },
                    "resolved": {
                      "type": "integer"
                    },
                    "ambiguous": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "total",
                    "matching",
                    "resolved",
                    "ambiguous"
                  ]
                },
                "displayTruncated": {
                  "type": "boolean",
                  "default": false
                },
                "omittedFrameCount": {
                  "type": "integer",
                  "default": 0
                },
                "nodes": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "nodeIndex": {
                        "type": "integer"
                      },
                      "path": {
                        "type": "string"
                      },
                      "frames": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "index": {
                              "type": "integer"
                            },
                            "availability": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            },
                            "reason": {
                              "type": "string"
                            },
                            "mappingHash": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "inlineFrames": {
                              "type": [
                                "array",
                                "null"
                              ],
                              "items": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "function": {
                                    "type": "string"
                                  },
                                  "sourceFile": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "sourceLine": {
                                    "type": [
                                      "integer",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "function",
                                  "sourceFile",
                                  "sourceLine"
                                ]
                              },
                              "default": null
                            }
                          },
                          "required": [
                            "index",
                            "availability",
                            "status",
                            "reason"
                          ]
                        }
                      }
                    },
                    "required": [
                      "nodeIndex",
                      "path",
                      "frames"
                    ]
                  },
                  "default": null
                }
              },
              "required": [
                "availability",
                "status",
                "reason",
                "inputStatus",
                "frameCounts"
              ]
            }
          },
          "required": [
            "availability",
            "status",
            "reason",
            "readRevision"
          ],
          "readOnly": true
        },
        "captureAttribution": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "state": {
              "type": "string"
            },
            "evidence": {
              "type": "string"
            },
            "userId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "state",
            "evidence"
          ],
          "readOnly": true
        }
      },
      "required": [
        "crashId",
        "identity",
        "severity",
        "exceptionType",
        "message",
        "stackTrace",
        "wasInForeground",
        "occurredAt"
      ]
    },
    "story": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "session": {
          "type": "object",
          "properties": {
            "sessionId": {
              "type": "string"
            },
            "identity": {
              "type": "object",
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "appId": {
                  "type": "string"
                },
                "environmentName": {
                  "type": "string"
                },
                "deploymentTarget": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "clientId": {
                  "type": "string"
                },
                "appVersion": {
                  "type": "string"
                },
                "buildNumber": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sessionId": {
                  "type": "string"
                },
                "userId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deviceId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "buildVariant": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sdkName": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "sdkVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "platform": {
                  "enum": [
                    "unattributed",
                    "iOS",
                    "Android",
                    "Windows",
                    "MacCatalyst",
                    "Web",
                    "macOS",
                    "watchOS",
                    "tvOS",
                    "WinUI",
                    "Wpf",
                    "Linux",
                    "iPadOS",
                    null
                  ],
                  "default": null
                },
                "contextSchemaVersion": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "identityAssociation": {
                  "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/identity/properties/identityAssociation"
                },
                "userProfile": {
                  "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/identity/properties/userProfile"
                },
                "effectiveTarget": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "readOnly": true
                },
                "effectivePlatform": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "readOnly": true
                },
                "effectiveSdkName": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "readOnly": true
                },
                "effectiveSdkVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "readOnly": true
                }
              },
              "required": [
                "tenantId",
                "appId",
                "environmentName",
                "deploymentTarget",
                "clientId",
                "appVersion",
                "buildNumber",
                "sessionId",
                "userId",
                "deviceId",
                "buildVariant"
              ]
            },
            "startedAt": {
              "type": "string",
              "format": "date-time"
            },
            "endedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "osVersion": {
              "type": [
                "string",
                "null"
              ]
            },
            "deviceModel": {
              "type": [
                "string",
                "null"
              ]
            },
            "region": {
              "type": [
                "string",
                "null"
              ]
            },
            "foregroundTransitions": {
              "type": "integer"
            },
            "endedInCrash": {
              "type": "boolean"
            },
            "deviceContext": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "schemaVersion": {
                  "type": "integer"
                },
                "osFamily": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "osVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "osBuild": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "manufacturer": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "model": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "modelName": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "idiom": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "architecture": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "isEmulator": {
                  "type": [
                    "boolean",
                    "null"
                  ],
                  "default": null
                },
                "runtimeName": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "runtimeVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "wrapperName": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "wrapperVersion": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "screenWidthPixels": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "default": null
                },
                "screenHeightPixels": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "default": null
                },
                "screenScale": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "schemaVersion"
              ],
              "default": null
            },
            "geography": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "countryCode": {
                  "type": "string"
                },
                "region": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                }
              },
              "required": [
                "countryCode",
                "region",
                "city"
              ],
              "default": null
            },
            "lastActivityAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "activeDurationMs": {
              "type": [
                "integer",
                "null"
              ]
            },
            "lifecycleState": {
              "enum": [
                "Unknown",
                "Foreground",
                "Background",
                "Terminated",
                null
              ]
            },
            "lifecycleStateChangedAt": {
              "type": [
                "string",
                "null"
              ],
              "format": "date-time"
            },
            "lifecycleTransitions": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "sequence": {
                    "type": "integer"
                  },
                  "state": {
                    "enum": [
                      "Unknown",
                      "Foreground",
                      "Background",
                      "Terminated"
                    ]
                  },
                  "occurredAt": {
                    "type": "string",
                    "format": "date-time"
                  }
                },
                "required": [
                  "sequence",
                  "state",
                  "occurredAt"
                ]
              }
            },
            "lifecycleTransitionsTruncated": {
              "type": "boolean"
            },
            "observedUsers": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "items": {
                  "type": "array",
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "userId": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "displayName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "readOnly": true
                      }
                    },
                    "required": [
                      "userId"
                    ]
                  }
                },
                "count": {
                  "type": "integer"
                },
                "isTruncated": {
                  "type": "boolean"
                }
              },
              "required": [
                "items",
                "count",
                "isTruncated"
              ]
            }
          },
          "required": [
            "sessionId",
            "identity",
            "startedAt",
            "endedAt",
            "osVersion",
            "deviceModel",
            "region",
            "foregroundTransitions",
            "endedInCrash"
          ]
        },
        "timeline": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "SessionStart",
                  "SessionEnd",
                  "ScreenView",
                  "Event",
                  "Log",
                  "HandledError",
                  "Crash",
                  "NetworkRequest",
                  "PerformanceMarker",
                  "EngagementInteraction",
                  "LifecycleTransition"
                ]
              },
              "timestamp": {
                "type": "string",
                "format": "date-time"
              },
              "title": {
                "type": "string"
              },
              "detail": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "referenceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "severity": {
                "enum": [
                  "Trace",
                  "Debug",
                  "Information",
                  "Warning",
                  "Error",
                  "Critical",
                  null
                ],
                "default": null
              },
              "durationMs": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "offsetMs": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "stackTrace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "properties": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "measurements": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": "number"
                },
                "default": null
              },
              "crashGroupId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "networkOrigin": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "attribution": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "state": {
                    "type": "string"
                  },
                  "evidence": {
                    "type": "string"
                  },
                  "userId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  }
                },
                "required": [
                  "state",
                  "evidence"
                ]
              },
              "httpRequest": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "path": {
                    "type": "string"
                  },
                  "queryString": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "headers": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "default": null
                  },
                  "body": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  }
                },
                "required": [
                  "path"
                ]
              },
              "symbolication": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "availability": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "readRevision": {
                    "type": "string"
                  },
                  "frameCounts": {
                    "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/symbolication/properties/frameCounts",
                    "default": null
                  },
                  "unavailableStackNodeCount": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "displayTruncated": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "default": null
                  },
                  "omittedFrameCount": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "omittedNodeCount": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "nodes": {
                    "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/symbolication/properties/nodes",
                    "default": null
                  },
                  "native": {
                    "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/symbolication/properties/native"
                  },
                  "java": {
                    "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/occurrence/properties/symbolication/properties/java"
                  }
                },
                "required": [
                  "availability",
                  "status",
                  "reason",
                  "readRevision"
                ]
              }
            },
            "required": [
              "kind",
              "timestamp",
              "title",
              "detail",
              "referenceId"
            ]
          }
        },
        "focusTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "isTruncated": {
          "type": "boolean",
          "default": false
        },
        "observedUsers": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "items": {
              "$ref": "#/components/schemas/CoreCrashOccurrenceStory/properties/story/properties/session/properties/observedUsers/properties/items"
            },
            "count": {
              "type": "integer"
            },
            "isTruncated": {
              "type": "boolean"
            }
          },
          "required": [
            "items",
            "count",
            "isTruncated"
          ]
        }
      },
      "required": [
        "session",
        "timeline"
      ]
    }
  },
  "required": [
    "occurrence",
    "story"
  ]
}
CoreCrashReport
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "crashId": {
      "type": "string"
    },
    "identity": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "environmentName": {
          "type": "string"
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "clientId": {
          "type": "string"
        },
        "appVersion": {
          "type": "string"
        },
        "buildNumber": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionId": {
          "type": "string"
        },
        "userId": {
          "type": [
            "string",
            "null"
          ]
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "buildVariant": {
          "type": [
            "string",
            "null"
          ]
        },
        "sdkName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "sdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "platform": {
          "enum": [
            "unattributed",
            "iOS",
            "Android",
            "Windows",
            "MacCatalyst",
            "Web",
            "macOS",
            "watchOS",
            "tvOS",
            "WinUI",
            "Wpf",
            "Linux",
            "iPadOS",
            null
          ],
          "default": null
        },
        "contextSchemaVersion": {
          "type": [
            "integer",
            "null"
          ]
        },
        "identityAssociation": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer"
            },
            "associationId": {
              "type": "string"
            },
            "deliveryGenerationId": {
              "type": "string",
              "format": "uuid"
            },
            "capturedAt": {
              "type": "string",
              "format": "date-time"
            },
            "resolvedState": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "schemaVersion",
            "associationId",
            "deliveryGenerationId",
            "capturedAt"
          ]
        },
        "userProfile": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer"
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ]
            },
            "traits": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "required": [
            "schemaVersion",
            "displayName",
            "traits"
          ]
        },
        "effectiveTarget": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectivePlatform": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkName": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "effectiveSdkVersion": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        }
      },
      "required": [
        "tenantId",
        "appId",
        "environmentName",
        "deploymentTarget",
        "clientId",
        "appVersion",
        "buildNumber",
        "sessionId",
        "userId",
        "deviceId",
        "buildVariant"
      ]
    },
    "severity": {
      "enum": [
        "HandledError",
        "UnhandledCrash"
      ]
    },
    "exceptionType": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "stackTrace": {
      "type": "string"
    },
    "wasInForeground": {
      "type": "boolean"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "deviceModel": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "osVersion": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "properties": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "receivedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "attachmentFingerprint": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "rawStackTrace": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "symbolicationStatus": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "symbolArtifactId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "bucketId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "deviceContext": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": "integer"
        },
        "osFamily": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "osVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "osBuild": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "modelName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "idiom": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "architecture": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "isEmulator": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "runtimeName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "runtimeVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "wrapperName": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "wrapperVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "screenWidthPixels": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "screenHeightPixels": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "screenScale": {
          "type": [
            "number",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "schemaVersion"
      ],
      "default": null
    },
    "exception": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "message": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "stackTrace": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "innerExceptions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "message": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "stackTrace": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "properties": {
                "$ref": "#/components/schemas/CoreCrashReport/properties/exception/properties/properties",
                "default": null
              },
              "innerExceptions": {
                "$ref": "#/components/schemas/CoreCrashReport/properties/exception/properties/innerExceptions",
                "default": null
              },
              "stackContext": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "modules": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "moduleMvid": {
                          "type": "string"
                        },
                        "architecture": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "pdb": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "kind": {
                              "type": "string"
                            },
                            "guid": {
                              "type": "string"
                            },
                            "stamp": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "kind",
                            "guid",
                            "stamp"
                          ],
                          "default": null
                        }
                      },
                      "required": [
                        "moduleMvid"
                      ]
                    }
                  },
                  "frames": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "moduleIndex": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "methodToken": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        },
                        "ilOffset": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "default": null
                        }
                      }
                    }
                  },
                  "truncated": {
                    "type": "boolean",
                    "default": false
                  }
                },
                "required": [
                  "kind",
                  "modules",
                  "frames"
                ]
              }
            },
            "required": [
              "type"
            ]
          },
          "default": null
        },
        "stackContext": {
          "$ref": "#/components/schemas/CoreCrashReport/properties/exception/properties/innerExceptions/items/properties/stackContext"
        }
      },
      "required": [
        "type"
      ],
      "default": null
    },
    "symbolication": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "availability": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "readRevision": {
          "type": "string"
        },
        "frameCounts": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "total": {
              "type": "integer"
            },
            "matching": {
              "type": "integer"
            },
            "resolved": {
              "type": "integer"
            },
            "ambiguous": {
              "type": "integer"
            }
          },
          "required": [
            "total",
            "matching",
            "resolved",
            "ambiguous"
          ],
          "default": null
        },
        "unavailableStackNodeCount": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "displayTruncated": {
          "type": [
            "boolean",
            "null"
          ],
          "default": null
        },
        "omittedFrameCount": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "omittedNodeCount": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "nodes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "nodeIndex": {
                "type": "integer"
              },
              "path": {
                "type": "string"
              },
              "inputStatus": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "omittedFrameCount": {
                "type": "integer"
              },
              "frames": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "index": {
                      "type": "integer"
                    },
                    "availability": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "function": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "sourceFile": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "sourceLine": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "displayTruncated": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "index",
                    "availability",
                    "status",
                    "reason"
                  ]
                }
              }
            },
            "required": [
              "nodeIndex",
              "path",
              "inputStatus",
              "truncated",
              "omittedFrameCount",
              "frames"
            ]
          },
          "default": null
        },
        "native": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "availability": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "inputStatus": {
              "type": "string"
            },
            "imagesTruncated": {
              "type": "boolean"
            },
            "frameCounts": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "total": {
                  "type": "integer"
                },
                "matching": {
                  "type": "integer"
                },
                "resolved": {
                  "type": "integer"
                },
                "ambiguous": {
                  "type": "integer"
                }
              },
              "required": [
                "total",
                "matching",
                "resolved",
                "ambiguous"
              ],
              "default": null
            },
            "displayTruncated": {
              "type": [
                "boolean",
                "null"
              ],
              "default": null
            },
            "omittedFrameCount": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            },
            "frames": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "index": {
                    "type": "integer"
                  },
                  "address": {
                    "type": "string"
                  },
                  "addressKind": {
                    "type": "string"
                  },
                  "availability": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  },
                  "reason": {
                    "type": "string"
                  },
                  "imageIndex": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "imageFormat": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "imageName": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "imageIdentity": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "architecture": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "coordinateBasis": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "linkTimeAddress": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "function": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "sourceFile": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "sourceLine": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "displayTruncated": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "default": null
                  }
                },
                "required": [
                  "index",
                  "address",
                  "addressKind",
                  "availability",
                  "status",
                  "reason"
                ]
              },
              "default": null
            }
          },
          "required": [
            "availability",
            "status",
            "reason",
            "inputStatus",
            "imagesTruncated"
          ]
        },
        "java": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "availability": {
              "type": "string"
            },
            "status": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "inputStatus": {
              "type": "string"
            },
            "frameCounts": {
              "type": "object",
              "properties": {
                "total": {
                  "type": "integer"
                },
                "matching": {
                  "type": "integer"
                },
                "resolved": {
                  "type": "integer"
                },
                "ambiguous": {
                  "type": "integer"
                }
              },
              "required": [
                "total",
                "matching",
                "resolved",
                "ambiguous"
              ]
            },
            "displayTruncated": {
              "type": "boolean",
              "default": false
            },
            "omittedFrameCount": {
              "type": "integer",
              "default": 0
            },
            "nodes": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "nodeIndex": {
                    "type": "integer"
                  },
                  "path": {
                    "type": "string"
                  },
                  "frames": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "index": {
                          "type": "integer"
                        },
                        "availability": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "mappingHash": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "inlineFrames": {
                          "type": [
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "function": {
                                "type": "string"
                              },
                              "sourceFile": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "sourceLine": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "function",
                              "sourceFile",
                              "sourceLine"
                            ]
                          },
                          "default": null
                        }
                      },
                      "required": [
                        "index",
                        "availability",
                        "status",
                        "reason"
                      ]
                    }
                  }
                },
                "required": [
                  "nodeIndex",
                  "path",
                  "frames"
                ]
              },
              "default": null
            }
          },
          "required": [
            "availability",
            "status",
            "reason",
            "inputStatus",
            "frameCounts"
          ]
        }
      },
      "required": [
        "availability",
        "status",
        "reason",
        "readRevision"
      ],
      "readOnly": true
    },
    "captureAttribution": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "state": {
          "type": "string"
        },
        "evidence": {
          "type": "string"
        },
        "userId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "state",
        "evidence"
      ],
      "readOnly": true
    }
  },
  "required": [
    "crashId",
    "identity",
    "severity",
    "exceptionType",
    "message",
    "stackTrace",
    "wasInForeground",
    "occurredAt"
  ]
}
CoreSanitizedCrashEnvelope
{
  "type": "object",
  "properties": {
    "schemaVersion": {
      "const": 1
    },
    "sanitizationState": {
      "const": "credential-scrubbed-before-storage;credential-scrubbed-on-export"
    },
    "occurrence": {
      "$ref": "#/components/schemas/CoreCrashReport"
    }
  },
  "required": [
    "schemaVersion",
    "sanitizationState",
    "occurrence"
  ]
}
CoreCrashDiagnosticAttachments
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "attachmentRef": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "contentType": {
            "type": "string"
          },
          "sizeBytes": {
            "type": "integer"
          },
          "uploadedAt": {
            "type": "string",
            "format": "date-time"
          },
          "sanitizationState": {
            "type": "string"
          }
        },
        "required": [
          "attachmentRef",
          "fileName",
          "contentType",
          "sizeBytes",
          "uploadedAt",
          "sanitizationState"
        ]
      }
    },
    "totalSizeBytes": {
      "type": "integer"
    }
  },
  "required": [
    "items",
    "totalSizeBytes"
  ]
}
CoreCrashWorkflowRequest
{
  "type": "object",
  "properties": {
    "status": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[nN][eE][wW]|[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[lL][iI][nN][kK][eE][dD]|[rR][eE][sS][oO][lL][vV][eE][dD]|[iI][gG][nN][oO][rR][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD])(?:\\s*,\\s*(?:[nN][eE][wW]|[iI][nN][vV][eE][sS][tT][iI][gG][aA][tT][iI][nN][gG]|[lL][iI][nN][kK][eE][dD]|[rR][eE][sS][oO][lL][vV][eE][dD]|[iI][gG][nN][oO][rR][eE][dD]|[rR][eE][oO][pP][eE][nN][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "New",
        "Investigating",
        "Linked",
        "Resolved",
        "Ignored",
        "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."
    },
    "owner": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "externalIssueUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "externalIssueId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "clearOwner": {
      "type": "boolean",
      "default": false
    }
  }
}
CoreCrashActivity
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "activityId": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "WorkflowUpdated",
        "WorkflowAbandoned",
        "ExternalIssueLinked",
        "NoteAdded"
      ]
    },
    "actor": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "summary": {
      "type": "string"
    },
    "note": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "afterState": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "targetUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "activityId",
    "kind",
    "actor",
    "occurredAt",
    "summary"
  ]
}
CoreCrashNoteRequest
{
  "type": "object",
  "properties": {
    "note": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
CoreIssueConnectionRequestReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "requestId": {
      "type": "string"
    },
    "recipientCount": {
      "type": "integer"
    },
    "requestedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "requestId",
    "recipientCount",
    "requestedAt"
  ]
}
CoreIssueLink
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "target": {
      "type": "string"
    },
    "issueKey": {
      "type": "string"
    },
    "issueUrl": {
      "type": "string"
    },
    "issueId": {
      "type": "string"
    }
  },
  "required": [
    "target",
    "issueKey",
    "issueUrl",
    "issueId"
  ]
}
CoreCreateIssueRequest
{
  "type": "object",
  "properties": {
    "connectionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "target": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "force": {
      "type": "boolean",
      "default": false
    },
    "targetPlatform": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "providerConnectionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
CoreAppDirectoryArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "tenantId": {
        "type": "string"
      },
      "app": {
        "type": "object",
        "properties": {
          "appId": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "appId",
          "name",
          "slug"
        ]
      },
      "environments": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "environmentId": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string"
                }
              }
            },
            "name": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            }
          },
          "required": [
            "environmentId",
            "name",
            "slug"
          ]
        }
      },
      "targets": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "appId": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string"
                }
              }
            },
            "environmentId": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string"
                }
              }
            },
            "platform": {
              "enum": [
                "unattributed",
                "iOS",
                "Android",
                "Windows",
                "MacCatalyst",
                "Web",
                "macOS",
                "watchOS",
                "tvOS",
                "WinUI",
                "Wpf",
                "Linux",
                "iPadOS"
              ]
            },
            "deploymentTarget": {
              "type": "object",
              "properties": {
                "targetId": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "string"
                    }
                  }
                },
                "name": {
                  "type": "string"
                },
                "storeKind": {
                  "type": "string"
                },
                "storeIdentifier": {
                  "type": "string"
                }
              },
              "required": [
                "targetId",
                "name",
                "storeKind",
                "storeIdentifier"
              ]
            }
          },
          "required": [
            "appId",
            "environmentId",
            "platform",
            "deploymentTarget"
          ]
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "tenantId",
      "app",
      "environments",
      "targets",
      "createdAt"
    ]
  }
}
CoreAppDirectoryPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "app": {
            "type": "object",
            "properties": {
              "appId": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string"
                  }
                }
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              }
            },
            "required": [
              "appId",
              "name",
              "slug"
            ]
          },
          "environments": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "environmentId": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "string"
                    }
                  }
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                }
              },
              "required": [
                "environmentId",
                "name",
                "slug"
              ]
            }
          },
          "targets": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "appId": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "string"
                    }
                  }
                },
                "environmentId": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "string"
                    }
                  }
                },
                "platform": {
                  "enum": [
                    "unattributed",
                    "iOS",
                    "Android",
                    "Windows",
                    "MacCatalyst",
                    "Web",
                    "macOS",
                    "watchOS",
                    "tvOS",
                    "WinUI",
                    "Wpf",
                    "Linux",
                    "iPadOS"
                  ]
                },
                "deploymentTarget": {
                  "type": "object",
                  "properties": {
                    "targetId": {
                      "type": "object",
                      "properties": {
                        "value": {
                          "type": "string"
                        }
                      }
                    },
                    "name": {
                      "type": "string"
                    },
                    "storeKind": {
                      "type": "string"
                    },
                    "storeIdentifier": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "targetId",
                    "name",
                    "storeKind",
                    "storeIdentifier"
                  ]
                }
              },
              "required": [
                "appId",
                "environmentId",
                "platform",
                "deploymentTarget"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "tenantId",
          "app",
          "environments",
          "targets",
          "createdAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreApplicationLifecyclePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "paidThrough": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "recoveryDeadline": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "inactivityWarningAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "inactivityDeletionDueAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "deletionStartedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        },
        "required": [
          "appId",
          "name",
          "state",
          "paidThrough",
          "recoveryDeadline",
          "inactivityWarningAt",
          "inactivityDeletionDueAt",
          "deletionStartedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreAppDirectoryResult
{
  "anyOf": [
    {
      "$ref": "#/components/schemas/CoreAppDirectoryArray"
    },
    {
      "$ref": "#/components/schemas/CoreAppDirectoryPage"
    }
  ],
  "description": "Actual query-free legacy array versus explicit query-bearing page. This is not the protected-agent overview projection."
}
CoreAppDirectoryEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "app": {
      "type": "object",
      "properties": {
        "appId": {
          "type": "object",
          "properties": {
            "value": {
              "type": "string"
            }
          }
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        }
      },
      "required": [
        "appId",
        "name",
        "slug"
      ]
    },
    "environments": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "environmentId": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              }
            }
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "required": [
          "environmentId",
          "name",
          "slug"
        ]
      }
    },
    "targets": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              }
            }
          },
          "environmentId": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              }
            }
          },
          "platform": {
            "enum": [
              "unattributed",
              "iOS",
              "Android",
              "Windows",
              "MacCatalyst",
              "Web",
              "macOS",
              "watchOS",
              "tvOS",
              "WinUI",
              "Wpf",
              "Linux",
              "iPadOS"
            ]
          },
          "deploymentTarget": {
            "type": "object",
            "properties": {
              "targetId": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "string"
                  }
                }
              },
              "name": {
                "type": "string"
              },
              "storeKind": {
                "type": "string"
              },
              "storeIdentifier": {
                "type": "string"
              }
            },
            "required": [
              "targetId",
              "name",
              "storeKind",
              "storeIdentifier"
            ]
          }
        },
        "required": [
          "appId",
          "environmentId",
          "platform",
          "deploymentTarget"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "tenantId",
    "app",
    "environments",
    "targets",
    "createdAt"
  ]
}
CoreCreateAppRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "environments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "environmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "eligibility": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "mutationId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "definition": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "purpose": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "trafficBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "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"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "effectiveFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "mutationId",
              "expectedRevision",
              "definition",
              "reason"
            ],
            "default": null
          },
          "audienceExclusions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ruleId": {
                  "type": "string",
                  "format": "uuid"
                },
                "declaration": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "mutationId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "expectedRevision": {
                      "type": [
                        "string",
                        "integer"
                      ],
                      "pattern": "^-?(?:0|[1-9]\\d*)$"
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "selectorKind": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "classification": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "protectedKey": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "comparisonDomainKey": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        }
                      },
                      "required": [
                        "selectorKind",
                        "classification"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "effectiveFromUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "mutationId",
                    "expectedRevision",
                    "definition",
                    "reason"
                  ]
                }
              }
            },
            "default": null
          }
        }
      },
      "default": null
    },
    "targets": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "environmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "platform": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "unattributed",
              "iOS",
              "Android",
              "Windows",
              "MacCatalyst",
              "Web",
              "macOS",
              "watchOS",
              "tvOS",
              "WinUI",
              "Wpf",
              "Linux",
              "iPadOS"
            ],
            "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."
          },
          "targetId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "storeKind": {
            "type": [
              "string",
              "null"
            ]
          },
          "storeIdentifier": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "default": null
    }
  }
}
CoreUpdateAppRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "environments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "environmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "eligibility": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "mutationId": {
                "type": "string",
                "format": "uuid"
              },
              "expectedRevision": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "definition": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "purpose": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "trafficBasis": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "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"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "effectiveFromUtc": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              }
            },
            "required": [
              "mutationId",
              "expectedRevision",
              "definition",
              "reason"
            ],
            "default": null
          },
          "audienceExclusions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "ruleId": {
                  "type": "string",
                  "format": "uuid"
                },
                "declaration": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "mutationId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "expectedRevision": {
                      "type": [
                        "string",
                        "integer"
                      ],
                      "pattern": "^-?(?:0|[1-9]\\d*)$"
                    },
                    "definition": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "selectorKind": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "classification": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "protectedKey": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "comparisonDomainKey": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        }
                      },
                      "required": [
                        "selectorKind",
                        "classification"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "effectiveFromUtc": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time",
                      "default": null
                    }
                  },
                  "required": [
                    "mutationId",
                    "expectedRevision",
                    "definition",
                    "reason"
                  ]
                }
              }
            },
            "default": null
          }
        }
      },
      "default": null
    },
    "targets": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "environmentId": {
            "type": [
              "string",
              "null"
            ]
          },
          "platform": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS])(?:\\s*,\\s*(?:[uU][nN][aA][tT][tT][rR][iI][bB][uU][tT][eE][dD]|[iI][oO][sS]|[aA][nN][dD][rR][oO][iI][dD]|[wW][iI][nN][dD][oO][wW][sS]|[mM][aA][cC][cC][aA][tT][aA][lL][yY][sS][tT]|[wW][eE][bB]|[mM][aA][cC][oO][sS]|[wW][aA][tT][cC][hH][oO][sS]|[tT][vV][oO][sS]|[wW][iI][nN][uU][iI]|[wW][pP][fF]|[lL][iI][nN][uU][xX]|[iI][pP][aA][dD][oO][sS]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "unattributed",
              "iOS",
              "Android",
              "Windows",
              "MacCatalyst",
              "Web",
              "macOS",
              "watchOS",
              "tvOS",
              "WinUI",
              "Wpf",
              "Linux",
              "iPadOS"
            ],
            "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."
          },
          "targetId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "storeKind": {
            "type": [
              "string",
              "null"
            ]
          },
          "storeIdentifier": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "default": null
    }
  }
}
CoreAppLauncherSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "apps": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "appId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "activeUsers": {
            "type": "integer"
          },
          "sessions": {
            "type": "integer"
          },
          "crashFreeSessionsPercent": {
            "type": [
              "number",
              "null"
            ]
          },
          "errors": {
            "type": "integer"
          },
          "hasEverReceivedTelemetry": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "lastTelemetryAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "windowFrom": {
            "type": "string",
            "format": "date-time"
          },
          "windowTo": {
            "type": "string",
            "format": "date-time"
          },
          "usageUnavailable": {
            "type": "boolean"
          },
          "freeInactivityWarning": {
            "type": "boolean",
            "description": "Present when the current workspace administrator can see confirmed Free inactivity for at least 60 days."
          }
        },
        "required": [
          "appId",
          "displayName",
          "activeUsers",
          "sessions",
          "crashFreeSessionsPercent",
          "errors",
          "hasEverReceivedTelemetry",
          "lastTelemetryAt",
          "windowFrom",
          "windowTo"
        ]
      }
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "apps",
    "generatedAt"
  ]
}
CoreEnvironmentDeclarations
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "environmentId": {
            "type": "string"
          },
          "latestRevision": {
            "type": "integer"
          },
          "latest": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "state": {
                "type": "string"
              },
              "revision": {
                "type": "integer"
              },
              "effectiveFromUtc": {
                "type": "string",
                "format": "date-time"
              },
              "declaredAtUtc": {
                "type": "string",
                "format": "date-time"
              },
              "definition": {
                "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"
                ]
              },
              "mutationId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid"
              },
              "payloadHash": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "state",
              "revision",
              "effectiveFromUtc",
              "declaredAtUtc",
              "definition",
              "mutationId",
              "payloadHash"
            ]
          },
          "current": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "state": {
                "type": "string"
              },
              "revision": {
                "type": "integer"
              },
              "effectiveFromUtc": {
                "type": "string",
                "format": "date-time"
              },
              "declaredAtUtc": {
                "type": "string",
                "format": "date-time"
              },
              "definition": {
                "$ref": "#/components/schemas/CoreEnvironmentDeclarations/properties/items/items/properties/latest/properties/definition"
              },
              "mutationId": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "uuid"
              },
              "payloadHash": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "state",
              "revision",
              "effectiveFromUtc",
              "declaredAtUtc",
              "definition",
              "mutationId",
              "payloadHash"
            ]
          }
        },
        "required": [
          "environmentId",
          "latestRevision",
          "latest",
          "current"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ]
    },
    "observedAtUtc": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "items",
    "nextAfter",
    "observedAtUtc"
  ]
}
CoreOfferingDeclarationReceipt
{
  "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"
  ]
}
CoreEnvironmentDeclarationWrite
{
  "type": "object",
  "properties": {
    "mutationId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "purpose": {
          "type": [
            "string",
            "null"
          ]
        },
        "trafficBasis": {
          "type": [
            "string",
            "null"
          ]
        },
        "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"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "effectiveFromUtc": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "mutationId",
    "expectedRevision",
    "definition",
    "reason"
  ]
}
CoreReleaseHealthSummaries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "release": {
        "type": "object",
        "properties": {
          "releaseId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "deploymentTarget": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "string"
          },
          "buildNumber": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Draft",
              "InRollout",
              "Paused",
              "Promoted",
              "Retired",
              "RolledBack"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "promotedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "artifactId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "releaseId",
          "tenantId",
          "appId",
          "environmentName",
          "deploymentTarget",
          "version",
          "buildNumber",
          "state",
          "createdAt",
          "promotedAt",
          "notes",
          "artifactId"
        ]
      },
      "sessions": {
        "type": "integer"
      },
      "activeUsers": {
        "type": "integer"
      },
      "crashFreeSessionsPercent": {
        "type": "number"
      },
      "errorRatePerSession": {
        "type": "number"
      },
      "handledErrorRatePerSession": {
        "type": "number"
      },
      "adoptionPercent": {
        "type": "number"
      },
      "regressionScore": {
        "type": "number"
      },
      "regressionIndicators": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "adoptionSeries": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "bucketStart": {
              "type": "string",
              "format": "date-time"
            },
            "value": {
              "type": "number"
            }
          },
          "required": [
            "bucketStart",
            "value"
          ]
        }
      }
    },
    "required": [
      "release",
      "sessions",
      "activeUsers",
      "crashFreeSessionsPercent",
      "errorRatePerSession",
      "handledErrorRatePerSession",
      "adoptionPercent",
      "regressionScore",
      "regressionIndicators",
      "adoptionSeries"
    ]
  }
}
CoreReleaseArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "releaseId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "deploymentTarget": {
        "type": [
          "string",
          "null"
        ]
      },
      "version": {
        "type": "string"
      },
      "buildNumber": {
        "type": "string"
      },
      "state": {
        "enum": [
          "Draft",
          "InRollout",
          "Paused",
          "Promoted",
          "Retired",
          "RolledBack"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "promotedAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "notes": {
        "type": [
          "string",
          "null"
        ]
      },
      "artifactId": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "releaseId",
      "tenantId",
      "appId",
      "environmentName",
      "deploymentTarget",
      "version",
      "buildNumber",
      "state",
      "createdAt",
      "promotedAt",
      "notes",
      "artifactId"
    ]
  }
}
CoreReleasePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "releaseId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "deploymentTarget": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "string"
          },
          "buildNumber": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Draft",
              "InRollout",
              "Paused",
              "Promoted",
              "Retired",
              "RolledBack"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "promotedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "notes": {
            "type": [
              "string",
              "null"
            ]
          },
          "artifactId": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "releaseId",
          "tenantId",
          "appId",
          "environmentName",
          "deploymentTarget",
          "version",
          "buildNumber",
          "state",
          "createdAt",
          "promotedAt",
          "notes",
          "artifactId"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreCreateReleaseRequest
{
  "type": "object",
  "properties": {
    "environmentName": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "buildNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "artifactId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
CoreReleaseRecord
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "releaseId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": "string"
    },
    "buildNumber": {
      "type": "string"
    },
    "state": {
      "enum": [
        "Draft",
        "InRollout",
        "Paused",
        "Promoted",
        "Retired",
        "RolledBack"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "promotedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "artifactId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "releaseId",
    "tenantId",
    "appId",
    "environmentName",
    "deploymentTarget",
    "version",
    "buildNumber",
    "state",
    "createdAt",
    "promotedAt",
    "notes",
    "artifactId"
  ]
}
CoreUpdateReleaseNotesRequest
{
  "type": "object",
  "properties": {
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedNotes": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
CoreReleaseTransitionRequest
{
  "type": "object",
  "properties": {
    "toState": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[dD][rR][aA][fF][tT]|[iI][nN][rR][oO][lL][lL][oO][uU][tT]|[pP][aA][uU][sS][eE][dD]|[pP][rR][oO][mM][oO][tT][eE][dD]|[rR][eE][tT][iI][rR][eE][dD]|[rR][oO][lL][lL][eE][dD][bB][aA][cC][kK])(?:\\s*,\\s*(?:[dD][rR][aA][fF][tT]|[iI][nN][rR][oO][lL][lL][oO][uU][tT]|[pP][aA][uU][sS][eE][dD]|[pP][rR][oO][mM][oO][tT][eE][dD]|[rR][eE][tT][iI][rR][eE][dD]|[rR][oO][lL][lL][eE][dD][bB][aA][cC][kK]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Draft",
        "InRollout",
        "Paused",
        "Promoted",
        "Retired",
        "RolledBack"
      ],
      "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"
      ],
      "default": null
    }
  }
}
CoreReportingDatasetPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "dataset": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "denominator": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "percentage": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "key",
          "value",
          "unit",
          "definition"
        ]
      }
    },
    "totalRows": {
      "type": "integer"
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "schemaVersion",
    "dataset",
    "appId",
    "environment",
    "from",
    "to",
    "observedAt",
    "rows",
    "totalRows",
    "nextCursor"
  ]
}
CoreBiLegacyCatalog
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "measures": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "supportsGrouping": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "name",
          "unit",
          "definition",
          "supportsGrouping"
        ]
      }
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "name"
        ]
      }
    },
    "maximumRangeDays": {
      "type": "integer"
    },
    "maximumGroups": {
      "type": "integer"
    },
    "comparison": {
      "type": "string"
    },
    "defaultDashboard": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": "integer"
        },
        "rangeDays": {
          "type": "integer"
        },
        "widgets": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "widgetId": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "properties": {
                  "measure": {
                    "type": "string"
                  },
                  "dimension": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "comparePrevious": {
                    "type": "boolean",
                    "default": false
                  },
                  "limit": {
                    "type": "integer",
                    "default": 10
                  },
                  "filters": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyValue": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false
                  },
                  "cohort": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "periodDays": {
                        "type": "integer",
                        "default": 1
                      },
                      "maximumPeriods": {
                        "type": "integer",
                        "default": 14
                      }
                    },
                    "additionalProperties": false
                  },
                  "series": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "bucketMinutes": {
                        "type": "integer",
                        "default": 60
                      }
                    },
                    "additionalProperties": false
                  },
                  "funnel": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "eventType": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "eventType",
                            "name"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "conversionWindowHours": {
                        "type": "integer",
                        "default": 24
                      }
                    },
                    "required": [
                      "steps"
                    ],
                    "additionalProperties": false
                  },
                  "geography": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "measure"
                ],
                "additionalProperties": false
              },
              "visualization": {
                "type": "string",
                "default": "kpi"
              },
              "columnSpan": {
                "type": "integer",
                "default": 1
              }
            },
            "required": [
              "widgetId",
              "title",
              "query"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "schemaVersion",
        "rangeDays",
        "widgets"
      ],
      "additionalProperties": false
    },
    "templates": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "templateId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "definition": {
            "type": "object",
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "rangeDays": {
                "type": "integer"
              },
              "widgets": {
                "$ref": "#/components/schemas/CoreBiLegacyCatalog/properties/defaultDashboard/properties/widgets"
              }
            },
            "required": [
              "schemaVersion",
              "rangeDays",
              "widgets"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "templateId",
          "name",
          "description",
          "definition"
        ]
      }
    }
  },
  "required": [
    "schemaVersion",
    "measures",
    "dimensions",
    "maximumRangeDays",
    "maximumGroups",
    "comparison"
  ]
}
CoreBiStructuredCatalog
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "measures": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "supportsGrouping": {
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "name",
          "unit",
          "definition",
          "supportsGrouping"
        ]
      }
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "name"
        ]
      }
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "measure": {
            "type": "string"
          },
          "dimensions": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "filters": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "supportsPrevious": {
            "type": "boolean"
          },
          "supportsCohort": {
            "type": "boolean"
          },
          "supportsSeries": {
            "type": "boolean",
            "default": false
          },
          "supportsFunnel": {
            "type": "boolean",
            "default": false
          },
          "supportsGeography": {
            "type": "boolean",
            "default": false
          }
        },
        "required": [
          "measure",
          "dimensions",
          "filters",
          "supportsPrevious",
          "supportsCohort"
        ]
      }
    },
    "maximumRangeDays": {
      "type": "integer"
    },
    "maximumGroups": {
      "type": "integer"
    },
    "maximumCohortPeriods": {
      "type": "integer"
    }
  },
  "required": [
    "schemaVersion",
    "measures",
    "dimensions",
    "capabilities",
    "maximumRangeDays",
    "maximumGroups",
    "maximumCohortPeriods"
  ]
}
CoreBiCatalog
{
  "anyOf": [
    {
      "$ref": "#/components/schemas/CoreBiLegacyCatalog"
    },
    {
      "$ref": "#/components/schemas/CoreBiStructuredCatalog"
    }
  ],
  "description": "model=structured selects actual structured query capability catalog; other requests retain actual product legacy catalog, including product templates. Never substitute the intentionally narrower MCP catalog."
}
CoreBiQueryResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "measure": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "definition": {
      "type": "string"
    },
    "dimension": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "current": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "rows": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "value": {
                "type": "number"
              },
              "denominator": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "percentage": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "key",
              "value"
            ]
          }
        },
        "populationSessions": {
          "type": "integer"
        },
        "distinctValues": {
          "type": [
            "integer",
            "null"
          ]
        },
        "omittedSessions": {
          "type": "integer"
        },
        "isTruncated": {
          "type": "boolean"
        }
      },
      "required": [
        "from",
        "to",
        "rows",
        "populationSessions",
        "distinctValues",
        "omittedSessions",
        "isTruncated"
      ]
    },
    "previous": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "rows": {
          "$ref": "#/components/schemas/CoreBiQueryResult/properties/current/properties/rows"
        },
        "populationSessions": {
          "type": "integer"
        },
        "distinctValues": {
          "type": [
            "integer",
            "null"
          ]
        },
        "omittedSessions": {
          "type": "integer"
        },
        "isTruncated": {
          "type": "boolean"
        }
      },
      "required": [
        "from",
        "to",
        "rows",
        "populationSessions",
        "distinctValues",
        "omittedSessions",
        "isTruncated"
      ]
    }
  },
  "required": [
    "schemaVersion",
    "appId",
    "environment",
    "measure",
    "unit",
    "definition",
    "dimension",
    "version",
    "observedAt",
    "current",
    "previous"
  ]
}
CoreBiStructuredQueryRequest
{
  "type": "object",
  "properties": {
    "query": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "measure": {
          "type": [
            "string",
            "null"
          ]
        },
        "dimension": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "comparePrevious": {
          "type": "boolean",
          "default": false
        },
        "limit": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": 10,
          "minimum": 1,
          "maximum": 20,
          "description": "Bounds the generic row projection. Independently bounded typed payloads can retain more observations; a row-table limit is not the full series/funnel/geography population."
        },
        "filters": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "buildNumber": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "eventType": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "eventName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "propertyName": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "propertyValue": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "buildId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "groupId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "additionalProperties": false,
          "patternProperties": {
            "^[bB][uU][iI][lL][dD][nN][uU][mM][bB][eE][rR]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/buildNumber"
            },
            "^[eE][vV][eE][nN][tT][tT][yY][pP][eE]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/eventType"
            },
            "^[eE][vV][eE][nN][tT][nN][aA][mM][eE]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/eventName"
            },
            "^[pP][rR][oO][pP][eE][rR][tT][yY][nN][aA][mM][eE]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/propertyName"
            },
            "^[pP][rR][oO][pP][eE][rR][tT][yY][vV][aA][lL][uU][eE]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/propertyValue"
            },
            "^[bB][uU][iI][lL][dD][iI][dD]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/buildId"
            },
            "^[gG][rR][oO][uU][pP][iI][dD]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters/properties/groupId"
            }
          }
        },
        "cohort": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "periodDays": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 1
            },
            "maximumPeriods": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 14
            }
          },
          "additionalProperties": false,
          "patternProperties": {
            "^[pP][eE][rR][iI][oO][dD][dD][aA][yY][sS]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/cohort/properties/periodDays"
            },
            "^[mM][aA][xX][iI][mM][uU][mM][pP][eE][rR][iI][oO][dD][sS]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/cohort/properties/maximumPeriods"
            }
          }
        },
        "series": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "bucketMinutes": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 60,
              "x-appportal-decoded-integer-enum": [
                5,
                15,
                60,
                1440
              ]
            }
          },
          "additionalProperties": false,
          "patternProperties": {
            "^[bB][uU][cC][kK][eE][tT][mM][iI][nN][uU][tT][eE][sS]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/series/properties/bucketMinutes"
            }
          }
        },
        "funnel": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "steps": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "eventType": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": false,
                "patternProperties": {
                  "^[eE][vV][eE][nN][tT][tT][yY][pP][eE]$": {
                    "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/funnel/properties/steps/items/properties/eventType"
                  },
                  "^[nN][aA][mM][eE]$": {
                    "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/funnel/properties/steps/items/properties/name"
                  }
                }
              },
              "minItems": 2,
              "maxItems": 8,
              "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
            },
            "conversionWindowHours": {
              "type": [
                "string",
                "integer"
              ],
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "default": 24,
              "minimum": 1,
              "maximum": 720
            }
          },
          "additionalProperties": false,
          "patternProperties": {
            "^[sS][tT][eE][pP][sS]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/funnel/properties/steps"
            },
            "^[cC][oO][nN][vV][eE][rR][sS][iI][oO][nN][wW][iI][nN][dD][oO][wW][hH][oO][uU][rR][sS]$": {
              "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/funnel/properties/conversionWindowHours"
            }
          }
        },
        "geography": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": false
        }
      },
      "additionalProperties": false,
      "patternProperties": {
        "^[mM][eE][aA][sS][uU][rR][eE]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/measure"
        },
        "^[dD][iI][mM][eE][nN][sS][iI][oO][nN]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/dimension"
        },
        "^[vV][eE][rR][sS][iI][oO][nN]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/version"
        },
        "^[cC][oO][mM][pP][aA][rR][eE][pP][rR][eE][vV][iI][oO][uU][sS]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/comparePrevious"
        },
        "^[lL][iI][mM][iI][tT]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/limit"
        },
        "^[fF][iI][lL][tT][eE][rR][sS]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/filters"
        },
        "^[cC][oO][hH][oO][rR][tT]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/cohort"
        },
        "^[sS][eE][rR][iI][eE][sS]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/series"
        },
        "^[fF][uU][nN][nN][eE][lL]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/funnel"
        },
        "^[gG][eE][oO][gG][rR][aA][pP][hH][yY]$": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query/properties/geography"
        }
      }
    },
    "from": {
      "type": [
        "string",
        "null"
      ]
    },
    "to": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[qQ][uU][eE][rR][yY]$": {
      "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/query"
    },
    "^[fF][rR][oO][mM]$": {
      "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/from"
    },
    "^[tT][oO]$": {
      "$ref": "#/components/schemas/CoreBiStructuredQueryRequest/properties/to"
    }
  }
}
CoreBiStructuredQueryResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "measure": {
      "type": "string"
    },
    "unit": {
      "type": "string"
    },
    "definition": {
      "type": "string"
    },
    "dimension": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "observedAt": {
      "type": "string",
      "format": "date-time"
    },
    "current": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "rows": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "denominator": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "percentage": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "availability": {
                "type": "string",
                "default": "available"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "key",
              "value"
            ]
          },
          "maxItems": 20,
          "description": "Generic row projection bounded by the requested limit. isTruncated/omittedCount describe this projection; series, funnel or geography carries its separately bounded typed observations. Null populations/denominators are unknown, not zero."
        },
        "populationCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "populationUnit": {
          "type": [
            "string",
            "null"
          ]
        },
        "distinctValues": {
          "type": [
            "integer",
            "null"
          ]
        },
        "omittedCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "isTruncated": {
          "type": "boolean"
        },
        "availability": {
          "type": "string",
          "default": "available"
        },
        "unavailableReason": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "retention": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "metricKey": {
              "type": "string"
            },
            "periodUnit": {
              "type": "string"
            },
            "periodDays": {
              "type": "integer"
            },
            "unavailableReason": {
              "type": [
                "string",
                "null"
              ]
            },
            "cohorts": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "cohortStart": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "cohortUsers": {
                    "type": "integer"
                  },
                  "cells": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "periodIndex": {
                          "type": "integer"
                        },
                        "retainedUsers": {
                          "type": "integer"
                        },
                        "retentionPercent": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "periodIndex",
                        "retainedUsers",
                        "retentionPercent"
                      ]
                    }
                  }
                },
                "required": [
                  "cohortStart",
                  "cohortUsers",
                  "cells"
                ]
              }
            }
          },
          "required": [
            "metricKey",
            "periodUnit",
            "periodDays",
            "unavailableReason",
            "cohorts"
          ],
          "default": null
        },
        "series": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "bucketMinutes": {
              "type": "integer",
              "enum": [
                5,
                15,
                60,
                1440
              ]
            },
            "points": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "bucketStart": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "value": {
                    "type": "number"
                  }
                },
                "required": [
                  "bucketStart",
                  "value"
                ]
              },
              "maxItems": 512,
              "description": "Ordered UTC bucket starts. Missing buckets remain missing; no interpolation or invented zeros. The actual half-open window may intersect at most 512 aligned buckets, including partial boundary buckets."
            }
          },
          "required": [
            "bucketMinutes",
            "points"
          ],
          "default": null
        },
        "funnel": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "usersMetricKey": {
              "type": "string"
            },
            "conversionMetricKey": {
              "type": "string"
            },
            "dropOffMetricKey": {
              "type": "string"
            },
            "conversionWindowHours": {
              "type": "integer",
              "minimum": 1,
              "maximum": 720
            },
            "unavailableReason": {
              "type": [
                "string",
                "null"
              ]
            },
            "steps": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "eventKey": {
                    "type": "string"
                  },
                  "eventType": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "users": {
                    "type": "integer"
                  },
                  "dropOffUsers": {
                    "type": "integer"
                  },
                  "conversionFromPreviousPercent": {
                    "type": "number"
                  },
                  "conversionFromFirstPercent": {
                    "type": "number"
                  }
                },
                "required": [
                  "eventKey",
                  "eventType",
                  "name",
                  "users",
                  "dropOffUsers",
                  "conversionFromPreviousPercent",
                  "conversionFromFirstPercent"
                ]
              },
              "minItems": 2,
              "maxItems": 8,
              "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
            }
          },
          "required": [
            "usersMetricKey",
            "conversionMetricKey",
            "dropOffMetricKey",
            "conversionWindowHours",
            "unavailableReason",
            "steps"
          ],
          "default": null
        },
        "geography": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "from": {
              "type": "string",
              "format": "date-time"
            },
            "to": {
              "type": "string",
              "format": "date-time"
            },
            "previousFrom": {
              "type": "string",
              "format": "date-time"
            },
            "previousTo": {
              "type": "string",
              "format": "date-time"
            },
            "totalSessions": {
              "type": "integer"
            },
            "locatedSessions": {
              "type": "integer"
            },
            "unknownSessions": {
              "type": "integer"
            },
            "suppressedCitySessions": {
              "type": "integer"
            },
            "minimumCitySessions": {
              "type": "integer"
            },
            "hasAnySessionsInScope": {
              "type": "boolean"
            },
            "countries": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "countryCode": {
                    "type": "string"
                  },
                  "region": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "sessions": {
                    "type": "integer"
                  },
                  "previousSessions": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "sharePercent": {
                    "type": "number"
                  },
                  "changePercent": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "required": [
                  "countryCode",
                  "region",
                  "city",
                  "sessions",
                  "previousSessions",
                  "sharePercent",
                  "changePercent"
                ]
              },
              "maxItems": 300
            },
            "cities": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/CoreBiStructuredQueryResult/properties/current/properties/geography/properties/countries/items"
              },
              "maxItems": 12
            }
          },
          "required": [
            "from",
            "to",
            "previousFrom",
            "previousTo",
            "totalSessions",
            "locatedSessions",
            "unknownSessions",
            "suppressedCitySessions",
            "minimumCitySessions",
            "hasAnySessionsInScope",
            "countries",
            "cities"
          ],
          "default": null,
          "description": "Coarse session geography with explicit total, located and unknown populations. Typed country/city payload bounds are independent of the generic row limit; no personal coordinates or location inference is added."
        }
      },
      "required": [
        "from",
        "to",
        "rows",
        "populationCount",
        "populationUnit",
        "distinctValues",
        "omittedCount",
        "isTruncated"
      ]
    },
    "previous": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "from": {
          "type": "string",
          "format": "date-time"
        },
        "to": {
          "type": "string",
          "format": "date-time"
        },
        "rows": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryResult/properties/current/properties/rows",
          "maxItems": 20,
          "description": "Generic row projection bounded by the requested limit. isTruncated/omittedCount describe this projection; series, funnel or geography carries its separately bounded typed observations. Null populations/denominators are unknown, not zero."
        },
        "populationCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "populationUnit": {
          "type": [
            "string",
            "null"
          ]
        },
        "distinctValues": {
          "type": [
            "integer",
            "null"
          ]
        },
        "omittedCount": {
          "type": [
            "integer",
            "null"
          ]
        },
        "isTruncated": {
          "type": "boolean"
        },
        "availability": {
          "type": "string",
          "default": "available"
        },
        "unavailableReason": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "retention": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryResult/properties/current/properties/retention",
          "default": null
        },
        "series": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryResult/properties/current/properties/series",
          "default": null
        },
        "funnel": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryResult/properties/current/properties/funnel",
          "default": null
        },
        "geography": {
          "$ref": "#/components/schemas/CoreBiStructuredQueryResult/properties/current/properties/geography",
          "default": null
        }
      },
      "required": [
        "from",
        "to",
        "rows",
        "populationCount",
        "populationUnit",
        "distinctValues",
        "omittedCount",
        "isTruncated"
      ]
    }
  },
  "required": [
    "schemaVersion",
    "appId",
    "environment",
    "measure",
    "unit",
    "definition",
    "dimension",
    "version",
    "observedAt",
    "current",
    "previous"
  ]
}
CoreBiDashboardPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "dashboardId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "definition": {
            "type": "object",
            "properties": {
              "schemaVersion": {
                "type": "integer",
                "enum": [
                  1,
                  2
                ]
              },
              "rangeDays": {
                "type": "integer"
              },
              "widgets": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "widgetId": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "query": {
                      "type": "object",
                      "properties": {
                        "measure": {
                          "type": "string"
                        },
                        "dimension": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "version": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "comparePrevious": {
                          "type": "boolean",
                          "default": false
                        },
                        "limit": {
                          "type": "integer",
                          "default": 10,
                          "minimum": 1,
                          "maximum": 20,
                          "description": "Bounds the generic row projection. Independently bounded typed payloads can retain more observations; a row-table limit is not the full series/funnel/geography population."
                        },
                        "filters": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "buildNumber": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "eventType": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "eventName": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "propertyName": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "propertyValue": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "buildId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "groupId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            }
                          },
                          "additionalProperties": false
                        },
                        "cohort": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "periodDays": {
                              "type": "integer",
                              "default": 1
                            },
                            "maximumPeriods": {
                              "type": "integer",
                              "default": 14
                            }
                          },
                          "additionalProperties": false
                        },
                        "series": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "bucketMinutes": {
                              "type": "integer",
                              "default": 60,
                              "enum": [
                                5,
                                15,
                                60,
                                1440
                              ]
                            }
                          },
                          "additionalProperties": false
                        },
                        "funnel": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "steps": {
                              "type": "array",
                              "items": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "eventType": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "eventType",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              "minItems": 2,
                              "maxItems": 8,
                              "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
                            },
                            "conversionWindowHours": {
                              "type": "integer",
                              "default": 24,
                              "minimum": 1,
                              "maximum": 720
                            }
                          },
                          "required": [
                            "steps"
                          ],
                          "additionalProperties": false
                        },
                        "geography": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "measure"
                      ],
                      "additionalProperties": false
                    },
                    "visualization": {
                      "type": "string",
                      "default": "kpi",
                      "enum": [
                        "kpi",
                        "table",
                        "bar",
                        "cohort",
                        "heatmap",
                        "stacked",
                        "time-series",
                        "funnel",
                        "geo"
                      ],
                      "description": "Choose a visualization compatible with the stored query shape. Stacks require disjoint additive counts; distinct users/sessions, ratios and percentiles cannot be stacked."
                    },
                    "columnSpan": {
                      "type": "integer",
                      "default": 1
                    }
                  },
                  "required": [
                    "widgetId",
                    "title",
                    "query"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schemaVersion",
              "rangeDays",
              "widgets"
            ],
            "additionalProperties": false
          },
          "version": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "dashboardId",
          "appId",
          "name",
          "definition",
          "version",
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreBiDashboardResource
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dashboardId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "definition": {
      "type": "object",
      "properties": {
        "schemaVersion": {
          "type": "integer",
          "enum": [
            1,
            2
          ]
        },
        "rangeDays": {
          "type": "integer"
        },
        "widgets": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "widgetId": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "properties": {
                  "measure": {
                    "type": "string"
                  },
                  "dimension": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "comparePrevious": {
                    "type": "boolean",
                    "default": false
                  },
                  "limit": {
                    "type": "integer",
                    "default": 10,
                    "minimum": 1,
                    "maximum": 20,
                    "description": "Bounds the generic row projection. Independently bounded typed payloads can retain more observations; a row-table limit is not the full series/funnel/geography population."
                  },
                  "filters": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyValue": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false
                  },
                  "cohort": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "periodDays": {
                        "type": "integer",
                        "default": 1
                      },
                      "maximumPeriods": {
                        "type": "integer",
                        "default": 14
                      }
                    },
                    "additionalProperties": false
                  },
                  "series": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "bucketMinutes": {
                        "type": "integer",
                        "default": 60,
                        "enum": [
                          5,
                          15,
                          60,
                          1440
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "funnel": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "eventType": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "eventType",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "minItems": 2,
                        "maxItems": 8,
                        "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
                      },
                      "conversionWindowHours": {
                        "type": "integer",
                        "default": 24,
                        "minimum": 1,
                        "maximum": 720
                      }
                    },
                    "required": [
                      "steps"
                    ],
                    "additionalProperties": false
                  },
                  "geography": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "measure"
                ],
                "additionalProperties": false
              },
              "visualization": {
                "type": "string",
                "default": "kpi",
                "enum": [
                  "kpi",
                  "table",
                  "bar",
                  "cohort",
                  "heatmap",
                  "stacked",
                  "time-series",
                  "funnel",
                  "geo"
                ],
                "description": "Choose a visualization compatible with the stored query shape. Stacks require disjoint additive counts; distinct users/sessions, ratios and percentiles cannot be stacked."
              },
              "columnSpan": {
                "type": "integer",
                "default": 1
              }
            },
            "required": [
              "widgetId",
              "title",
              "query"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "schemaVersion",
        "rangeDays",
        "widgets"
      ],
      "additionalProperties": false
    },
    "version": {
      "type": "string"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "dashboardId",
    "appId",
    "name",
    "definition",
    "version",
    "createdAt",
    "updatedAt"
  ]
}
CoreBiDashboardRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "x-appportal-decoded-integer-enum": [
            1,
            2
          ]
        },
        "rangeDays": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "widgets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "widgetId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "measure": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dimension": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "comparePrevious": {
                    "type": "boolean",
                    "default": false
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 10,
                    "minimum": 1,
                    "maximum": 20,
                    "description": "Bounds the generic row projection. Independently bounded typed payloads can retain more observations; a row-table limit is not the full series/funnel/geography population."
                  },
                  "filters": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyValue": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false,
                    "patternProperties": {
                      "^[bB][uU][iI][lL][dD][nN][uU][mM][bB][eE][rR]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/buildNumber"
                      },
                      "^[eE][vV][eE][nN][tT][tT][yY][pP][eE]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/eventType"
                      },
                      "^[eE][vV][eE][nN][tT][nN][aA][mM][eE]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/eventName"
                      },
                      "^[pP][rR][oO][pP][eE][rR][tT][yY][nN][aA][mM][eE]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/propertyName"
                      },
                      "^[pP][rR][oO][pP][eE][rR][tT][yY][vV][aA][lL][uU][eE]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/propertyValue"
                      },
                      "^[bB][uU][iI][lL][dD][iI][dD]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/buildId"
                      },
                      "^[gG][rR][oO][uU][pP][iI][dD]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters/properties/groupId"
                      }
                    }
                  },
                  "cohort": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "periodDays": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 1
                      },
                      "maximumPeriods": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 14
                      }
                    },
                    "additionalProperties": false,
                    "patternProperties": {
                      "^[pP][eE][rR][iI][oO][dD][dD][aA][yY][sS]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/cohort/properties/periodDays"
                      },
                      "^[mM][aA][xX][iI][mM][uU][mM][pP][eE][rR][iI][oO][dD][sS]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/cohort/properties/maximumPeriods"
                      }
                    }
                  },
                  "series": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "bucketMinutes": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 60,
                        "x-appportal-decoded-integer-enum": [
                          5,
                          15,
                          60,
                          1440
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "patternProperties": {
                      "^[bB][uU][cC][kK][eE][tT][mM][iI][nN][uU][tT][eE][sS]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/series/properties/bucketMinutes"
                      }
                    }
                  },
                  "funnel": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "steps": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "eventType": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": false,
                          "patternProperties": {
                            "^[eE][vV][eE][nN][tT][tT][yY][pP][eE]$": {
                              "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/funnel/properties/steps/items/properties/eventType"
                            },
                            "^[nN][aA][mM][eE]$": {
                              "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/funnel/properties/steps/items/properties/name"
                            }
                          }
                        },
                        "minItems": 2,
                        "maxItems": 8,
                        "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
                      },
                      "conversionWindowHours": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 24,
                        "minimum": 1,
                        "maximum": 720
                      }
                    },
                    "additionalProperties": false,
                    "patternProperties": {
                      "^[sS][tT][eE][pP][sS]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/funnel/properties/steps"
                      },
                      "^[cC][oO][nN][vV][eE][rR][sS][iI][oO][nN][wW][iI][nN][dD][oO][wW][hH][oO][uU][rR][sS]$": {
                        "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/funnel/properties/conversionWindowHours"
                      }
                    }
                  },
                  "geography": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false,
                "patternProperties": {
                  "^[mM][eE][aA][sS][uU][rR][eE]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/measure"
                  },
                  "^[dD][iI][mM][eE][nN][sS][iI][oO][nN]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/dimension"
                  },
                  "^[vV][eE][rR][sS][iI][oO][nN]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/version"
                  },
                  "^[cC][oO][mM][pP][aA][rR][eE][pP][rR][eE][vV][iI][oO][uU][sS]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/comparePrevious"
                  },
                  "^[lL][iI][mM][iI][tT]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/limit"
                  },
                  "^[fF][iI][lL][tT][eE][rR][sS]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/filters"
                  },
                  "^[cC][oO][hH][oO][rR][tT]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/cohort"
                  },
                  "^[sS][eE][rR][iI][eE][sS]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/series"
                  },
                  "^[fF][uU][nN][nN][eE][lL]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/funnel"
                  },
                  "^[gG][eE][oO][gG][rR][aA][pP][hH][yY]$": {
                    "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query/properties/geography"
                  }
                }
              },
              "visualization": {
                "type": [
                  "string",
                  "null"
                ],
                "default": "kpi",
                "enum": [
                  "kpi",
                  "table",
                  "bar",
                  "cohort",
                  "heatmap",
                  "stacked",
                  "time-series",
                  "funnel",
                  "geo"
                ],
                "description": "Choose a visualization compatible with the stored query shape. Stacks require disjoint additive counts; distinct users/sessions, ratios and percentiles cannot be stacked."
              },
              "columnSpan": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$",
                "default": 1
              }
            },
            "additionalProperties": false,
            "patternProperties": {
              "^[wW][iI][dD][gG][eE][tT][iI][dD]$": {
                "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/widgetId"
              },
              "^[tT][iI][tT][lL][eE]$": {
                "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/title"
              },
              "^[qQ][uU][eE][rR][yY]$": {
                "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/query"
              },
              "^[vV][iI][sS][uU][aA][lL][iI][zZ][aA][tT][iI][oO][nN]$": {
                "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/visualization"
              },
              "^[cC][oO][lL][uU][mM][nN][sS][pP][aA][nN]$": {
                "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets/items/properties/columnSpan"
              }
            }
          }
        }
      },
      "additionalProperties": false,
      "patternProperties": {
        "^[sS][cC][hH][eE][mM][aA][vV][eE][rR][sS][iI][oO][nN]$": {
          "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/schemaVersion"
        },
        "^[rR][aA][nN][gG][eE][dD][aA][yY][sS]$": {
          "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/rangeDays"
        },
        "^[wW][iI][dD][gG][eE][tT][sS]$": {
          "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition/properties/widgets"
        }
      }
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[nN][aA][mM][eE]$": {
      "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/name"
    },
    "^[dD][eE][fF][iI][nN][iI][tT][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreBiDashboardRequest/properties/definition"
    }
  }
}
CoreBiSavedWidgetQueryRequest
{
  "type": "object",
  "properties": {
    "from": {
      "type": [
        "string",
        "null"
      ]
    },
    "to": {
      "type": [
        "string",
        "null"
      ]
    },
    "dashboardVersion": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[fF][rR][oO][mM]$": {
      "$ref": "#/components/schemas/CoreBiSavedWidgetQueryRequest/properties/from"
    },
    "^[tT][oO]$": {
      "$ref": "#/components/schemas/CoreBiSavedWidgetQueryRequest/properties/to"
    },
    "^[dD][aA][sS][hH][bB][oO][aA][rR][dD][vV][eE][rR][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreBiSavedWidgetQueryRequest/properties/dashboardVersion"
    }
  }
}
CoreBiEmbedBootstrap
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "entryVersion": {
      "type": "integer"
    },
    "dashboardId": {
      "type": "string"
    },
    "revision": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "platform": {
      "type": [
        "string",
        "null"
      ]
    },
    "deploymentTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "sessionVersion": {
      "type": "string"
    }
  },
  "required": [
    "entryVersion",
    "dashboardId",
    "revision",
    "appId",
    "environment",
    "platform",
    "deploymentTarget",
    "sessionVersion"
  ]
}
CoreBiEmbedState
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "selection": {
      "type": "object",
      "properties": {
        "entryVersion": {
          "type": "integer"
        },
        "dashboardId": {
          "type": "string"
        },
        "revision": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "environment": {
          "type": "string"
        },
        "platform": {
          "type": [
            "string",
            "null"
          ]
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ]
        },
        "sessionVersion": {
          "type": "string"
        }
      },
      "required": [
        "entryVersion",
        "dashboardId",
        "revision",
        "appId",
        "environment",
        "platform",
        "deploymentTarget",
        "sessionVersion"
      ]
    },
    "dashboard": {
      "type": "object",
      "properties": {
        "dashboardId": {
          "type": "string"
        },
        "appId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "definition": {
          "type": "object",
          "properties": {
            "schemaVersion": {
              "type": "integer",
              "enum": [
                1,
                2
              ]
            },
            "rangeDays": {
              "type": "integer"
            },
            "widgets": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "widgetId": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "query": {
                    "type": "object",
                    "properties": {
                      "measure": {
                        "type": "string"
                      },
                      "dimension": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "version": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "comparePrevious": {
                        "type": "boolean",
                        "default": false
                      },
                      "limit": {
                        "type": "integer",
                        "default": 10,
                        "minimum": 1,
                        "maximum": 20,
                        "description": "Bounds the generic row projection. Independently bounded typed payloads can retain more observations; a row-table limit is not the full series/funnel/geography population."
                      },
                      "filters": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "buildNumber": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventType": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyValue": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "buildId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "groupId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "additionalProperties": false
                      },
                      "cohort": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "periodDays": {
                            "type": "integer",
                            "default": 1
                          },
                          "maximumPeriods": {
                            "type": "integer",
                            "default": 14
                          }
                        },
                        "additionalProperties": false
                      },
                      "series": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "bucketMinutes": {
                            "type": "integer",
                            "default": 60,
                            "enum": [
                              5,
                              15,
                              60,
                              1440
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      "funnel": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "steps": {
                            "type": "array",
                            "items": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "eventType": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "eventType",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "minItems": 2,
                            "maxItems": 8,
                            "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
                          },
                          "conversionWindowHours": {
                            "type": "integer",
                            "default": 24,
                            "minimum": 1,
                            "maximum": 720
                          }
                        },
                        "required": [
                          "steps"
                        ],
                        "additionalProperties": false
                      },
                      "geography": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "measure"
                    ],
                    "additionalProperties": false
                  },
                  "visualization": {
                    "type": "string",
                    "default": "kpi",
                    "enum": [
                      "kpi",
                      "table",
                      "bar",
                      "cohort",
                      "heatmap",
                      "stacked",
                      "time-series",
                      "funnel",
                      "geo"
                    ],
                    "description": "Choose a visualization compatible with the stored query shape. Stacks require disjoint additive counts; distinct users/sessions, ratios and percentiles cannot be stacked."
                  },
                  "columnSpan": {
                    "type": "integer",
                    "default": 1
                  }
                },
                "required": [
                  "widgetId",
                  "title",
                  "query"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "schemaVersion",
            "rangeDays",
            "widgets"
          ],
          "additionalProperties": false
        },
        "version": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "dashboardId",
        "appId",
        "name",
        "definition",
        "version",
        "createdAt",
        "updatedAt"
      ]
    },
    "catalog": {
      "type": "object",
      "properties": {
        "schemaVersion": {
          "type": "string"
        },
        "measures": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "unit": {
                "type": "string"
              },
              "definition": {
                "type": "string"
              },
              "supportsGrouping": {
                "type": "boolean"
              }
            },
            "required": [
              "key",
              "name",
              "unit",
              "definition",
              "supportsGrouping"
            ]
          }
        },
        "dimensions": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "key",
              "name"
            ]
          }
        },
        "maximumRangeDays": {
          "type": "integer"
        },
        "maximumGroups": {
          "type": "integer"
        },
        "comparison": {
          "type": "string"
        },
        "defaultDashboard": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "schemaVersion": {
              "type": "integer",
              "enum": [
                1,
                2
              ]
            },
            "rangeDays": {
              "type": "integer"
            },
            "widgets": {
              "$ref": "#/components/schemas/CoreBiEmbedState/properties/dashboard/properties/definition/properties/widgets"
            }
          },
          "required": [
            "schemaVersion",
            "rangeDays",
            "widgets"
          ],
          "additionalProperties": false
        },
        "templates": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "templateId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "definition": {
                "type": "object",
                "properties": {
                  "schemaVersion": {
                    "type": "integer",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "rangeDays": {
                    "type": "integer"
                  },
                  "widgets": {
                    "$ref": "#/components/schemas/CoreBiEmbedState/properties/dashboard/properties/definition/properties/widgets"
                  }
                },
                "required": [
                  "schemaVersion",
                  "rangeDays",
                  "widgets"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "templateId",
              "name",
              "description",
              "definition"
            ]
          }
        }
      },
      "required": [
        "schemaVersion",
        "measures",
        "dimensions",
        "maximumRangeDays",
        "maximumGroups",
        "comparison"
      ]
    }
  },
  "required": [
    "selection",
    "dashboard",
    "catalog"
  ]
}
CoreProductReportJob
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "jobId": {
      "type": "string",
      "format": "uuid"
    },
    "state": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    },
    "request": {
      "type": "object",
      "properties": {
        "definition": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "selector": {
              "type": "object",
              "properties": {
                "appId": {
                  "type": "string"
                },
                "environment": {
                  "type": "string"
                },
                "platform": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "deploymentTarget": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "version": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "buildNumber": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "releaseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "appId",
                "environment"
              ]
            },
            "queries": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "query": {
                    "type": "object",
                    "properties": {
                      "measure": {
                        "type": "string"
                      },
                      "dimension": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "version": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "comparePrevious": {
                        "type": "boolean",
                        "default": false
                      },
                      "limit": {
                        "type": "integer",
                        "default": 10
                      },
                      "filters": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "buildNumber": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventType": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyValue": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "buildId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "groupId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "additionalProperties": false
                      },
                      "cohort": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "periodDays": {
                            "type": "integer",
                            "default": 1
                          },
                          "maximumPeriods": {
                            "type": "integer",
                            "default": 14
                          }
                        },
                        "additionalProperties": false
                      },
                      "series": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "bucketMinutes": {
                            "type": "integer",
                            "default": 60
                          }
                        },
                        "additionalProperties": false
                      },
                      "funnel": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "steps": {
                            "type": "array",
                            "items": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "eventType": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "eventType",
                                "name"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "conversionWindowHours": {
                            "type": "integer",
                            "default": 24
                          }
                        },
                        "required": [
                          "steps"
                        ],
                        "additionalProperties": false
                      },
                      "geography": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "measure"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "title",
                  "query"
                ]
              }
            },
            "savedSourceId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "savedSourceVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "querySchemaVersion": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "kind",
            "title",
            "selector",
            "queries"
          ]
        },
        "fromUtc": {
          "type": "string",
          "format": "date-time"
        },
        "toUtc": {
          "type": "string",
          "format": "date-time"
        },
        "format": {
          "type": "string"
        }
      },
      "required": [
        "definition",
        "fromUtc",
        "toUtc",
        "format"
      ]
    },
    "asOfUtc": {
      "type": "string",
      "format": "date-time"
    },
    "createdAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "attempts": {
      "type": "integer"
    },
    "failureCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "artifact": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "format": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        },
        "fileName": {
          "type": "string"
        },
        "contentLength": {
          "type": "integer"
        },
        "sha256": {
          "type": "string"
        },
        "expiresAtUtc": {
          "type": "string",
          "format": "date-time"
        },
        "exportPolicy": {
          "type": [
            "string",
            "null"
          ]
        },
        "contentRedacted": {
          "type": "boolean"
        },
        "presentationFingerprint": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "format",
        "contentType",
        "fileName",
        "contentLength",
        "sha256",
        "expiresAtUtc"
      ]
    }
  },
  "required": [
    "jobId",
    "state",
    "version",
    "request",
    "asOfUtc",
    "createdAtUtc",
    "updatedAtUtc",
    "attempts",
    "failureCode",
    "artifact"
  ]
}
CoreProductReportSchedule
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "scheduleId": {
      "type": "string",
      "format": "uuid"
    },
    "version": {
      "type": "integer"
    },
    "state": {
      "type": "string"
    },
    "request": {
      "type": "object",
      "properties": {
        "definition": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "selector": {
              "type": "object",
              "properties": {
                "appId": {
                  "type": "string"
                },
                "environment": {
                  "type": "string"
                },
                "platform": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "deploymentTarget": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "version": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "buildNumber": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "releaseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "appId",
                "environment"
              ]
            },
            "queries": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "query": {
                    "type": "object",
                    "properties": {
                      "measure": {
                        "type": "string"
                      },
                      "dimension": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "version": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "comparePrevious": {
                        "type": "boolean",
                        "default": false
                      },
                      "limit": {
                        "type": "integer",
                        "default": 10
                      },
                      "filters": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "buildNumber": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventType": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyValue": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "buildId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "groupId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "additionalProperties": false
                      },
                      "cohort": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "periodDays": {
                            "type": "integer",
                            "default": 1
                          },
                          "maximumPeriods": {
                            "type": "integer",
                            "default": 14
                          }
                        },
                        "additionalProperties": false
                      },
                      "series": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "bucketMinutes": {
                            "type": "integer",
                            "default": 60
                          }
                        },
                        "additionalProperties": false
                      },
                      "funnel": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "steps": {
                            "type": "array",
                            "items": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "eventType": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "eventType",
                                "name"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "conversionWindowHours": {
                            "type": "integer",
                            "default": 24
                          }
                        },
                        "required": [
                          "steps"
                        ],
                        "additionalProperties": false
                      },
                      "geography": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "measure"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "title",
                  "query"
                ]
              }
            },
            "savedSourceId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "savedSourceVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "querySchemaVersion": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "kind",
            "title",
            "selector",
            "queries"
          ]
        },
        "format": {
          "type": "string"
        },
        "lookbackDays": {
          "type": "integer"
        },
        "recurrence": {
          "type": "object",
          "properties": {
            "frequency": {
              "type": "string"
            },
            "timeZoneId": {
              "type": "string"
            },
            "localTime": {
              "type": "string"
            },
            "dayOfWeek": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "frequency",
            "timeZoneId",
            "localTime"
          ]
        },
        "deliveryChannels": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "required": [
        "definition",
        "format",
        "lookbackDays",
        "recurrence",
        "deliveryChannels"
      ]
    },
    "createdAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "nextOccurrenceUtc": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "scheduleId",
    "version",
    "state",
    "request",
    "createdAtUtc",
    "nextOccurrenceUtc"
  ]
}
CoreProductReportDeliveryStatuses
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "channel": {
        "type": "string"
      },
      "state": {
        "type": "string"
      },
      "updatedAtUtc": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "channel",
      "state",
      "updatedAtUtc"
    ]
  }
}
CoreCreateProductReportRequest
{
  "type": "object",
  "properties": {
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "kind": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "selector": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "appId": {
              "type": [
                "string",
                "null"
              ]
            },
            "environment": {
              "type": [
                "string",
                "null"
              ]
            },
            "platform": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "deploymentTarget": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "version": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "buildNumber": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "releaseId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "appId",
            "environment"
          ],
          "additionalProperties": false
        },
        "queries": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "measure": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dimension": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "comparePrevious": {
                    "type": "boolean",
                    "default": false
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 10
                  },
                  "filters": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyValue": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false
                  },
                  "cohort": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "periodDays": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 1
                      },
                      "maximumPeriods": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 14
                      }
                    },
                    "additionalProperties": false
                  },
                  "series": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "bucketMinutes": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 60
                      }
                    },
                    "additionalProperties": false
                  },
                  "funnel": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "steps": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "eventType": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "eventType",
                            "name"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "conversionWindowHours": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 24
                      }
                    },
                    "required": [
                      "steps"
                    ],
                    "additionalProperties": false
                  },
                  "geography": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "measure"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "title",
              "query"
            ],
            "additionalProperties": false
          }
        },
        "savedSourceId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "savedSourceVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "querySchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-decoded-integer-enum": [
            1,
            2,
            null
          ],
          "description": "Omitted/null selects legacy query schema1, preserving legacy serialized definitions and hashes. Web numeric strings decode before domain validation. Decoded2 selects the bounded structured BI query contract, including supported filters/cohorts/typed charts. Decoded values other than1/2 are rejected; saved schema2 pins2."
        }
      },
      "required": [
        "kind",
        "title",
        "selector",
        "queries"
      ],
      "additionalProperties": false
    },
    "fromUtc": {
      "type": [
        "string",
        "null"
      ]
    },
    "toUtc": {
      "type": [
        "string",
        "null"
      ]
    },
    "format": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "definition",
    "fromUtc",
    "toUtc",
    "format"
  ],
  "additionalProperties": false
}
CoreProductReportScheduleRequest
{
  "type": "object",
  "properties": {
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "kind": {
          "type": [
            "string",
            "null"
          ]
        },
        "title": {
          "type": [
            "string",
            "null"
          ]
        },
        "selector": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "appId": {
              "type": [
                "string",
                "null"
              ]
            },
            "environment": {
              "type": [
                "string",
                "null"
              ]
            },
            "platform": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "deploymentTarget": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "version": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "buildNumber": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "releaseId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "appId",
            "environment"
          ],
          "additionalProperties": false
        },
        "queries": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "query": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "measure": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dimension": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "comparePrevious": {
                    "type": "boolean",
                    "default": false
                  },
                  "limit": {
                    "type": [
                      "string",
                      "integer"
                    ],
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "default": 10
                  },
                  "filters": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyValue": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false
                  },
                  "cohort": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "periodDays": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 1
                      },
                      "maximumPeriods": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 14
                      }
                    },
                    "additionalProperties": false
                  },
                  "series": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "bucketMinutes": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 60
                      }
                    },
                    "additionalProperties": false
                  },
                  "funnel": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "steps": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "eventType": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "eventType",
                            "name"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "conversionWindowHours": {
                        "type": [
                          "string",
                          "integer"
                        ],
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "default": 24
                      }
                    },
                    "required": [
                      "steps"
                    ],
                    "additionalProperties": false
                  },
                  "geography": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "measure"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "title",
              "query"
            ],
            "additionalProperties": false
          }
        },
        "savedSourceId": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "savedSourceVersion": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "querySchemaVersion": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null,
          "x-appportal-decoded-integer-enum": [
            1,
            2,
            null
          ],
          "description": "Omitted/null selects legacy query schema1, preserving legacy serialized definitions and hashes. Web numeric strings decode before domain validation. Decoded2 selects the bounded structured BI query contract, including supported filters/cohorts/typed charts. Decoded values other than1/2 are rejected; saved schema2 pins2."
        }
      },
      "required": [
        "kind",
        "title",
        "selector",
        "queries"
      ],
      "additionalProperties": false
    },
    "format": {
      "type": [
        "string",
        "null"
      ]
    },
    "lookbackDays": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "recurrence": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "frequency": {
          "type": [
            "string",
            "null"
          ]
        },
        "timeZoneId": {
          "type": [
            "string",
            "null"
          ]
        },
        "localTime": {
          "type": [
            "string",
            "null"
          ]
        },
        "dayOfWeek": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        }
      },
      "required": [
        "frequency",
        "timeZoneId",
        "localTime"
      ],
      "additionalProperties": false
    },
    "deliveryChannels": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "definition",
    "format",
    "lookbackDays",
    "recurrence",
    "deliveryChannels"
  ],
  "additionalProperties": false
}
CoreChangeProductReportScheduleRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "enabled": {
      "type": "boolean"
    }
  },
  "required": [
    "expectedVersion",
    "enabled"
  ],
  "additionalProperties": false
}
CoreProductReportConfirmation
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "digest": {
      "type": "string"
    },
    "confirmationToken": {
      "type": "string"
    },
    "expiresAtUtc": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "digest",
    "confirmationToken",
    "expiresAtUtc"
  ]
}
CoreProductReportSchedulePreview
{
  "type": "object",
  "properties": {
    "request": {
      "$ref": "#/components/schemas/CoreProductReportScheduleRequest"
    },
    "confirmation": {
      "$ref": "#/components/schemas/CoreProductReportConfirmation"
    },
    "deliveryAvailability": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "enum": [
            "available",
            "unavailable"
          ]
        },
        "messageCenter": {
          "type": "string",
          "enum": [
            "available",
            "unavailable"
          ]
        }
      },
      "required": [
        "email",
        "messageCenter"
      ]
    }
  },
  "required": [
    "request",
    "confirmation",
    "deliveryAvailability"
  ]
}
CoreProductReportStatePreview
{
  "type": "object",
  "properties": {
    "scheduleId": {
      "type": "string",
      "format": "uuid"
    },
    "expectedVersion": {
      "type": "integer"
    },
    "enabled": {
      "type": "boolean"
    },
    "confirmation": {
      "$ref": "#/components/schemas/CoreProductReportConfirmation"
    }
  },
  "required": [
    "scheduleId",
    "expectedVersion",
    "enabled",
    "confirmation"
  ]
}
CoreProductReportJobPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "jobId": {
            "type": "string",
            "format": "uuid"
          },
          "state": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          },
          "request": {
            "type": "object",
            "properties": {
              "definition": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "selector": {
                    "type": "object",
                    "properties": {
                      "appId": {
                        "type": "string"
                      },
                      "environment": {
                        "type": "string"
                      },
                      "platform": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "deploymentTarget": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "version": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "releaseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "required": [
                      "appId",
                      "environment"
                    ]
                  },
                  "queries": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "query": {
                          "type": "object",
                          "properties": {
                            "measure": {
                              "type": "string"
                            },
                            "dimension": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "version": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "comparePrevious": {
                              "type": "boolean",
                              "default": false
                            },
                            "limit": {
                              "type": "integer",
                              "default": 10
                            },
                            "filters": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "buildNumber": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "eventType": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "eventName": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "propertyName": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "propertyValue": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "buildId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "groupId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                }
                              },
                              "additionalProperties": false
                            },
                            "cohort": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "periodDays": {
                                  "type": "integer",
                                  "default": 1
                                },
                                "maximumPeriods": {
                                  "type": "integer",
                                  "default": 14
                                }
                              },
                              "additionalProperties": false
                            },
                            "series": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "bucketMinutes": {
                                  "type": "integer",
                                  "default": 60
                                }
                              },
                              "additionalProperties": false
                            },
                            "funnel": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "steps": {
                                  "type": "array",
                                  "items": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "eventType": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventType",
                                      "name"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "conversionWindowHours": {
                                  "type": "integer",
                                  "default": 24
                                }
                              },
                              "required": [
                                "steps"
                              ],
                              "additionalProperties": false
                            },
                            "geography": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "measure"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "title",
                        "query"
                      ]
                    }
                  },
                  "savedSourceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "savedSourceVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "querySchemaVersion": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  }
                },
                "required": [
                  "kind",
                  "title",
                  "selector",
                  "queries"
                ]
              },
              "fromUtc": {
                "type": "string",
                "format": "date-time"
              },
              "toUtc": {
                "type": "string",
                "format": "date-time"
              },
              "format": {
                "type": "string"
              }
            },
            "required": [
              "definition",
              "fromUtc",
              "toUtc",
              "format"
            ]
          },
          "asOfUtc": {
            "type": "string",
            "format": "date-time"
          },
          "createdAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "attempts": {
            "type": "integer"
          },
          "failureCode": {
            "type": [
              "string",
              "null"
            ]
          },
          "artifact": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "format": {
                "type": "string"
              },
              "contentType": {
                "type": "string"
              },
              "fileName": {
                "type": "string"
              },
              "contentLength": {
                "type": "integer"
              },
              "sha256": {
                "type": "string"
              },
              "expiresAtUtc": {
                "type": "string",
                "format": "date-time"
              },
              "exportPolicy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "contentRedacted": {
                "type": "boolean"
              },
              "presentationFingerprint": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "format",
              "contentType",
              "fileName",
              "contentLength",
              "sha256",
              "expiresAtUtc"
            ]
          }
        },
        "required": [
          "jobId",
          "state",
          "version",
          "request",
          "asOfUtc",
          "createdAtUtc",
          "updatedAtUtc",
          "attempts",
          "failureCode",
          "artifact"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  },
  "required": [
    "items",
    "nextAfter"
  ]
}
CoreReportDocument
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "schemaVersion": {
      "type": "string",
      "enum": [
        "1",
        "2"
      ]
    },
    "request": {
      "type": "object",
      "properties": {
        "definition": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "selector": {
              "type": "object",
              "properties": {
                "appId": {
                  "type": "string"
                },
                "environment": {
                  "type": "string"
                },
                "platform": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "deploymentTarget": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "version": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "buildNumber": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                },
                "releaseId": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "appId",
                "environment"
              ]
            },
            "queries": {
              "type": "array",
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "title": {
                    "type": "string"
                  },
                  "query": {
                    "type": "object",
                    "properties": {
                      "measure": {
                        "type": "string"
                      },
                      "dimension": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "version": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "comparePrevious": {
                        "type": "boolean",
                        "default": false
                      },
                      "limit": {
                        "type": "integer",
                        "default": 10,
                        "minimum": 1,
                        "maximum": 20,
                        "description": "Bounds the generic row projection. Independently bounded typed payloads can retain more observations; a row-table limit is not the full series/funnel/geography population."
                      },
                      "filters": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "buildNumber": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventType": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "eventName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "propertyValue": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "buildId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          },
                          "groupId": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "additionalProperties": false
                      },
                      "cohort": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "periodDays": {
                            "type": "integer",
                            "default": 1
                          },
                          "maximumPeriods": {
                            "type": "integer",
                            "default": 14
                          }
                        },
                        "additionalProperties": false
                      },
                      "series": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "bucketMinutes": {
                            "type": "integer",
                            "default": 60,
                            "enum": [
                              5,
                              15,
                              60,
                              1440
                            ]
                          }
                        },
                        "additionalProperties": false
                      },
                      "funnel": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "steps": {
                            "type": "array",
                            "items": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "eventType": {
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "eventType",
                                "name"
                              ],
                              "additionalProperties": false
                            },
                            "minItems": 2,
                            "maxItems": 8,
                            "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
                          },
                          "conversionWindowHours": {
                            "type": "integer",
                            "default": 24,
                            "minimum": 1,
                            "maximum": 720
                          }
                        },
                        "required": [
                          "steps"
                        ],
                        "additionalProperties": false
                      },
                      "geography": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "measure"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "title",
                  "query"
                ]
              }
            },
            "savedSourceId": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "savedSourceVersion": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "querySchemaVersion": {
              "type": [
                "integer",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "kind",
            "title",
            "selector",
            "queries"
          ]
        },
        "fromUtc": {
          "type": "string",
          "format": "date-time"
        },
        "toUtc": {
          "type": "string",
          "format": "date-time"
        },
        "format": {
          "type": "string"
        }
      },
      "required": [
        "definition",
        "fromUtc",
        "toUtc",
        "format"
      ]
    },
    "asOfUtc": {
      "type": "string",
      "format": "date-time"
    },
    "generatedAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "consistency": {
      "type": "string"
    },
    "sections": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "measure": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "definition": {
            "type": "string"
          },
          "current": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "from": {
                "type": "string",
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "value": {
                      "type": "number"
                    },
                    "denominator": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "percentage": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ]
                }
              },
              "populationSessions": {
                "type": "integer"
              },
              "distinctValues": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "omittedSessions": {
                "type": "integer"
              },
              "isTruncated": {
                "type": "boolean"
              }
            },
            "required": [
              "from",
              "to",
              "rows",
              "populationSessions",
              "distinctValues",
              "omittedSessions",
              "isTruncated"
            ]
          },
          "previous": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "from": {
                "type": "string",
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "rows": {
                "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/current/properties/rows"
              },
              "populationSessions": {
                "type": "integer"
              },
              "distinctValues": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "omittedSessions": {
                "type": "integer"
              },
              "isTruncated": {
                "type": "boolean"
              }
            },
            "required": [
              "from",
              "to",
              "rows",
              "populationSessions",
              "distinctValues",
              "omittedSessions",
              "isTruncated"
            ]
          },
          "observedAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "version": {
            "type": [
              "string",
              "null"
            ]
          },
          "structuredCurrent": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "from": {
                "type": "string",
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "denominator": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "default": null
                    },
                    "percentage": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "default": null
                    },
                    "availability": {
                      "type": "string",
                      "default": "available"
                    },
                    "unavailableReason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ]
                },
                "maxItems": 20,
                "description": "Generic row projection bounded by the requested limit. isTruncated/omittedCount describe this projection; series, funnel or geography carries its separately bounded typed observations. Null populations/denominators are unknown, not zero."
              },
              "populationCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "populationUnit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "distinctValues": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "omittedCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "isTruncated": {
                "type": "boolean"
              },
              "availability": {
                "type": "string",
                "default": "available"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "retention": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "metricKey": {
                    "type": "string"
                  },
                  "periodUnit": {
                    "type": "string"
                  },
                  "periodDays": {
                    "type": "integer"
                  },
                  "unavailableReason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "cohorts": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "cohortStart": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "cohortUsers": {
                          "type": "integer"
                        },
                        "cells": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "periodIndex": {
                                "type": "integer"
                              },
                              "retainedUsers": {
                                "type": "integer"
                              },
                              "retentionPercent": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "periodIndex",
                              "retainedUsers",
                              "retentionPercent"
                            ]
                          }
                        }
                      },
                      "required": [
                        "cohortStart",
                        "cohortUsers",
                        "cells"
                      ]
                    }
                  }
                },
                "required": [
                  "metricKey",
                  "periodUnit",
                  "periodDays",
                  "unavailableReason",
                  "cohorts"
                ],
                "default": null
              },
              "series": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "bucketMinutes": {
                    "type": "integer",
                    "enum": [
                      5,
                      15,
                      60,
                      1440
                    ]
                  },
                  "points": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "bucketStart": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "value": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "bucketStart",
                        "value"
                      ]
                    },
                    "maxItems": 512,
                    "description": "Ordered UTC bucket starts. Missing buckets remain missing; no interpolation or invented zeros. The actual half-open window may intersect at most 512 aligned buckets, including partial boundary buckets."
                  }
                },
                "required": [
                  "bucketMinutes",
                  "points"
                ],
                "default": null
              },
              "funnel": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "usersMetricKey": {
                    "type": "string"
                  },
                  "conversionMetricKey": {
                    "type": "string"
                  },
                  "dropOffMetricKey": {
                    "type": "string"
                  },
                  "conversionWindowHours": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 720
                  },
                  "unavailableReason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "steps": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "eventKey": {
                          "type": "string"
                        },
                        "eventType": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "users": {
                          "type": "integer"
                        },
                        "dropOffUsers": {
                          "type": "integer"
                        },
                        "conversionFromPreviousPercent": {
                          "type": "number"
                        },
                        "conversionFromFirstPercent": {
                          "type": "number"
                        }
                      },
                      "required": [
                        "eventKey",
                        "eventType",
                        "name",
                        "users",
                        "dropOffUsers",
                        "conversionFromPreviousPercent",
                        "conversionFromFirstPercent"
                      ]
                    },
                    "minItems": 2,
                    "maxItems": 8,
                    "description": "Ordered canonical event type/name steps. Later conversion observations can fall after the entry-window end, within the configured conversion deadline; this is not a ranking of independent event totals."
                  }
                },
                "required": [
                  "usersMetricKey",
                  "conversionMetricKey",
                  "dropOffMetricKey",
                  "conversionWindowHours",
                  "unavailableReason",
                  "steps"
                ],
                "default": null
              },
              "geography": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "from": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "to": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "previousFrom": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "previousTo": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "totalSessions": {
                    "type": "integer"
                  },
                  "locatedSessions": {
                    "type": "integer"
                  },
                  "unknownSessions": {
                    "type": "integer"
                  },
                  "suppressedCitySessions": {
                    "type": "integer"
                  },
                  "minimumCitySessions": {
                    "type": "integer"
                  },
                  "hasAnySessionsInScope": {
                    "type": "boolean"
                  },
                  "countries": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "countryCode": {
                          "type": "string"
                        },
                        "region": {
                          "type": "string"
                        },
                        "city": {
                          "type": "string"
                        },
                        "sessions": {
                          "type": "integer"
                        },
                        "previousSessions": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "sharePercent": {
                          "type": "number"
                        },
                        "changePercent": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "countryCode",
                        "region",
                        "city",
                        "sessions",
                        "previousSessions",
                        "sharePercent",
                        "changePercent"
                      ]
                    },
                    "maxItems": 300
                  },
                  "cities": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/structuredCurrent/properties/geography/properties/countries/items"
                    },
                    "maxItems": 12
                  }
                },
                "required": [
                  "from",
                  "to",
                  "previousFrom",
                  "previousTo",
                  "totalSessions",
                  "locatedSessions",
                  "unknownSessions",
                  "suppressedCitySessions",
                  "minimumCitySessions",
                  "hasAnySessionsInScope",
                  "countries",
                  "cities"
                ],
                "default": null,
                "description": "Coarse session geography with explicit total, located and unknown populations. Typed country/city payload bounds are independent of the generic row limit; no personal coordinates or location inference is added."
              }
            },
            "required": [
              "from",
              "to",
              "rows",
              "populationCount",
              "populationUnit",
              "distinctValues",
              "omittedCount",
              "isTruncated"
            ]
          },
          "structuredPrevious": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "from": {
                "type": "string",
                "format": "date-time"
              },
              "to": {
                "type": "string",
                "format": "date-time"
              },
              "rows": {
                "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/structuredCurrent/properties/rows",
                "maxItems": 20,
                "description": "Generic row projection bounded by the requested limit. isTruncated/omittedCount describe this projection; series, funnel or geography carries its separately bounded typed observations. Null populations/denominators are unknown, not zero."
              },
              "populationCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "populationUnit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "distinctValues": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "omittedCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "isTruncated": {
                "type": "boolean"
              },
              "availability": {
                "type": "string",
                "default": "available"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "retention": {
                "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/structuredCurrent/properties/retention",
                "default": null
              },
              "series": {
                "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/structuredCurrent/properties/series",
                "default": null
              },
              "funnel": {
                "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/structuredCurrent/properties/funnel",
                "default": null
              },
              "geography": {
                "$ref": "#/components/schemas/CoreReportDocument/properties/sections/items/properties/structuredCurrent/properties/geography",
                "default": null
              }
            },
            "required": [
              "from",
              "to",
              "rows",
              "populationCount",
              "populationUnit",
              "distinctValues",
              "omittedCount",
              "isTruncated"
            ]
          }
        },
        "required": [
          "title",
          "measure",
          "unit",
          "definition",
          "current",
          "previous",
          "observedAtUtc"
        ]
      }
    }
  },
  "required": [
    "schemaVersion",
    "request",
    "asOfUtc",
    "generatedAtUtc",
    "consistency",
    "sections"
  ],
  "description": "Decoded UTF-8 JSON artifact shape, not a new JSON API or MCP artifact-body grant. Schema1 has non-null legacy current windows and omits unused structured fields. Schema2 has null legacy windows and non-null structuredCurrent; structuredPrevious follows the requested comparison. Unknown versions reject. Generated content remains bounded to2,000,000 bytes.",
  "allOf": [
    {
      "if": {
        "properties": {
          "schemaVersion": {
            "const": "1"
          }
        }
      },
      "then": {
        "properties": {
          "sections": {
            "items": {
              "required": [
                "current"
              ],
              "properties": {
                "current": {
                  "not": {
                    "type": "null"
                  }
                },
                "structuredCurrent": {
                  "type": "null"
                },
                "structuredPrevious": {
                  "type": "null"
                }
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "schemaVersion": {
            "const": "2"
          }
        }
      },
      "then": {
        "properties": {
          "sections": {
            "items": {
              "required": [
                "structuredCurrent"
              ],
              "properties": {
                "current": {
                  "type": "null"
                },
                "previous": {
                  "type": "null"
                },
                "structuredCurrent": {
                  "not": {
                    "type": "null"
                  }
                }
              }
            }
          }
        }
      }
    }
  ]
}
CoreProductReportArtifactUsage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "periodStartUtc": {
      "type": "string",
      "format": "date-time"
    },
    "periodEndUtc": {
      "type": "string",
      "format": "date-time"
    },
    "retainedPayloadBytes": {
      "type": "integer"
    },
    "generatedPayloadBytesLowerBound": {
      "type": "integer"
    },
    "releasedPayloadBytesLowerBound": {
      "type": "integer"
    },
    "responseBodyBytesLowerBound": {
      "type": "integer"
    },
    "observedTransferAttempts": {
      "type": "integer"
    },
    "completedExactAttempts": {
      "type": "integer"
    },
    "unknownTransferAttempts": {
      "type": "integer"
    },
    "observedAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "retainedCoverage": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "historicalCoverage": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "generatedPayloadBytes": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "responseBodyBytes": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "postgresPhysicalBytes": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "providerBilledBytes": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "clientReceivedBytes": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    }
  },
  "required": [
    "tenantId",
    "appId",
    "periodStartUtc",
    "periodEndUtc",
    "retainedPayloadBytes",
    "generatedPayloadBytesLowerBound",
    "releasedPayloadBytesLowerBound",
    "responseBodyBytesLowerBound",
    "observedTransferAttempts",
    "completedExactAttempts",
    "unknownTransferAttempts",
    "observedAtUtc"
  ]
}
CoreChangeProductReportRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  },
  "required": [
    "expectedVersion"
  ],
  "additionalProperties": false
}
CoreProductReportSchedulePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "scheduleId": {
            "type": "string",
            "format": "uuid"
          },
          "version": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "request": {
            "type": "object",
            "properties": {
              "definition": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string"
                  },
                  "title": {
                    "type": "string"
                  },
                  "selector": {
                    "type": "object",
                    "properties": {
                      "appId": {
                        "type": "string"
                      },
                      "environment": {
                        "type": "string"
                      },
                      "platform": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "deploymentTarget": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "version": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "releaseId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "required": [
                      "appId",
                      "environment"
                    ]
                  },
                  "queries": {
                    "type": "array",
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "query": {
                          "type": "object",
                          "properties": {
                            "measure": {
                              "type": "string"
                            },
                            "dimension": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "version": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "comparePrevious": {
                              "type": "boolean",
                              "default": false
                            },
                            "limit": {
                              "type": "integer",
                              "default": 10
                            },
                            "filters": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "buildNumber": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "eventType": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "eventName": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "propertyName": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "propertyValue": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "buildId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                },
                                "groupId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ],
                                  "default": null
                                }
                              },
                              "additionalProperties": false
                            },
                            "cohort": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "periodDays": {
                                  "type": "integer",
                                  "default": 1
                                },
                                "maximumPeriods": {
                                  "type": "integer",
                                  "default": 14
                                }
                              },
                              "additionalProperties": false
                            },
                            "series": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "bucketMinutes": {
                                  "type": "integer",
                                  "default": 60
                                }
                              },
                              "additionalProperties": false
                            },
                            "funnel": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "properties": {
                                "steps": {
                                  "type": "array",
                                  "items": {
                                    "type": [
                                      "object",
                                      "null"
                                    ],
                                    "properties": {
                                      "eventType": {
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventType",
                                      "name"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "conversionWindowHours": {
                                  "type": "integer",
                                  "default": 24
                                }
                              },
                              "required": [
                                "steps"
                              ],
                              "additionalProperties": false
                            },
                            "geography": {
                              "type": [
                                "object",
                                "null"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "measure"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "title",
                        "query"
                      ]
                    }
                  },
                  "savedSourceId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "savedSourceVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "querySchemaVersion": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  }
                },
                "required": [
                  "kind",
                  "title",
                  "selector",
                  "queries"
                ]
              },
              "format": {
                "type": "string"
              },
              "lookbackDays": {
                "type": "integer"
              },
              "recurrence": {
                "type": "object",
                "properties": {
                  "frequency": {
                    "type": "string"
                  },
                  "timeZoneId": {
                    "type": "string"
                  },
                  "localTime": {
                    "type": "string"
                  },
                  "dayOfWeek": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  }
                },
                "required": [
                  "frequency",
                  "timeZoneId",
                  "localTime"
                ]
              },
              "deliveryChannels": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "definition",
              "format",
              "lookbackDays",
              "recurrence",
              "deliveryChannels"
            ]
          },
          "createdAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "nextOccurrenceUtc": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "scheduleId",
          "version",
          "state",
          "request",
          "createdAtUtc",
          "nextOccurrenceUtc"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  },
  "required": [
    "items",
    "nextAfter"
  ]
}
CoreProductReportInboxPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "jobId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "createdAtUtc": {
            "type": "string",
            "format": "date-time"
          },
          "href": {
            "type": "string"
          }
        },
        "required": [
          "jobId",
          "title",
          "createdAtUtc",
          "href"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  },
  "required": [
    "items",
    "nextAfter"
  ]
}
CoreProductReportGovernance
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "kind": {
      "type": "string"
    },
    "reportId": {
      "type": "string",
      "format": "uuid"
    },
    "version": {
      "type": "integer"
    },
    "authorUserId": {
      "type": "string"
    },
    "stewardUserId": {
      "type": "string"
    },
    "allowOfflineExports": {
      "type": "boolean"
    },
    "rules": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "subjectKind": {
            "type": "string"
          },
          "subjectId": {
            "type": "string"
          },
          "permissions": {
            "type": "integer"
          },
          "receiveReports": {
            "type": "boolean"
          }
        },
        "required": [
          "subjectKind",
          "subjectId",
          "permissions",
          "receiveReports"
        ]
      }
    },
    "effectivePermissions": {
      "type": "integer"
    },
    "inheritedScheduleVersion": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "kind",
    "reportId",
    "version",
    "authorUserId",
    "stewardUserId",
    "allowOfflineExports",
    "rules"
  ]
}
CoreChangeReportGovernanceRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "stewardUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "allowOfflineExports": {
      "type": "boolean"
    },
    "rules": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "subjectKind": {
            "type": [
              "string",
              "null"
            ]
          },
          "subjectId": {
            "type": [
              "string",
              "null"
            ]
          },
          "permissions": {
            "type": "integer"
          },
          "receiveReports": {
            "type": "boolean"
          }
        },
        "required": [
          "subjectKind",
          "subjectId",
          "permissions",
          "receiveReports"
        ],
        "additionalProperties": false
      }
    },
    "expectedInheritedScheduleVersion": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  },
  "required": [
    "expectedVersion",
    "stewardUserId",
    "allowOfflineExports",
    "rules"
  ],
  "additionalProperties": false
}
CoreProductReportGovernancePreview
{
  "type": "object",
  "properties": {
    "request": {
      "$ref": "#/components/schemas/CoreChangeReportGovernanceRequest"
    },
    "confirmation": {
      "$ref": "#/components/schemas/CoreProductReportConfirmation"
    }
  },
  "required": [
    "request",
    "confirmation"
  ]
}
CoreProductReportRecipientList
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "listId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    },
    "stewardUserId": {
      "type": "string"
    },
    "members": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "kind": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id"
        ]
      }
    }
  },
  "required": [
    "listId",
    "name",
    "version",
    "stewardUserId",
    "members"
  ]
}
CoreSaveReportRecipientListRequest
{
  "type": "object",
  "properties": {
    "expectedVersion": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "members": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "expectedVersion",
    "name",
    "members"
  ],
  "additionalProperties": false
}
CoreProductReportRecipientListPreview
{
  "type": "object",
  "properties": {
    "request": {
      "$ref": "#/components/schemas/CoreSaveReportRecipientListRequest"
    },
    "confirmation": {
      "$ref": "#/components/schemas/CoreProductReportConfirmation"
    }
  },
  "required": [
    "request",
    "confirmation"
  ]
}
CoreProductReportRecipientListPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "listId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "version": {
            "type": "integer"
          },
          "stewardUserId": {
            "type": "string"
          },
          "canManage": {
            "type": "boolean"
          }
        },
        "required": [
          "listId",
          "name",
          "version",
          "stewardUserId",
          "canManage"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  },
  "required": [
    "items",
    "nextAfter"
  ]
}
CoreProductReportPrincipalPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "kind": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "hasSourceAccess": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "canSteward": {
            "type": "boolean"
          }
        },
        "required": [
          "kind",
          "id",
          "displayName",
          "hasSourceAccess",
          "canSteward"
        ]
      }
    },
    "nextAfter": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextAfter"
  ]
}
CoreDashboardDescriptors
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "key": {
        "type": "string"
      },
      "title": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "cardKeys": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "required": [
      "key",
      "title",
      "description",
      "cardKeys"
    ]
  }
}
CoreDashboardResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dashboardKey": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "filters": {
      "type": "object",
      "properties": {
        "environment": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "to": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "platform": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTargets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "rangeDays": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "funnelSteps": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "funnelWindowHours": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        }
      }
    },
    "cards": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "cardKey": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "metric",
              "series",
              "breakdown",
              "table",
              "cohort",
              "comparison",
              "funnel"
            ]
          },
          "metric": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "metricKey": {
                "type": "string"
              },
              "displayName": {
                "type": "string"
              },
              "value": {
                "type": "number"
              },
              "unit": {
                "type": "string"
              },
              "previousValue": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "changePercent": {
                "type": [
                  "number",
                  "null"
                ],
                "default": null
              },
              "state": {
                "enum": [
                  "Complete",
                  "PartialCoverage",
                  "NoQualifyingData",
                  "NotCollected",
                  "NotApplicable",
                  "InsufficientSample",
                  "WithheldByIdentityPolicy",
                  "UnsupportedByPlatform",
                  "TemporarilyUnavailable",
                  null
                ],
                "default": null
              },
              "sampleCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "populationCount": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "metricKey",
              "displayName",
              "value",
              "unit"
            ],
            "default": null
          },
          "series": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "bucketStart": {
                  "type": "string",
                  "format": "date-time"
                },
                "value": {
                  "type": "number"
                }
              },
              "required": [
                "bucketStart",
                "value"
              ]
            },
            "default": null
          },
          "breakdown": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "dimension": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "metricValue": {
                  "type": "number"
                },
                "sampleCount": {
                  "type": "integer"
                }
              },
              "required": [
                "dimension",
                "value",
                "metricValue",
                "sampleCount"
              ]
            },
            "default": null
          },
          "columns": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "rows": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "cells": {
                  "type": "array",
                  "items": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "drilldownPath": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "cells"
              ]
            },
            "default": null
          },
          "retention": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "metricKey": {
                "type": "string"
              },
              "periodUnit": {
                "type": "string"
              },
              "periodDays": {
                "type": "integer"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cohorts": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "cohortStart": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "cohortUsers": {
                      "type": "integer"
                    },
                    "cells": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "periodIndex": {
                            "type": "integer"
                          },
                          "retainedUsers": {
                            "type": "integer"
                          },
                          "retentionPercent": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "periodIndex",
                          "retainedUsers",
                          "retentionPercent"
                        ]
                      }
                    }
                  },
                  "required": [
                    "cohortStart",
                    "cohortUsers",
                    "cells"
                  ]
                }
              }
            },
            "required": [
              "metricKey",
              "periodUnit",
              "periodDays",
              "unavailableReason",
              "cohorts"
            ],
            "default": null
          },
          "comparison": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "occurrenceMetricKey": {
                "type": "string"
              },
              "userMetricKey": {
                "type": "string"
              },
              "sessionMetricKey": {
                "type": "string"
              },
              "eventsPerUserMetricKey": {
                "type": "string"
              },
              "eventsPerSessionMetricKey": {
                "type": "string"
              },
              "groups": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "dimensionKey": {
                      "type": "string"
                    },
                    "displayName": {
                      "type": "string"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "value": {
                            "type": "string"
                          },
                          "occurrenceCount": {
                            "type": "integer"
                          },
                          "distinctUsers": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "distinctSessions": {
                            "type": "integer"
                          },
                          "eventsPerUser": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "eventsPerSession": {
                            "type": "number"
                          },
                          "userMetricsUnavailableReason": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "default": null
                          }
                        },
                        "required": [
                          "value",
                          "occurrenceCount",
                          "distinctUsers",
                          "distinctSessions",
                          "eventsPerUser",
                          "eventsPerSession"
                        ]
                      }
                    }
                  },
                  "required": [
                    "dimensionKey",
                    "displayName",
                    "rows"
                  ]
                }
              },
              "unavailableDimensionKeys": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              }
            },
            "required": [
              "occurrenceMetricKey",
              "userMetricKey",
              "sessionMetricKey",
              "eventsPerUserMetricKey",
              "eventsPerSessionMetricKey",
              "groups"
            ],
            "default": null
          },
          "funnel": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "usersMetricKey": {
                "type": "string"
              },
              "conversionMetricKey": {
                "type": "string"
              },
              "dropOffMetricKey": {
                "type": "string"
              },
              "conversionWindowHours": {
                "type": "integer"
              },
              "unavailableReason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "eventKey": {
                      "type": "string"
                    },
                    "eventType": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "users": {
                      "type": "integer"
                    },
                    "dropOffUsers": {
                      "type": "integer"
                    },
                    "conversionFromPreviousPercent": {
                      "type": "number"
                    },
                    "conversionFromFirstPercent": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "eventKey",
                    "eventType",
                    "name",
                    "users",
                    "dropOffUsers",
                    "conversionFromPreviousPercent",
                    "conversionFromFirstPercent"
                  ]
                }
              }
            },
            "required": [
              "usersMetricKey",
              "conversionMetricKey",
              "dropOffMetricKey",
              "conversionWindowHours",
              "unavailableReason",
              "steps"
            ],
            "default": null
          }
        },
        "required": [
          "cardKey",
          "title",
          "kind"
        ]
      }
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "dataState": {
      "enum": [
        "Ready",
        "NoDataInWindow",
        "NoDataInScope"
      ],
      "default": "Ready"
    }
  },
  "required": [
    "dashboardKey",
    "title",
    "filters",
    "cards",
    "generatedAt"
  ]
}
CoreSavedViewArray
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "viewId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": [
          "string",
          "null"
        ]
      },
      "name": {
        "type": "string"
      },
      "dashboardKey": {
        "type": "string"
      },
      "filters": {
        "type": "object",
        "properties": {
          "environment": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "deploymentTarget": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "version": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "from": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "to": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "default": null
          },
          "platform": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "deploymentTargets": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "rangeDays": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "funnelSteps": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "funnelWindowHours": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          }
        }
      },
      "visibleCards": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "hiddenCards": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "cardOrder": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "definition": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "schemaVersion": {
            "type": "integer"
          },
          "rangeDays": {
            "type": "integer"
          },
          "widgets": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "widgetId": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "query": {
                  "type": "object",
                  "properties": {
                    "measure": {
                      "type": "string"
                    },
                    "dimension": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "version": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    },
                    "comparePrevious": {
                      "type": "boolean",
                      "default": false
                    },
                    "limit": {
                      "type": "integer",
                      "default": 10
                    },
                    "filters": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "buildNumber": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "eventType": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "eventName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "propertyName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "propertyValue": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "buildId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "groupId": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        }
                      },
                      "additionalProperties": false
                    },
                    "cohort": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "periodDays": {
                          "type": "integer",
                          "default": 1
                        },
                        "maximumPeriods": {
                          "type": "integer",
                          "default": 14
                        }
                      },
                      "additionalProperties": false
                    },
                    "series": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "bucketMinutes": {
                          "type": "integer",
                          "default": 60
                        }
                      },
                      "additionalProperties": false
                    },
                    "funnel": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "steps": {
                          "type": "array",
                          "items": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "eventType": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "eventType",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "conversionWindowHours": {
                          "type": "integer",
                          "default": 24
                        }
                      },
                      "required": [
                        "steps"
                      ],
                      "additionalProperties": false
                    },
                    "geography": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "measure"
                  ],
                  "additionalProperties": false
                },
                "visualization": {
                  "type": "string",
                  "default": "kpi"
                },
                "columnSpan": {
                  "type": "integer",
                  "default": 1
                }
              },
              "required": [
                "widgetId",
                "title",
                "query"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "schemaVersion",
          "rangeDays",
          "widgets"
        ],
        "additionalProperties": false
      },
      "version": {
        "type": [
          "string",
          "null"
        ],
        "readOnly": true
      }
    },
    "required": [
      "viewId",
      "tenantId",
      "appId",
      "name",
      "dashboardKey",
      "filters",
      "visibleCards",
      "hiddenCards",
      "cardOrder",
      "createdAt",
      "updatedAt"
    ]
  }
}
CoreSavedViewPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "viewId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "dashboardKey": {
            "type": "string"
          },
          "filters": {
            "type": "object",
            "properties": {
              "environment": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "deploymentTarget": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "version": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "from": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "to": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "default": null
              },
              "platform": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "deploymentTargets": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "rangeDays": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              },
              "funnelSteps": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "funnelWindowHours": {
                "type": [
                  "integer",
                  "null"
                ],
                "default": null
              }
            }
          },
          "visibleCards": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "hiddenCards": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "cardOrder": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "definition": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "rangeDays": {
                "type": "integer"
              },
              "widgets": {
                "type": "array",
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "widgetId": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "query": {
                      "type": "object",
                      "properties": {
                        "measure": {
                          "type": "string"
                        },
                        "dimension": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "version": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "default": null
                        },
                        "comparePrevious": {
                          "type": "boolean",
                          "default": false
                        },
                        "limit": {
                          "type": "integer",
                          "default": 10
                        },
                        "filters": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "buildNumber": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "eventType": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "eventName": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "propertyName": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "propertyValue": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "buildId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            },
                            "groupId": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "default": null
                            }
                          },
                          "additionalProperties": false
                        },
                        "cohort": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "periodDays": {
                              "type": "integer",
                              "default": 1
                            },
                            "maximumPeriods": {
                              "type": "integer",
                              "default": 14
                            }
                          },
                          "additionalProperties": false
                        },
                        "series": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "bucketMinutes": {
                              "type": "integer",
                              "default": 60
                            }
                          },
                          "additionalProperties": false
                        },
                        "funnel": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "steps": {
                              "type": "array",
                              "items": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "eventType": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "eventType",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "conversionWindowHours": {
                              "type": "integer",
                              "default": 24
                            }
                          },
                          "required": [
                            "steps"
                          ],
                          "additionalProperties": false
                        },
                        "geography": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "measure"
                      ],
                      "additionalProperties": false
                    },
                    "visualization": {
                      "type": "string",
                      "default": "kpi"
                    },
                    "columnSpan": {
                      "type": "integer",
                      "default": 1
                    }
                  },
                  "required": [
                    "widgetId",
                    "title",
                    "query"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "schemaVersion",
              "rangeDays",
              "widgets"
            ],
            "additionalProperties": false
          },
          "version": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          }
        },
        "required": [
          "viewId",
          "tenantId",
          "appId",
          "name",
          "dashboardKey",
          "filters",
          "visibleCards",
          "hiddenCards",
          "cardOrder",
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreSavedViewsResult
{
  "anyOf": [
    {
      "$ref": "#/components/schemas/CoreSavedViewArray"
    },
    {
      "$ref": "#/components/schemas/CoreSavedViewPage"
    }
  ],
  "description": "Query-free legacy complete-array representation versus explicit query-bearing paged representation; do not infer that returned array rows are a new resource quota."
}
CoreSavedView
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "viewId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "dashboardKey": {
      "type": "string"
    },
    "filters": {
      "type": "object",
      "properties": {
        "environment": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "to": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "platform": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTargets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "rangeDays": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        },
        "funnelSteps": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "funnelWindowHours": {
          "type": [
            "integer",
            "null"
          ],
          "default": null
        }
      }
    },
    "visibleCards": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "hiddenCards": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "cardOrder": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "definition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "schemaVersion": {
          "type": "integer"
        },
        "rangeDays": {
          "type": "integer"
        },
        "widgets": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "widgetId": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "properties": {
                  "measure": {
                    "type": "string"
                  },
                  "dimension": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "version": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "comparePrevious": {
                    "type": "boolean",
                    "default": false
                  },
                  "limit": {
                    "type": "integer",
                    "default": 10
                  },
                  "filters": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "buildNumber": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventType": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "eventName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyName": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "propertyValue": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "buildId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      },
                      "groupId": {
                        "type": [
                          "string",
                          "null"
                        ],
                        "default": null
                      }
                    },
                    "additionalProperties": false
                  },
                  "cohort": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "periodDays": {
                        "type": "integer",
                        "default": 1
                      },
                      "maximumPeriods": {
                        "type": "integer",
                        "default": 14
                      }
                    },
                    "additionalProperties": false
                  },
                  "series": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "bucketMinutes": {
                        "type": "integer",
                        "default": 60
                      }
                    },
                    "additionalProperties": false
                  },
                  "funnel": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "steps": {
                        "type": "array",
                        "items": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "eventType": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "eventType",
                            "name"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "conversionWindowHours": {
                        "type": "integer",
                        "default": 24
                      }
                    },
                    "required": [
                      "steps"
                    ],
                    "additionalProperties": false
                  },
                  "geography": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "measure"
                ],
                "additionalProperties": false
              },
              "visualization": {
                "type": "string",
                "default": "kpi"
              },
              "columnSpan": {
                "type": "integer",
                "default": 1
              }
            },
            "required": [
              "widgetId",
              "title",
              "query"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "schemaVersion",
        "rangeDays",
        "widgets"
      ],
      "additionalProperties": false
    },
    "version": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    }
  },
  "required": [
    "viewId",
    "tenantId",
    "appId",
    "name",
    "dashboardKey",
    "filters",
    "visibleCards",
    "hiddenCards",
    "cardOrder",
    "createdAt",
    "updatedAt"
  ]
}
CoreSavedViewRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "dashboardKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "filters": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "environment": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTarget": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "version": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "from": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "to": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "default": null
        },
        "platform": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "deploymentTargets": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "rangeDays": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        },
        "funnelSteps": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "funnelWindowHours": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "default": null
        }
      },
      "default": null
    },
    "visibleCards": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "hiddenCards": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "cardOrder": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  }
}
CoreAiProviderDisclosures
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "profileId": {
        "type": "string"
      },
      "provider": {
        "type": "string"
      },
      "models": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "customerOwned": {
        "type": "boolean"
      },
      "supportsImages": {
        "type": "boolean"
      },
      "disclosureVersion": {
        "type": "string"
      },
      "termsUrl": {
        "type": "string"
      },
      "retentionNotice": {
        "type": "string"
      },
      "providerTrainingNotice": {
        "type": "string"
      },
      "limitations": {
        "type": "string"
      },
      "appPortalGeneralizedTraining": {
        "type": "boolean",
        "default": false
      }
    },
    "required": [
      "profileId",
      "provider",
      "models",
      "customerOwned",
      "supportsImages",
      "disclosureVersion",
      "termsUrl",
      "retentionNotice",
      "providerTrainingNotice",
      "limitations"
    ]
  }
}
CoreAiProviders
{
  "type": "object",
  "properties": {
    "runtimeAvailable": {
      "type": "boolean"
    },
    "providers": {
      "$ref": "#/components/schemas/CoreAiProviderDisclosures"
    }
  },
  "required": [
    "runtimeAvailable",
    "providers"
  ]
}
CoreAiPolicyStatus
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "runtimeAvailable": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "revision": {
      "type": "integer"
    },
    "classification": {
      "type": "string"
    },
    "profileId": {
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "appIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "userIds": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "allowAttachments": {
      "type": "boolean"
    },
    "acceptedDisclosureVersion": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "runtimeAvailable",
    "enabled",
    "revision",
    "classification",
    "profileId",
    "model",
    "appIds",
    "userIds",
    "allowAttachments",
    "acceptedDisclosureVersion"
  ]
}
CoreAiPolicyRequest
{
  "type": "object",
  "properties": {
    "expectedRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "enabled": {
      "type": "boolean"
    },
    "profileId": {
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "appIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "userIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "allowAttachments": {
      "type": "boolean"
    },
    "acceptedDisclosureVersion": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[eE][xX][pP][eE][cC][tT][eE][dD][rR][eE][vV][iI][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/expectedRevision"
    },
    "^[eE][nN][aA][bB][lL][eE][dD]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/enabled"
    },
    "^[pP][rR][oO][fF][iI][lL][eE][iI][dD]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/profileId"
    },
    "^[mM][oO][dD][eE][lL]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/model"
    },
    "^[aA][pP][pP][iI][dD][sS]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/appIds"
    },
    "^[uU][sS][eE][rR][iI][dD][sS]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/userIds"
    },
    "^[aA][lL][lL][oO][wW][aA][tT][tT][aA][cC][hH][mM][eE][nN][tT][sS]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/allowAttachments"
    },
    "^[aA][cC][cC][eE][pP][tT][eE][dD][dD][iI][sS][cC][lL][oO][sS][uU][rR][eE][vV][eE][rR][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreAiPolicyRequest/properties/acceptedDisclosureVersion"
    }
  }
}
CoreAiInvocationConfiguration
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "runtimeAvailable": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "policyRevision": {
      "type": "integer"
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "provider": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "profileId": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        },
        "models": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "customerOwned": {
          "type": "boolean"
        },
        "supportsImages": {
          "type": "boolean"
        },
        "disclosureVersion": {
          "type": "string"
        },
        "termsUrl": {
          "type": "string"
        },
        "retentionNotice": {
          "type": "string"
        },
        "providerTrainingNotice": {
          "type": "string"
        },
        "limitations": {
          "type": "string"
        },
        "appPortalGeneralizedTraining": {
          "type": "boolean",
          "default": false
        }
      },
      "required": [
        "profileId",
        "provider",
        "models",
        "customerOwned",
        "supportsImages",
        "disclosureVersion",
        "termsUrl",
        "retentionNotice",
        "providerTrainingNotice",
        "limitations"
      ]
    },
    "allowAttachments": {
      "type": "boolean"
    }
  },
  "required": [
    "runtimeAvailable",
    "enabled",
    "policyRevision",
    "model",
    "provider",
    "allowAttachments"
  ]
}
CoreAiInvocationResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "invocationId": {
      "type": "string",
      "format": "uuid"
    },
    "provider": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "outcome": {
      "type": "string"
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "inputTokens": {
      "type": [
        "integer",
        "null"
      ]
    },
    "outputTokens": {
      "type": [
        "integer",
        "null"
      ]
    },
    "costUsd": {
      "type": [
        "number",
        "null"
      ]
    },
    "captureComplete": {
      "type": "boolean"
    },
    "retentionNotice": {
      "type": "string"
    },
    "limitations": {
      "type": "string"
    }
  },
  "required": [
    "invocationId",
    "provider",
    "model",
    "outcome",
    "text",
    "inputTokens",
    "outputTokens",
    "costUsd",
    "captureComplete",
    "retentionNotice",
    "limitations"
  ]
}
CoreAiInvocationRequest
{
  "type": "object",
  "properties": {
    "requestId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedPolicyRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "prompt": {
      "type": [
        "string",
        "null"
      ]
    },
    "acceptedDisclosureVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "sessionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "crashBucketId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "crashId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "associatedSessionIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "attachments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "contentType": {
            "type": [
              "string",
              "null"
            ]
          },
          "base64": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false,
        "patternProperties": {
          "^[cC][oO][nN][tT][eE][nN][tT][tT][yY][pP][eE]$": {
            "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/attachments/items/properties/contentType"
          },
          "^[bB][aA][sS][eE]64$": {
            "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/attachments/items/properties/base64"
          }
        }
      },
      "default": null
    },
    "confirmAttachments": {
      "type": "boolean",
      "default": false
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[rR][eE][qQ][uU][eE][sS][tT][iI][dD]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/requestId"
    },
    "^[eE][xX][pP][eE][cC][tT][eE][dD][pP][oO][lL][iI][cC][yY][rR][eE][vV][iI][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/expectedPolicyRevision"
    },
    "^[pP][rR][oO][mM][pP][tT]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/prompt"
    },
    "^[aA][cC][cC][eE][pP][tT][eE][dD][dD][iI][sS][cC][lL][oO][sS][uU][rR][eE][vV][eE][rR][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/acceptedDisclosureVersion"
    },
    "^[sS][eE][sS][sS][iI][oO][nN][iI][dD]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/sessionId"
    },
    "^[cC][rR][aA][sS][hH][bB][uU][cC][kK][eE][tT][iI][dD]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/crashBucketId"
    },
    "^[cC][rR][aA][sS][hH][iI][dD]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/crashId"
    },
    "^[aA][sS][sS][oO][cC][iI][aA][tT][eE][dD][sS][eE][sS][sS][iI][oO][nN][iI][dD][sS]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/associatedSessionIds"
    },
    "^[aA][tT][tT][aA][cC][hH][mM][eE][nN][tT][sS]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/attachments"
    },
    "^[cC][oO][nN][fF][iI][rR][mM][aA][tT][tT][aA][cC][hH][mM][eE][nN][tT][sS]$": {
      "$ref": "#/components/schemas/CoreAiInvocationRequest/properties/confirmAttachments"
    }
  }
}
CoreAppDataBindings
{
  "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"
  ]
}
CoreAppDataBindingOperation
{
  "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"
  ]
}
CoreConfigureAppDataBindingRequest
{
  "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/CoreConfigureAppDataBindingRequest/properties/requestId"
    },
    "^[aA][pP][pP][iI][dD]$": {
      "$ref": "#/components/schemas/CoreConfigureAppDataBindingRequest/properties/appId"
    },
    "^[pP][rR][oO][vV][iI][dD][eE][rR]$": {
      "$ref": "#/components/schemas/CoreConfigureAppDataBindingRequest/properties/provider"
    },
    "^[cC][oO][nN][nN][eE][cC][tT][iI][oO][nN][sS][tT][rR][iI][nN][gG]$": {
      "$ref": "#/components/schemas/CoreConfigureAppDataBindingRequest/properties/connectionString"
    },
    "^[eE][xX][pP][eE][cC][tT][eE][dD][rR][eE][vV][iI][sS][iI][oO][nN]$": {
      "$ref": "#/components/schemas/CoreConfigureAppDataBindingRequest/properties/expectedRevision"
    }
  }
}
CoreAppDataBindingScope
{
  "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"
  ]
}
CoreAppDataBindingConnectionResult
{
  "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"
  ]
}
CoreTestAppDataBindingConnectionRequest
{
  "type": "object",
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[aA][pP][pP][iI][dD]$": {
      "$ref": "#/components/schemas/CoreTestAppDataBindingConnectionRequest/properties/appId"
    }
  }
}
CoreRetryAppDataBindingCleanupRequest
{
  "type": "object",
  "additionalProperties": false
}
CoreRegulatedWorkloadStatus
{
  "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"
  ]
}
CoreAcknowledgeRegulatedStorageRequest
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "expectedAppDataBindingRevision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "expectedObjectStorageGenerationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "noticeVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "usDataFlowNoticeVersion": {
      "type": [
        "string",
        "null"
      ]
    },
    "customerOwnsStorage": {
      "type": "boolean"
    },
    "acceptResponsibilities": {
      "type": "boolean"
    },
    "acknowledgeUsProcessing": {
      "type": "boolean"
    }
  },
  "required": [
    "appId",
    "expectedAppDataBindingRevision",
    "expectedObjectStorageGenerationId",
    "noticeVersion",
    "usDataFlowNoticeVersion",
    "customerOwnsStorage",
    "acceptResponsibilities",
    "acknowledgeUsProcessing"
  ],
  "additionalProperties": false
}
CoreRegulatedStorageAcknowledgementReceipt
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "receiptId": {
      "type": "string"
    },
    "replayed": {
      "type": "boolean"
    },
    "recordedOutcome": {
      "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": [
    "receiptId",
    "replayed",
    "recordedOutcome"
  ]
}
CoreOnboardingChecklist
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "appId": {
      "type": "string"
    },
    "preference": {
      "type": "object",
      "properties": {
        "dismissed": {
          "type": "boolean"
        },
        "revision": {
          "type": "integer"
        }
      },
      "required": [
        "dismissed",
        "revision"
      ]
    },
    "steps": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "state": {
            "enum": [
              "Pending",
              "Complete",
              "Unknown",
              "Unavailable",
              "NotApplicable"
            ]
          }
        },
        "required": [
          "key",
          "state"
        ]
      }
    }
  },
  "required": [
    "appId",
    "preference",
    "steps"
  ]
}
CoreOnboardingDismissalRequest
{
  "type": "object",
  "properties": {
    "dismissed": {
      "type": "boolean"
    }
  },
  "required": [
    "dismissed"
  ],
  "additionalProperties": false
}
CoreOnboardingPreference
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "dismissed": {
      "type": "boolean"
    },
    "revision": {
      "type": "integer"
    }
  },
  "required": [
    "dismissed",
    "revision"
  ]
}
CoreSdkTestObservation
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "selectorType": {
      "type": "string"
    },
    "selectorValue": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "recordId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "occurredAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    },
    "receiptCreatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "default": null
    }
  },
  "required": [
    "tenantId",
    "appId",
    "environmentName",
    "kind",
    "selectorType",
    "selectorValue",
    "state"
  ]
}
CoreLeadAccepted
{
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "accepted": {
          "const": true
        }
      },
      "required": [
        "accepted"
      ]
    },
    {
      "type": "object",
      "properties": {
        "leadId": {
          "type": "string"
        }
      },
      "required": [
        "leadId"
      ]
    }
  ]
}
CoreLeadSubmission
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "workEmail": {
      "type": [
        "string",
        "null"
      ]
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "teamSize": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "website": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
CoreTelemetryAlertPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "canConfigure": {
      "type": "boolean"
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "ruleId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "comparator": {
            "type": "string"
          },
          "threshold": {
            "type": "number"
          },
          "windowMinutes": {
            "type": "integer"
          },
          "enabled": {
            "type": "boolean"
          },
          "muteUntil": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "revision": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "observedValue": {
            "type": [
              "number",
              "null"
            ]
          },
          "windowEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "isFiring": {
            "type": "boolean"
          }
        },
        "required": [
          "ruleId",
          "name",
          "metric",
          "comparator",
          "threshold",
          "windowMinutes",
          "enabled",
          "muteUntil",
          "revision",
          "state",
          "observedValue",
          "windowEnd",
          "isFiring"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "canConfigure",
    "metrics",
    "items",
    "nextCursor"
  ]
}
CoreTelemetryAlertNotificationPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "notificationId": {
            "type": "string"
          },
          "ruleId": {
            "type": "string"
          },
          "ruleName": {
            "type": "string"
          },
          "metric": {
            "type": "string"
          },
          "transition": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "threshold": {
            "type": "number"
          },
          "windowEnd": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "notificationId",
          "ruleId",
          "ruleName",
          "metric",
          "transition",
          "value",
          "threshold",
          "windowEnd"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
CoreTelemetryAlertRuleRequest
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 80
    },
    "metric": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "events.count",
        "crashes.unhandled.count",
        "errors.handled.count",
        "logs.error.count"
      ]
    },
    "comparator": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        ">",
        ">=",
        "<",
        "<="
      ]
    },
    "threshold": {
      "type": [
        "string",
        "number"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
      "minimum": 0,
      "multipleOf": 1,
      "description": "Integer occurrence count from 0 through 9223372036854775807 inclusive."
    },
    "windowMinutes": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "minimum": 5,
      "maximum": 1440
    },
    "enabled": {
      "type": "boolean"
    },
    "muteUntil": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "patternProperties": {
    "^[nN][aA][mM][eE]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/name"
    },
    "^[mM][eE][tT][rR][iI][cC]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/metric"
    },
    "^[cC][oO][mM][pP][aA][rR][aA][tT][oO][rR]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/comparator"
    },
    "^[tT][hH][rR][eE][sS][hH][oO][lL][dD]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/threshold"
    },
    "^[wW][iI][nN][dD][oO][wW][mM][iI][nN][uU][tT][eE][sS]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/windowMinutes"
    },
    "^[eE][nN][aA][bB][lL][eE][dD]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/enabled"
    },
    "^[mM][uU][tT][eE][uU][nN][tT][iI][lL]$": {
      "$ref": "#/components/schemas/CoreTelemetryAlertRuleRequest/properties/muteUntil"
    }
  }
}
CoreTelemetryAlertSaved
{
  "type": "object",
  "properties": {
    "ruleId": {
      "type": "string"
    },
    "revision": {
      "type": "integer",
      "format": "int64"
    }
  },
  "required": [
    "ruleId",
    "revision"
  ]
}
CoreIssueConnections
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "connectionId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "provider": {
        "enum": [
          "GitHub",
          "GitHubEnterprise",
          "AzureDevOps",
          "Jira",
          "GitLab"
        ]
      },
      "displayName": {
        "type": "string"
      },
      "authMode": {
        "enum": [
          "Pat",
          "App",
          "User"
        ]
      },
      "baseUrl": {
        "type": [
          "string",
          "null"
        ]
      },
      "defaultTarget": {
        "type": [
          "string",
          "null"
        ]
      },
      "credentialHint": {
        "type": [
          "string",
          "null"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      },
      "targetMode": {
        "enum": [
          "Single",
          "PerPlatform"
        ],
        "default": "Single"
      },
      "targetMappings": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        },
        "default": null
      }
    },
    "required": [
      "connectionId",
      "tenantId",
      "appId",
      "environmentName",
      "provider",
      "displayName",
      "authMode",
      "baseUrl",
      "defaultTarget",
      "credentialHint",
      "createdAt",
      "updatedBy"
    ]
  }
}
CoreIssueConnection
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connectionId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "provider": {
      "enum": [
        "GitHub",
        "GitHubEnterprise",
        "AzureDevOps",
        "Jira",
        "GitLab"
      ]
    },
    "displayName": {
      "type": "string"
    },
    "authMode": {
      "enum": [
        "Pat",
        "App",
        "User"
      ]
    },
    "baseUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "defaultTarget": {
      "type": [
        "string",
        "null"
      ]
    },
    "credentialHint": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "targetMode": {
      "enum": [
        "Single",
        "PerPlatform"
      ],
      "default": "Single"
    },
    "targetMappings": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  },
  "required": [
    "connectionId",
    "tenantId",
    "appId",
    "environmentName",
    "provider",
    "displayName",
    "authMode",
    "baseUrl",
    "defaultTarget",
    "credentialHint",
    "createdAt",
    "updatedBy"
  ]
}
CoreIssueConnectionCreateRequest
{
  "type": "object",
  "properties": {
    "provider": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[gG][iI][tT][hH][uU][bB]|[gG][iI][tT][hH][uU][bB][eE][nN][tT][eE][rR][pP][rR][iI][sS][eE]|[aA][zZ][uU][rR][eE][dD][eE][vV][oO][pP][sS]|[jJ][iI][rR][aA]|[gG][iI][tT][lL][aA][bB])(?:\\s*,\\s*(?:[gG][iI][tT][hH][uU][bB]|[gG][iI][tT][hH][uU][bB][eE][nN][tT][eE][rR][pP][rR][iI][sS][eE]|[aA][zZ][uU][rR][eE][dD][eE][vV][oO][pP][sS]|[jJ][iI][rR][aA]|[gG][iI][tT][lL][aA][bB]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "GitHub",
        "GitHubEnterprise",
        "AzureDevOps",
        "Jira",
        "GitLab"
      ],
      "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."
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "authMode": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[pP][aA][tT]|[aA][pP][pP]|[uU][sS][eE][rR])(?:\\s*,\\s*(?:[pP][aA][tT]|[aA][pP][pP]|[uU][sS][eE][rR]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Pat",
        "App",
        "User"
      ],
      "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."
    },
    "baseUrl": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "defaultTarget": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "personalAccessToken": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "username": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appInstallationId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "appPrivateKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "oAuthClientId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "oAuthClientSecret": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "oAuthScopes": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "targetMode": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[sS][iI][nN][gG][lL][eE]|[pP][eE][rR][pP][lL][aA][tT][fF][oO][rR][mM])(?:\\s*,\\s*(?:[sS][iI][nN][gG][lL][eE]|[pP][eE][rR][pP][lL][aA][tT][fF][oO][rR][mM]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Single",
        "PerPlatform"
      ],
      "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": "Single"
    },
    "targetMappings": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "providerConnectionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
CoreIssueConnectionRoutingUpdateRequest
{
  "type": "object",
  "properties": {
    "targetMode": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[sS][iI][nN][gG][lL][eE]|[pP][eE][rR][pP][lL][aA][tT][fF][oO][rR][mM])(?:\\s*,\\s*(?:[sS][iI][nN][gG][lL][eE]|[pP][eE][rR][pP][lL][aA][tT][fF][oO][rR][mM]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Single",
        "PerPlatform"
      ],
      "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": "Single"
    },
    "defaultTarget": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "targetMappings": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "providerConnectionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
CoreIssueConnectionIdentity
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connected": {
      "type": "boolean"
    },
    "externalLogin": {
      "type": [
        "string",
        "null"
      ]
    },
    "authorizationRequired": {
      "type": "boolean",
      "default": false
    },
    "missingScopes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "identitySelectionRequired": {
      "type": "boolean",
      "default": false
    },
    "selectedProviderConnectionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "availableIdentities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "providerConnectionId": {
            "type": "string"
          },
          "externalLogin": {
            "type": "string"
          },
          "requiredScopesGranted": {
            "type": "boolean"
          }
        },
        "required": [
          "providerConnectionId",
          "externalLogin",
          "requiredScopesGranted"
        ]
      },
      "default": null
    },
    "identityChoicesIncluded": {
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "connected",
    "externalLogin"
  ]
}
CoreGitHubRepositoryCatalog
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connected": {
      "type": "boolean"
    },
    "authorizationRequired": {
      "type": "boolean"
    },
    "externalLogin": {
      "type": [
        "string",
        "null"
      ]
    },
    "missingScopes": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "owners": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "login": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "avatarUrl": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "login",
          "kind",
          "avatarUrl"
        ]
      }
    },
    "repositories": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "owner": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "isPrivate": {
            "type": "boolean"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "owner",
          "name",
          "fullName",
          "isPrivate",
          "description"
        ]
      }
    },
    "identitySelectionRequired": {
      "type": "boolean",
      "default": false
    },
    "selectedProviderConnectionId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "availableIdentities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "providerConnectionId": {
            "type": "string"
          },
          "externalLogin": {
            "type": "string"
          },
          "requiredScopesGranted": {
            "type": "boolean"
          }
        },
        "required": [
          "providerConnectionId",
          "externalLogin",
          "requiredScopesGranted"
        ]
      },
      "default": null
    },
    "identityChoicesIncluded": {
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "connected",
    "authorizationRequired",
    "externalLogin",
    "missingScopes",
    "owners",
    "repositories"
  ]
}
CoreIssueOAuthAvailability
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "platformProviders": {
      "type": "array",
      "items": {
        "enum": [
          "GitHub",
          "GitHubEnterprise",
          "AzureDevOps",
          "Jira",
          "GitLab"
        ]
      }
    }
  },
  "required": [
    "platformProviders"
  ]
}
CoreIssueAuthorizeUrl
{
  "type": "object",
  "properties": {
    "authorizeUrl": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "authorizeUrl"
  ]
}
CoreIssueConnected
{
  "type": "object",
  "properties": {
    "connected": {
      "const": true
    }
  },
  "required": [
    "connected"
  ]
}
DashboardLocationPlace
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "placeId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "active": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "attributes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "type": {
            "enum": [
              "Text",
              "Number",
              "Boolean",
              "Date",
              "TextList"
            ],
            "default": "Text"
          },
          "visibility": {
            "enum": [
              "DeviceAndTelemetry",
              "DeviceOnly",
              "PortalOnly"
            ],
            "default": "DeviceAndTelemetry"
          }
        },
        "required": [
          "key",
          "value"
        ]
      },
      "default": null
    },
    "revision": {
      "type": "integer",
      "default": 1
    }
  },
  "required": [
    "placeId",
    "tenantId",
    "appId",
    "environmentName",
    "name",
    "latitude",
    "longitude",
    "metadata",
    "active",
    "createdAt",
    "updatedAt",
    "updatedBy"
  ]
}
DashboardLocationPlaces
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "placeId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "latitude": {
        "type": "number"
      },
      "longitude": {
        "type": "number"
      },
      "metadata": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "active": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      },
      "attributes": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "key": {
              "type": "string"
            },
            "value": {
              "type": "string"
            },
            "type": {
              "enum": [
                "Text",
                "Number",
                "Boolean",
                "Date",
                "TextList"
              ],
              "default": "Text"
            },
            "visibility": {
              "enum": [
                "DeviceAndTelemetry",
                "DeviceOnly",
                "PortalOnly"
              ],
              "default": "DeviceAndTelemetry"
            }
          },
          "required": [
            "key",
            "value"
          ]
        },
        "default": null
      },
      "revision": {
        "type": "integer",
        "default": 1
      }
    },
    "required": [
      "placeId",
      "tenantId",
      "appId",
      "environmentName",
      "name",
      "latitude",
      "longitude",
      "metadata",
      "active",
      "createdAt",
      "updatedAt",
      "updatedBy"
    ]
  }
}
DashboardLocationPlacePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "placeId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "attributes": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "type": {
                  "enum": [
                    "Text",
                    "Number",
                    "Boolean",
                    "Date",
                    "TextList"
                  ],
                  "default": "Text"
                },
                "visibility": {
                  "enum": [
                    "DeviceAndTelemetry",
                    "DeviceOnly",
                    "PortalOnly"
                  ],
                  "default": "DeviceAndTelemetry"
                }
              },
              "required": [
                "key",
                "value"
              ]
            },
            "default": null
          },
          "revision": {
            "type": "integer",
            "default": 1
          }
        },
        "required": [
          "placeId",
          "tenantId",
          "appId",
          "environmentName",
          "name",
          "latitude",
          "longitude",
          "metadata",
          "active",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardLocationGeofence
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "geofenceId": {
      "type": "string"
    },
    "placeId": {
      "type": [
        "string",
        "null"
      ]
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "radiusMeters": {
      "type": "number"
    },
    "groupKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "active": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "shape": {
      "enum": [
        "Radial",
        "Polygon"
      ],
      "default": "Radial"
    },
    "polygonVertices": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ]
      },
      "default": null
    },
    "activationMode": {
      "enum": [
        "Automatic",
        "ApplicationManaged"
      ],
      "default": "Automatic"
    },
    "monitoredTransitions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "enum": [
          "Enter",
          "Exit",
          "Dwell",
          "Silent",
          "Diagnostic"
        ]
      },
      "default": null
    },
    "cooldowns": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transition": {
            "enum": [
              "Enter",
              "Exit",
              "Dwell",
              "Silent",
              "Diagnostic"
            ]
          },
          "cooldownSeconds": {
            "type": "integer"
          }
        },
        "required": [
          "transition",
          "cooldownSeconds"
        ]
      },
      "default": null
    },
    "effectiveCooldowns": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transition": {
            "enum": [
              "Enter",
              "Exit",
              "Dwell",
              "Silent",
              "Diagnostic"
            ]
          },
          "cooldownSeconds": {
            "type": "integer"
          },
          "scope": {
            "enum": [
              "Geofence",
              "Tag"
            ]
          },
          "tag": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "transition",
          "cooldownSeconds",
          "scope"
        ]
      },
      "default": null
    },
    "revision": {
      "type": "integer",
      "default": 1
    },
    "bulkTemplateKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "geofenceId",
    "placeId",
    "tenantId",
    "appId",
    "environmentName",
    "name",
    "latitude",
    "longitude",
    "radiusMeters",
    "groupKey",
    "tags",
    "metadata",
    "active",
    "createdAt",
    "updatedAt",
    "updatedBy"
  ]
}
DashboardLocationGeofences
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "geofenceId": {
        "type": "string"
      },
      "placeId": {
        "type": [
          "string",
          "null"
        ]
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "latitude": {
        "type": "number"
      },
      "longitude": {
        "type": "number"
      },
      "radiusMeters": {
        "type": "number"
      },
      "groupKey": {
        "type": [
          "string",
          "null"
        ]
      },
      "tags": {
        "type": "array",
        "items": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "metadata": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "active": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      },
      "shape": {
        "enum": [
          "Radial",
          "Polygon"
        ],
        "default": "Radial"
      },
      "polygonVertices": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "latitude": {
              "type": "number"
            },
            "longitude": {
              "type": "number"
            }
          },
          "required": [
            "latitude",
            "longitude"
          ]
        },
        "default": null
      },
      "activationMode": {
        "enum": [
          "Automatic",
          "ApplicationManaged"
        ],
        "default": "Automatic"
      },
      "monitoredTransitions": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "enum": [
            "Enter",
            "Exit",
            "Dwell",
            "Silent",
            "Diagnostic"
          ]
        },
        "default": null
      },
      "cooldowns": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "transition": {
              "enum": [
                "Enter",
                "Exit",
                "Dwell",
                "Silent",
                "Diagnostic"
              ]
            },
            "cooldownSeconds": {
              "type": "integer"
            }
          },
          "required": [
            "transition",
            "cooldownSeconds"
          ]
        },
        "default": null
      },
      "effectiveCooldowns": {
        "type": [
          "array",
          "null"
        ],
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "transition": {
              "enum": [
                "Enter",
                "Exit",
                "Dwell",
                "Silent",
                "Diagnostic"
              ]
            },
            "cooldownSeconds": {
              "type": "integer"
            },
            "scope": {
              "enum": [
                "Geofence",
                "Tag"
              ]
            },
            "tag": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            }
          },
          "required": [
            "transition",
            "cooldownSeconds",
            "scope"
          ]
        },
        "default": null
      },
      "revision": {
        "type": "integer",
        "default": 1
      },
      "bulkTemplateKey": {
        "type": [
          "string",
          "null"
        ],
        "default": null
      }
    },
    "required": [
      "geofenceId",
      "placeId",
      "tenantId",
      "appId",
      "environmentName",
      "name",
      "latitude",
      "longitude",
      "radiusMeters",
      "groupKey",
      "tags",
      "metadata",
      "active",
      "createdAt",
      "updatedAt",
      "updatedBy"
    ]
  }
}
DashboardLocationGeofencePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "geofence": {
            "type": "object",
            "properties": {
              "geofenceId": {
                "type": "string"
              },
              "placeId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "radiusMeters": {
                "type": "number"
              },
              "groupKey": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "metadata": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "active": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string"
              },
              "shape": {
                "enum": [
                  "Radial",
                  "Polygon"
                ],
                "default": "Radial"
              },
              "polygonVertices": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "latitude": {
                      "type": "number"
                    },
                    "longitude": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "latitude",
                    "longitude"
                  ]
                },
                "default": null
              },
              "activationMode": {
                "enum": [
                  "Automatic",
                  "ApplicationManaged"
                ],
                "default": "Automatic"
              },
              "monitoredTransitions": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "enum": [
                    "Enter",
                    "Exit",
                    "Dwell",
                    "Silent",
                    "Diagnostic"
                  ]
                },
                "default": null
              },
              "cooldowns": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "transition": {
                      "enum": [
                        "Enter",
                        "Exit",
                        "Dwell",
                        "Silent",
                        "Diagnostic"
                      ]
                    },
                    "cooldownSeconds": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "transition",
                    "cooldownSeconds"
                  ]
                },
                "default": null
              },
              "effectiveCooldowns": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "transition": {
                      "enum": [
                        "Enter",
                        "Exit",
                        "Dwell",
                        "Silent",
                        "Diagnostic"
                      ]
                    },
                    "cooldownSeconds": {
                      "type": "integer"
                    },
                    "scope": {
                      "enum": [
                        "Geofence",
                        "Tag"
                      ]
                    },
                    "tag": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "transition",
                    "cooldownSeconds",
                    "scope"
                  ]
                },
                "default": null
              },
              "revision": {
                "type": "integer",
                "default": 1
              },
              "bulkTemplateKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "geofenceId",
              "placeId",
              "tenantId",
              "appId",
              "environmentName",
              "name",
              "latitude",
              "longitude",
              "radiusMeters",
              "groupKey",
              "tags",
              "metadata",
              "active",
              "createdAt",
              "updatedAt",
              "updatedBy"
            ]
          },
          "place": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "placeId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "metadata": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "active": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string"
              },
              "attributes": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "type": {
                      "enum": [
                        "Text",
                        "Number",
                        "Boolean",
                        "Date",
                        "TextList"
                      ],
                      "default": "Text"
                    },
                    "visibility": {
                      "enum": [
                        "DeviceAndTelemetry",
                        "DeviceOnly",
                        "PortalOnly"
                      ],
                      "default": "DeviceAndTelemetry"
                    }
                  },
                  "required": [
                    "key",
                    "value"
                  ]
                },
                "default": null
              },
              "revision": {
                "type": "integer",
                "default": 1
              }
            },
            "required": [
              "placeId",
              "tenantId",
              "appId",
              "environmentName",
              "name",
              "latitude",
              "longitude",
              "metadata",
              "active",
              "createdAt",
              "updatedAt",
              "updatedBy"
            ]
          },
          "tagDefinitions": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "tenantId": {
                  "type": "string"
                },
                "appId": {
                  "type": "string"
                },
                "environmentName": {
                  "type": "string"
                },
                "tag": {
                  "type": "string"
                },
                "cooldowns": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DashboardLocationGeofencePage/properties/items/items/properties/geofence/properties/cooldowns/items"
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedBy": {
                  "type": "string"
                },
                "revision": {
                  "type": "integer",
                  "default": 1
                },
                "affectedGeofence": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "geofenceId": {
                      "type": "string"
                    },
                    "previousRevision": {
                      "type": "integer"
                    },
                    "revision": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "geofenceId",
                    "previousRevision",
                    "revision"
                  ]
                }
              },
              "required": [
                "tenantId",
                "appId",
                "environmentName",
                "tag",
                "cooldowns",
                "createdAt",
                "updatedAt",
                "updatedBy"
              ]
            }
          }
        },
        "required": [
          "geofence",
          "place",
          "tagDefinitions"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardLocationTag
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "environmentName": {
      "type": "string"
    },
    "tag": {
      "type": "string"
    },
    "cooldowns": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transition": {
            "enum": [
              "Enter",
              "Exit",
              "Dwell",
              "Silent",
              "Diagnostic"
            ]
          },
          "cooldownSeconds": {
            "type": "integer"
          }
        },
        "required": [
          "transition",
          "cooldownSeconds"
        ]
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "revision": {
      "type": "integer",
      "default": 1
    },
    "affectedGeofence": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "geofenceId": {
          "type": "string"
        },
        "previousRevision": {
          "type": "integer"
        },
        "revision": {
          "type": "integer"
        }
      },
      "required": [
        "geofenceId",
        "previousRevision",
        "revision"
      ]
    }
  },
  "required": [
    "tenantId",
    "appId",
    "environmentName",
    "tag",
    "cooldowns",
    "createdAt",
    "updatedAt",
    "updatedBy"
  ]
}
DashboardLocationTags
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "tag": {
        "type": "string"
      },
      "cooldowns": {
        "type": "array",
        "items": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "transition": {
              "enum": [
                "Enter",
                "Exit",
                "Dwell",
                "Silent",
                "Diagnostic"
              ]
            },
            "cooldownSeconds": {
              "type": "integer"
            }
          },
          "required": [
            "transition",
            "cooldownSeconds"
          ]
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      },
      "revision": {
        "type": "integer",
        "default": 1
      },
      "affectedGeofence": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "geofenceId": {
            "type": "string"
          },
          "previousRevision": {
            "type": "integer"
          },
          "revision": {
            "type": "integer"
          }
        },
        "required": [
          "geofenceId",
          "previousRevision",
          "revision"
        ]
      }
    },
    "required": [
      "tenantId",
      "appId",
      "environmentName",
      "tag",
      "cooldowns",
      "createdAt",
      "updatedAt",
      "updatedBy"
    ]
  }
}
DashboardLocationTagPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "cooldowns": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "transition": {
                  "enum": [
                    "Enter",
                    "Exit",
                    "Dwell",
                    "Silent",
                    "Diagnostic"
                  ]
                },
                "cooldownSeconds": {
                  "type": "integer"
                }
              },
              "required": [
                "transition",
                "cooldownSeconds"
              ]
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "revision": {
            "type": "integer",
            "default": 1
          },
          "affectedGeofence": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "geofenceId": {
                "type": "string"
              },
              "previousRevision": {
                "type": "integer"
              },
              "revision": {
                "type": "integer"
              }
            },
            "required": [
              "geofenceId",
              "previousRevision",
              "revision"
            ]
          }
        },
        "required": [
          "tenantId",
          "appId",
          "environmentName",
          "tag",
          "cooldowns",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardLocationSettings
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "measurementSystem": {
      "enum": [
        "Metric",
        "Imperial"
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    },
    "revision": {
      "type": "integer",
      "default": 1
    }
  },
  "required": [
    "tenantId",
    "appId",
    "measurementSystem",
    "updatedAt",
    "updatedBy"
  ]
}
DashboardLocationImportSelection
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "placeId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "attributes": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "type": {
                  "enum": [
                    "Text",
                    "Number",
                    "Boolean",
                    "Date",
                    "TextList"
                  ],
                  "default": "Text"
                },
                "visibility": {
                  "enum": [
                    "DeviceAndTelemetry",
                    "DeviceOnly",
                    "PortalOnly"
                  ],
                  "default": "DeviceAndTelemetry"
                }
              },
              "required": [
                "key",
                "value"
              ]
            },
            "default": null
          },
          "revision": {
            "type": "integer",
            "default": 1
          }
        },
        "required": [
          "placeId",
          "tenantId",
          "appId",
          "environmentName",
          "name",
          "latitude",
          "longitude",
          "metadata",
          "active",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    },
    "complete": {
      "type": "boolean"
    }
  },
  "required": [
    "items",
    "complete"
  ]
}
DashboardLocationSubject
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "subjectId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "type": {
      "enum": [
        "Worker",
        "Driver",
        "Vehicle",
        "Device",
        "Asset",
        "Shipment",
        "Custom"
      ]
    },
    "displayName": {
      "type": "string"
    },
    "externalId": {
      "type": [
        "string",
        "null"
      ]
    },
    "teamKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "regionKey": {
      "type": [
        "string",
        "null"
      ]
    },
    "trackable": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "subjectId",
    "tenantId",
    "appId",
    "type",
    "displayName",
    "externalId",
    "teamKey",
    "regionKey",
    "trackable",
    "createdAt",
    "updatedAt"
  ]
}
DashboardLocationSubjects
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "subjectId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "type": {
        "enum": [
          "Worker",
          "Driver",
          "Vehicle",
          "Device",
          "Asset",
          "Shipment",
          "Custom"
        ]
      },
      "displayName": {
        "type": "string"
      },
      "externalId": {
        "type": [
          "string",
          "null"
        ]
      },
      "teamKey": {
        "type": [
          "string",
          "null"
        ]
      },
      "regionKey": {
        "type": [
          "string",
          "null"
        ]
      },
      "trackable": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "subjectId",
      "tenantId",
      "appId",
      "type",
      "displayName",
      "externalId",
      "teamKey",
      "regionKey",
      "trackable",
      "createdAt",
      "updatedAt"
    ]
  }
}
DashboardLocationSubjectPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "subjectId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "type": {
            "enum": [
              "Worker",
              "Driver",
              "Vehicle",
              "Device",
              "Asset",
              "Shipment",
              "Custom"
            ]
          },
          "displayName": {
            "type": "string"
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ]
          },
          "teamKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "regionKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "trackable": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "subjectId",
          "tenantId",
          "appId",
          "type",
          "displayName",
          "externalId",
          "teamKey",
          "regionKey",
          "trackable",
          "createdAt",
          "updatedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardLocationLatest
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "subjectId": {
        "type": "string"
      },
      "latitude": {
        "type": "number"
      },
      "longitude": {
        "type": "number"
      },
      "accuracyMeters": {
        "type": [
          "number",
          "null"
        ]
      },
      "movementState": {
        "enum": [
          "Unknown",
          "Moving",
          "Stationary"
        ]
      },
      "lastSeenAt": {
        "type": "string",
        "format": "date-time"
      },
      "source": {
        "type": "string"
      },
      "isStale": {
        "type": "boolean"
      },
      "activeTrackingSessionId": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "subjectId",
      "latitude",
      "longitude",
      "accuracyMeters",
      "movementState",
      "lastSeenAt",
      "source",
      "isStale",
      "activeTrackingSessionId"
    ]
  }
}
DashboardLocationLatestPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "state": {
            "type": "object",
            "properties": {
              "subjectId": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "accuracyMeters": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "movementState": {
                "enum": [
                  "Unknown",
                  "Moving",
                  "Stationary"
                ]
              },
              "lastSeenAt": {
                "type": "string",
                "format": "date-time"
              },
              "source": {
                "type": "string"
              },
              "isStale": {
                "type": "boolean"
              },
              "activeTrackingSessionId": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "subjectId",
              "latitude",
              "longitude",
              "accuracyMeters",
              "movementState",
              "lastSeenAt",
              "source",
              "isStale",
              "activeTrackingSessionId"
            ]
          },
          "subject": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "subjectId": {
                "type": "string"
              },
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "type": {
                "enum": [
                  "Worker",
                  "Driver",
                  "Vehicle",
                  "Device",
                  "Asset",
                  "Shipment",
                  "Custom"
                ]
              },
              "displayName": {
                "type": "string"
              },
              "externalId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "teamKey": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "regionKey": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "trackable": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "subjectId",
              "tenantId",
              "appId",
              "type",
              "displayName",
              "externalId",
              "teamKey",
              "regionKey",
              "trackable",
              "createdAt",
              "updatedAt"
            ]
          }
        },
        "required": [
          "state",
          "subject"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardLocationEvents
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "eventId": {
        "type": "string"
      },
      "identity": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "deploymentTarget": {
            "type": [
              "string",
              "null"
            ]
          },
          "clientId": {
            "type": "string"
          },
          "appVersion": {
            "type": "string"
          },
          "buildNumber": {
            "type": [
              "string",
              "null"
            ]
          },
          "sessionId": {
            "type": "string"
          },
          "userId": {
            "type": [
              "string",
              "null"
            ]
          },
          "deviceId": {
            "type": [
              "string",
              "null"
            ]
          },
          "buildVariant": {
            "type": [
              "string",
              "null"
            ]
          },
          "sdkName": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "sdkVersion": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "platform": {
            "enum": [
              "unattributed",
              "iOS",
              "Android",
              "Windows",
              "MacCatalyst",
              "Web",
              "macOS",
              "watchOS",
              "tvOS",
              "WinUI",
              "Wpf",
              "Linux",
              "iPadOS",
              null
            ],
            "default": null
          },
          "contextSchemaVersion": {
            "type": [
              "integer",
              "null"
            ]
          },
          "identityAssociation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "associationId": {
                "type": "string"
              },
              "deliveryGenerationId": {
                "type": "string",
                "format": "uuid"
              },
              "capturedAt": {
                "type": "string",
                "format": "date-time"
              },
              "resolvedState": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "schemaVersion",
              "associationId",
              "deliveryGenerationId",
              "capturedAt"
            ]
          },
          "userProfile": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "schemaVersion": {
                "type": "integer"
              },
              "displayName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "traits": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "required": [
              "schemaVersion",
              "displayName",
              "traits"
            ]
          },
          "effectiveTarget": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          },
          "effectivePlatform": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          },
          "effectiveSdkName": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          },
          "effectiveSdkVersion": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true
          }
        },
        "required": [
          "tenantId",
          "appId",
          "environmentName",
          "deploymentTarget",
          "clientId",
          "appVersion",
          "buildNumber",
          "sessionId",
          "userId",
          "deviceId",
          "buildVariant"
        ]
      },
      "kind": {
        "enum": [
          "Enter",
          "Exit",
          "Dwell",
          "Silent",
          "Diagnostic"
        ]
      },
      "geofenceId": {
        "type": [
          "string",
          "null"
        ]
      },
      "placeId": {
        "type": [
          "string",
          "null"
        ]
      },
      "latitude": {
        "type": [
          "number",
          "null"
        ]
      },
      "longitude": {
        "type": [
          "number",
          "null"
        ]
      },
      "accuracyMeters": {
        "type": [
          "number",
          "null"
        ]
      },
      "confidence": {
        "enum": [
          "High",
          "Medium",
          "Low"
        ]
      },
      "occurredAt": {
        "type": "string",
        "format": "date-time"
      },
      "receivedAt": {
        "type": "string",
        "format": "date-time"
      },
      "configurationVersion": {
        "type": [
          "string",
          "null"
        ]
      },
      "subjectId": {
        "type": [
          "string",
          "null"
        ]
      },
      "stale": {
        "type": "boolean"
      },
      "properties": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": {
          "type": [
            "string",
            "null"
          ]
        },
        "default": null
      },
      "triggerContext": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "geofenceId": {
            "type": "string"
          },
          "geofenceName": {
            "type": "string"
          },
          "geofenceRevision": {
            "type": "integer"
          },
          "shape": {
            "enum": [
              "Radial",
              "Polygon"
            ]
          },
          "activationMode": {
            "enum": [
              "Automatic",
              "ApplicationManaged"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "placeId": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "placeName": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "placeRevision": {
            "type": [
              "integer",
              "null"
            ],
            "default": null
          },
          "locationAttributes": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "key": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "type": {
                  "enum": [
                    "Text",
                    "Number",
                    "Boolean",
                    "Date",
                    "TextList"
                  ],
                  "default": "Text"
                },
                "visibility": {
                  "enum": [
                    "DeviceAndTelemetry",
                    "DeviceOnly",
                    "PortalOnly"
                  ],
                  "default": "DeviceAndTelemetry"
                }
              },
              "required": [
                "key",
                "value"
              ]
            },
            "default": null
          }
        },
        "required": [
          "geofenceId",
          "geofenceName",
          "geofenceRevision",
          "shape",
          "activationMode",
          "tags"
        ],
        "default": null
      }
    },
    "required": [
      "eventId",
      "identity",
      "kind",
      "geofenceId",
      "placeId",
      "latitude",
      "longitude",
      "accuracyMeters",
      "confidence",
      "occurredAt",
      "receivedAt",
      "configurationVersion",
      "subjectId",
      "stale"
    ]
  }
}
DashboardLocationEventPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "event": {
            "type": "object",
            "properties": {
              "eventId": {
                "type": "string"
              },
              "identity": {
                "type": "object",
                "properties": {
                  "tenantId": {
                    "type": "string"
                  },
                  "appId": {
                    "type": "string"
                  },
                  "environmentName": {
                    "type": "string"
                  },
                  "deploymentTarget": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "clientId": {
                    "type": "string"
                  },
                  "appVersion": {
                    "type": "string"
                  },
                  "buildNumber": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sessionId": {
                    "type": "string"
                  },
                  "userId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "deviceId": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "buildVariant": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "sdkName": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "sdkVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "platform": {
                    "enum": [
                      "unattributed",
                      "iOS",
                      "Android",
                      "Windows",
                      "MacCatalyst",
                      "Web",
                      "macOS",
                      "watchOS",
                      "tvOS",
                      "WinUI",
                      "Wpf",
                      "Linux",
                      "iPadOS",
                      null
                    ],
                    "default": null
                  },
                  "contextSchemaVersion": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "identityAssociation": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "schemaVersion": {
                        "type": "integer"
                      },
                      "associationId": {
                        "type": "string"
                      },
                      "deliveryGenerationId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "capturedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "resolvedState": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "schemaVersion",
                      "associationId",
                      "deliveryGenerationId",
                      "capturedAt"
                    ]
                  },
                  "userProfile": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "schemaVersion": {
                        "type": "integer"
                      },
                      "displayName": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "traits": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    },
                    "required": [
                      "schemaVersion",
                      "displayName",
                      "traits"
                    ]
                  },
                  "effectiveTarget": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "readOnly": true
                  },
                  "effectivePlatform": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "readOnly": true
                  },
                  "effectiveSdkName": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "readOnly": true
                  },
                  "effectiveSdkVersion": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "readOnly": true
                  }
                },
                "required": [
                  "tenantId",
                  "appId",
                  "environmentName",
                  "deploymentTarget",
                  "clientId",
                  "appVersion",
                  "buildNumber",
                  "sessionId",
                  "userId",
                  "deviceId",
                  "buildVariant"
                ]
              },
              "kind": {
                "enum": [
                  "Enter",
                  "Exit",
                  "Dwell",
                  "Silent",
                  "Diagnostic"
                ]
              },
              "geofenceId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "placeId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "latitude": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "longitude": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "accuracyMeters": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "confidence": {
                "enum": [
                  "High",
                  "Medium",
                  "Low"
                ]
              },
              "occurredAt": {
                "type": "string",
                "format": "date-time"
              },
              "receivedAt": {
                "type": "string",
                "format": "date-time"
              },
              "configurationVersion": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "subjectId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "stale": {
                "type": "boolean"
              },
              "properties": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "triggerContext": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "geofenceId": {
                    "type": "string"
                  },
                  "geofenceName": {
                    "type": "string"
                  },
                  "geofenceRevision": {
                    "type": "integer"
                  },
                  "shape": {
                    "enum": [
                      "Radial",
                      "Polygon"
                    ]
                  },
                  "activationMode": {
                    "enum": [
                      "Automatic",
                      "ApplicationManaged"
                    ]
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "placeId": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "placeName": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "default": null
                  },
                  "placeRevision": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "default": null
                  },
                  "locationAttributes": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "key": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        },
                        "type": {
                          "enum": [
                            "Text",
                            "Number",
                            "Boolean",
                            "Date",
                            "TextList"
                          ],
                          "default": "Text"
                        },
                        "visibility": {
                          "enum": [
                            "DeviceAndTelemetry",
                            "DeviceOnly",
                            "PortalOnly"
                          ],
                          "default": "DeviceAndTelemetry"
                        }
                      },
                      "required": [
                        "key",
                        "value"
                      ]
                    },
                    "default": null
                  }
                },
                "required": [
                  "geofenceId",
                  "geofenceName",
                  "geofenceRevision",
                  "shape",
                  "activationMode",
                  "tags"
                ],
                "default": null
              }
            },
            "required": [
              "eventId",
              "identity",
              "kind",
              "geofenceId",
              "placeId",
              "latitude",
              "longitude",
              "accuracyMeters",
              "confidence",
              "occurredAt",
              "receivedAt",
              "configurationVersion",
              "subjectId",
              "stale"
            ]
          },
          "geofenceName": {
            "type": [
              "string",
              "null"
            ]
          },
          "subjectDisplayName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "event",
          "geofenceName",
          "subjectDisplayName"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DashboardLocationEventSeries
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "bucketStart": {
        "type": "string",
        "format": "date-time"
      },
      "value": {
        "type": "number"
      }
    },
    "required": [
      "bucketStart",
      "value"
    ]
  }
}
DashboardLocationEventSummary
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "eventsByKind": {
      "type": "object",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "lowConfidence": {
      "type": "integer"
    },
    "stale": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  },
  "required": [
    "eventsByKind",
    "lowConfidence",
    "stale",
    "total"
  ]
}
DashboardLocationMapConfiguration
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "defaultBasemap": {
      "type": "string"
    },
    "basemaps": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "minimumZoom": {
            "type": "integer",
            "default": 0
          },
          "maximumZoom": {
            "type": "integer",
            "default": 19
          }
        },
        "required": [
          "id",
          "label"
        ]
      }
    }
  },
  "required": [
    "defaultBasemap",
    "basemaps"
  ]
}
DashboardLocationSearchResponse
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "resultId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "formattedAddress": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "category": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          },
          "south": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "west": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "north": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "east": {
            "type": [
              "number",
              "null"
            ],
            "default": null
          },
          "kind": {
            "enum": [
              "Business",
              "Address",
              "Area"
            ],
            "default": "Area"
          }
        },
        "required": [
          "resultId",
          "name",
          "formattedAddress",
          "latitude",
          "longitude"
        ]
      }
    },
    "attributionText": {
      "type": "string"
    },
    "attributionUrl": {
      "type": "string"
    }
  },
  "required": [
    "results",
    "attributionText",
    "attributionUrl"
  ]
}
DashboardLocationBulkPreview
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "digest": {
      "type": "string"
    },
    "configurationVersion": {
      "type": "string"
    },
    "selectedLocations": {
      "type": "integer"
    },
    "plannedCreates": {
      "type": "integer"
    },
    "existingGeofences": {
      "type": "integer"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    }
  },
  "required": [
    "digest",
    "configurationVersion",
    "selectedLocations",
    "plannedCreates",
    "existingGeofences",
    "warnings"
  ]
}
DashboardLocationBulkResult
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "selectedLocations": {
      "type": "integer"
    },
    "created": {
      "type": "integer"
    },
    "skippedExisting": {
      "type": "integer"
    },
    "geofences": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "geofenceId": {
            "type": "string"
          },
          "placeId": {
            "type": [
              "string",
              "null"
            ]
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "latitude": {
            "type": "number"
          },
          "longitude": {
            "type": "number"
          },
          "radiusMeters": {
            "type": "number"
          },
          "groupKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "tags": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "metadata": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          },
          "shape": {
            "enum": [
              "Radial",
              "Polygon"
            ],
            "default": "Radial"
          },
          "polygonVertices": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "latitude": {
                  "type": "number"
                },
                "longitude": {
                  "type": "number"
                }
              },
              "required": [
                "latitude",
                "longitude"
              ]
            },
            "default": null
          },
          "activationMode": {
            "enum": [
              "Automatic",
              "ApplicationManaged"
            ],
            "default": "Automatic"
          },
          "monitoredTransitions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "enum": [
                "Enter",
                "Exit",
                "Dwell",
                "Silent",
                "Diagnostic"
              ]
            },
            "default": null
          },
          "cooldowns": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "transition": {
                  "enum": [
                    "Enter",
                    "Exit",
                    "Dwell",
                    "Silent",
                    "Diagnostic"
                  ]
                },
                "cooldownSeconds": {
                  "type": "integer"
                }
              },
              "required": [
                "transition",
                "cooldownSeconds"
              ]
            },
            "default": null
          },
          "effectiveCooldowns": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "transition": {
                  "enum": [
                    "Enter",
                    "Exit",
                    "Dwell",
                    "Silent",
                    "Diagnostic"
                  ]
                },
                "cooldownSeconds": {
                  "type": "integer"
                },
                "scope": {
                  "enum": [
                    "Geofence",
                    "Tag"
                  ]
                },
                "tag": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "default": null
                }
              },
              "required": [
                "transition",
                "cooldownSeconds",
                "scope"
              ]
            },
            "default": null
          },
          "revision": {
            "type": "integer",
            "default": 1
          },
          "bulkTemplateKey": {
            "type": [
              "string",
              "null"
            ],
            "default": null
          }
        },
        "required": [
          "geofenceId",
          "placeId",
          "tenantId",
          "appId",
          "environmentName",
          "name",
          "latitude",
          "longitude",
          "radiusMeters",
          "groupKey",
          "tags",
          "metadata",
          "active",
          "createdAt",
          "updatedAt",
          "updatedBy"
        ]
      }
    }
  },
  "required": [
    "selectedLocations",
    "created",
    "skippedExisting",
    "geofences"
  ]
}
DashboardLocationPlaceWrite
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "latitude": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
    },
    "longitude": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "active": {
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    },
    "attributes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "key": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "type": [
              "string",
              "null"
            ]
          },
          "type": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[tT][eE][xX][tT]|[nN][uU][mM][bB][eE][rR]|[bB][oO][oO][lL][eE][aA][nN]|[dD][aA][tT][eE]|[tT][eE][xX][tT][lL][iI][sS][tT])(?:\\s*,\\s*(?:[tT][eE][xX][tT]|[nN][uU][mM][bB][eE][rR]|[bB][oO][oO][lL][eE][aA][nN]|[dD][aA][tT][eE]|[tT][eE][xX][tT][lL][iI][sS][tT]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Text",
              "Number",
              "Boolean",
              "Date",
              "TextList"
            ],
            "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": "Text"
          },
          "visibility": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[dD][eE][vV][iI][cC][eE][aA][nN][dD][tT][eE][lL][eE][mM][eE][tT][rR][yY]|[dD][eE][vV][iI][cC][eE][oO][nN][lL][yY]|[pP][oO][rR][tT][aA][lL][oO][nN][lL][yY])(?:\\s*,\\s*(?:[dD][eE][vV][iI][cC][eE][aA][nN][dD][tT][eE][lL][eE][mM][eE][tT][rR][yY]|[dD][eE][vV][iI][cC][eE][oO][nN][lL][yY]|[pP][oO][rR][tT][aA][lL][oO][nN][lL][yY]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "DeviceAndTelemetry",
              "DeviceOnly",
              "PortalOnly"
            ],
            "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": "DeviceAndTelemetry"
          }
        }
      },
      "default": null
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    }
  }
}
DashboardLocationGeofenceWrite
{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "latitude": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
    },
    "longitude": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
    },
    "radiusMeters": {
      "type": [
        "string",
        "number",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
    },
    "placeId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "groupKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "active": {
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    },
    "tags": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    },
    "shape": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[rR][aA][dD][iI][aA][lL]|[pP][oO][lL][yY][gG][oO][nN])(?:\\s*,\\s*(?:[rR][aA][dD][iI][aA][lL]|[pP][oO][lL][yY][gG][oO][nN]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Radial",
        "Polygon"
      ],
      "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
    },
    "polygonVertices": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "latitude": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
          },
          "longitude": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
          }
        },
        "required": [
          "latitude",
          "longitude"
        ]
      },
      "default": null
    },
    "clearPlaceLink": {
      "type": "boolean",
      "default": false
    },
    "activationMode": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Automatic",
        "ApplicationManaged"
      ],
      "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
    },
    "monitoredTransitions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "anyOf": [
          {
            "type": "string",
            "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
          },
          {
            "type": "integer"
          }
        ],
        "x-appportal-canonical-enum-values": [
          "Enter",
          "Exit",
          "Dwell",
          "Silent",
          "Diagnostic"
        ],
        "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
    },
    "cooldowns": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transition": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Enter",
              "Exit",
              "Dwell",
              "Silent",
              "Diagnostic"
            ],
            "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."
          },
          "cooldownSeconds": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      },
      "default": null
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "bulkTemplateKey": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DashboardLocationTagWrite
{
  "type": "object",
  "properties": {
    "cooldowns": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "transition": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Enter",
              "Exit",
              "Dwell",
              "Silent",
              "Diagnostic"
            ],
            "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."
          },
          "cooldownSeconds": {
            "type": [
              "string",
              "integer"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)$"
          }
        }
      }
    },
    "expectedRevision": {
      "type": [
        "string",
        "integer",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    },
    "expectedGeofence": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "geofenceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "revision": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        }
      }
    }
  }
}
DashboardLocationSettingsWrite
{
  "type": "object",
  "properties": {
    "measurementSystem": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[mM][eE][tT][rR][iI][cC]|[iI][mM][pP][eE][rR][iI][aA][lL])(?:\\s*,\\s*(?:[mM][eE][tT][rR][iI][cC]|[iI][mM][pP][eE][rR][iI][aA][lL]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "Metric",
        "Imperial"
      ],
      "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",
        "null"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "default": null
    }
  }
}
DashboardLocationSearch
{
  "type": "object",
  "properties": {
    "query": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DashboardLocationBulkRequest
{
  "type": "object",
  "properties": {
    "selection": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "allMatching": {
          "type": "boolean"
        },
        "search": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        },
        "placeIds": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        },
        "excludedPlaceIds": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "default": null
        }
      }
    },
    "templates": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "templateKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "radiusMeters": {
            "type": [
              "string",
              "number"
            ],
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
          },
          "tags": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            },
            "default": null
          },
          "activationMode": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
              },
              {
                "type": "integer"
              }
            ],
            "x-appportal-canonical-enum-values": [
              "Automatic",
              "ApplicationManaged"
            ],
            "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": "Automatic"
          },
          "monitoredTransitions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
                },
                {
                  "type": "integer"
                }
              ],
              "x-appportal-canonical-enum-values": [
                "Enter",
                "Exit",
                "Dwell",
                "Silent",
                "Diagnostic"
              ],
              "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
          },
          "cooldowns": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "transition": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-appportal-canonical-enum-values": [
                    "Enter",
                    "Exit",
                    "Dwell",
                    "Silent",
                    "Diagnostic"
                  ],
                  "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."
                },
                "cooldownSeconds": {
                  "type": [
                    "string",
                    "integer"
                  ],
                  "pattern": "^-?(?:0|[1-9]\\d*)$"
                }
              }
            },
            "default": null
          }
        }
      }
    }
  }
}
DashboardLocationBulkApply
{
  "type": "object",
  "properties": {
    "request": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "selection": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "allMatching": {
              "type": "boolean"
            },
            "search": {
              "type": [
                "string",
                "null"
              ],
              "default": null
            },
            "placeIds": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "default": null
            },
            "excludedPlaceIds": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "default": null
            }
          }
        },
        "templates": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "templateKey": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "radiusMeters": {
                "type": [
                  "string",
                  "number"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$"
              },
              "tags": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "default": null
              },
              "activationMode": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^\\s*(?:(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD])(?:\\s*,\\s*(?:[aA][uU][tT][oO][mM][aA][tT][iI][cC]|[aA][pP][pP][lL][iI][cC][aA][tT][iI][oO][nN][mM][aA][nN][aA][gG][eE][dD]))*|[+-]?[0-9]+)\\s*$"
                  },
                  {
                    "type": "integer"
                  }
                ],
                "x-appportal-canonical-enum-values": [
                  "Automatic",
                  "ApplicationManaged"
                ],
                "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": "Automatic"
              },
              "monitoredTransitions": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
                    },
                    {
                      "type": "integer"
                    }
                  ],
                  "x-appportal-canonical-enum-values": [
                    "Enter",
                    "Exit",
                    "Dwell",
                    "Silent",
                    "Diagnostic"
                  ],
                  "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
              },
              "cooldowns": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "transition": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^\\s*(?:(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC])(?:\\s*,\\s*(?:[eE][nN][tT][eE][rR]|[eE][xX][iI][tT]|[dD][wW][eE][lL][lL]|[sS][iI][lL][eE][nN][tT]|[dD][iI][aA][gG][nN][oO][sS][tT][iI][cC]))*|[+-]?[0-9]+)\\s*$"
                        },
                        {
                          "type": "integer"
                        }
                      ],
                      "x-appportal-canonical-enum-values": [
                        "Enter",
                        "Exit",
                        "Dwell",
                        "Silent",
                        "Diagnostic"
                      ],
                      "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."
                    },
                    "cooldownSeconds": {
                      "type": [
                        "string",
                        "integer"
                      ],
                      "pattern": "^-?(?:0|[1-9]\\d*)$"
                    }
                  }
                },
                "default": null
              }
            }
          }
        }
      }
    },
    "previewDigest": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DashboardLocationProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  }
}
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"
  ]
}
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"
  ]
}
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"
  ]
}
AuditActivityEntry
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "activityId": {
      "type": "string"
    },
    "actor": {
      "type": "string"
    },
    "action": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "result": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "appId": {
      "type": [
        "string",
        "null"
      ]
    },
    "environmentName": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "activityId",
    "actor",
    "action",
    "target",
    "result",
    "occurredAt",
    "appId",
    "environmentName"
  ]
}
DashboardGovernanceEntitlements
{
  "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"
    ]
  }
}
DashboardGovernanceFlags
{
  "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"
    ]
  }
}
DashboardGovernanceFlagPage
{
  "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"
  ]
}
DashboardGovernanceAudit
{
  "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"
    ]
  }
}
DashboardGovernanceAuditPage
{
  "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"
  ]
}
DashboardGovernanceActivityPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "activityId": {
            "type": "string"
          },
          "actor": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "result": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "appId": {
            "type": [
              "string",
              "null"
            ]
          },
          "environmentName": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "activityId",
          "actor",
          "action",
          "target",
          "result",
          "occurredAt",
          "appId",
          "environmentName"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
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
    }
  }
}
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"
  ]
}
BrandingPermissionChange
{
  "type": "object",
  "properties": {
    "revision": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DownloadManagementChannel
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "channelId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "appId": {
      "type": "string"
    },
    "key": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "rank": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "channelId",
    "tenantId",
    "appId",
    "key",
    "name",
    "rank",
    "createdAt"
  ]
}
DownloadManagementChannels
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "channelId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "key": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "rank": {
        "type": "integer"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "channelId",
      "tenantId",
      "appId",
      "key",
      "name",
      "rank",
      "createdAt"
    ]
  }
}
DownloadManagementChannelPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "channelId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "rank": {
            "type": "integer"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "channelId",
          "tenantId",
          "appId",
          "key",
          "name",
          "rank",
          "createdAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementMembers
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "channelId": {
        "type": "string"
      },
      "principalKind": {
        "enum": [
          "User",
          "Team"
        ]
      },
      "principalId": {
        "type": "string"
      },
      "addedAt": {
        "type": "string",
        "format": "date-time"
      }
    },
    "required": [
      "channelId",
      "principalKind",
      "principalId",
      "addedAt"
    ]
  }
}
DownloadManagementMemberPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "channelId": {
            "type": "string"
          },
          "principalKind": {
            "enum": [
              "User",
              "Team"
            ]
          },
          "principalId": {
            "type": "string"
          },
          "addedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "channelId",
          "principalKind",
          "principalId",
          "addedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementEligibleMembers
{
  "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"
    ]
  }
}
DownloadManagementCandidatePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "member": {
            "type": "object",
            "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"
            ]
          },
          "assigned": {
            "type": "boolean"
          }
        },
        "required": [
          "member",
          "assigned"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementArtifactPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "artifact": {
            "type": "object",
            "properties": {
              "artifactId": {
                "type": "string"
              },
              "kind": {
                "enum": [
                  "Ipa",
                  "Aab",
                  "Apk",
                  "WindowsZip"
                ]
              },
              "fileName": {
                "type": "string"
              },
              "contentType": {
                "type": "string"
              },
              "sizeBytes": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "tenantId": {
                "type": "string"
              },
              "appId": {
                "type": "string"
              },
              "environmentName": {
                "type": "string"
              },
              "deploymentTarget": {
                "type": "string"
              },
              "storageKey": {
                "type": "string"
              },
              "state": {
                "type": "integer"
              },
              "bundleId": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "appVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "buildNumber": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "displayName": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              },
              "iconStorageKey": {
                "type": [
                  "string",
                  "null"
                ],
                "default": null
              }
            },
            "required": [
              "artifactId",
              "kind",
              "fileName",
              "contentType",
              "sizeBytes",
              "createdAt",
              "tenantId",
              "appId",
              "environmentName",
              "deploymentTarget",
              "storageKey",
              "state"
            ]
          },
          "releasedAt": {
            "type": "string",
            "format": "date-time"
          },
          "signingInfo": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "platform": {
                "type": "string"
              },
              "signed": {
                "type": "boolean"
              },
              "summary": {
                "type": "string"
              },
              "schemes": {
                "type": "array",
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "signerName": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "certificateSha256": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "isDebugSigned": {
                "type": "boolean"
              },
              "certificateExpiresAt": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "provisionedDeviceCount": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "distributionType": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "analyzedAt": {
                "type": "string",
                "format": "date-time"
              },
              "analysisVersion": {
                "type": "integer",
                "default": 0
              },
              "rootCodeSignature": {
                "enum": [
                  "unavailable",
                  "unsupported",
                  "invalid",
                  "verified",
                  null
                ]
              }
            },
            "required": [
              "platform",
              "signed",
              "summary",
              "schemes",
              "signerName",
              "certificateSha256",
              "isDebugSigned",
              "certificateExpiresAt",
              "provisionedDeviceCount",
              "distributionType",
              "analyzedAt"
            ],
            "default": null
          },
          "releaseNotes": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "releaseId": {
                "type": "string"
              },
              "text": {
                "type": "string"
              },
              "isTruncated": {
                "type": "boolean"
              }
            },
            "required": [
              "releaseId",
              "text",
              "isTruncated"
            ],
            "default": null
          }
        },
        "required": [
          "artifact",
          "releasedAt"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementAuditEvents
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "auditEventId": {
        "type": "string"
      },
      "action": {
        "type": "string"
      },
      "subject": {
        "type": "string"
      },
      "occurredAt": {
        "type": "string",
        "format": "date-time"
      },
      "result": {
        "type": "string"
      },
      "artifactId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "appId": {
        "type": "string"
      },
      "environmentName": {
        "type": "string"
      },
      "deploymentTarget": {
        "type": "string"
      }
    },
    "required": [
      "auditEventId",
      "action",
      "subject",
      "occurredAt",
      "result",
      "artifactId",
      "tenantId",
      "appId",
      "environmentName",
      "deploymentTarget"
    ]
  }
}
DownloadManagementAuditPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "auditEventId": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "occurredAt": {
            "type": "string",
            "format": "date-time"
          },
          "result": {
            "type": "string"
          },
          "artifactId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "appId": {
            "type": "string"
          },
          "environmentName": {
            "type": "string"
          },
          "deploymentTarget": {
            "type": "string"
          }
        },
        "required": [
          "auditEventId",
          "action",
          "subject",
          "occurredAt",
          "result",
          "artifactId",
          "tenantId",
          "appId",
          "environmentName",
          "deploymentTarget"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementAppleConnection
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "connectionId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "teamId": {
      "type": "string"
    },
    "keyId": {
      "type": "string"
    },
    "issuerId": {
      "type": "string"
    },
    "certificateName": {
      "type": [
        "string",
        "null"
      ]
    },
    "certificateExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "credentialHint": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    }
  },
  "required": [
    "connectionId",
    "tenantId",
    "displayName",
    "teamId",
    "keyId",
    "issuerId",
    "certificateName",
    "certificateExpiresAt",
    "credentialHint",
    "createdAt",
    "updatedBy"
  ]
}
DownloadManagementAppleConnections
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "connectionId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "teamId": {
        "type": "string"
      },
      "keyId": {
        "type": "string"
      },
      "issuerId": {
        "type": "string"
      },
      "certificateName": {
        "type": [
          "string",
          "null"
        ]
      },
      "certificateExpiresAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "credentialHint": {
        "type": [
          "string",
          "null"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      }
    },
    "required": [
      "connectionId",
      "tenantId",
      "displayName",
      "teamId",
      "keyId",
      "issuerId",
      "certificateName",
      "certificateExpiresAt",
      "credentialHint",
      "createdAt",
      "updatedBy"
    ]
  }
}
DownloadManagementApplePage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "connectionId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "teamId": {
            "type": "string"
          },
          "keyId": {
            "type": "string"
          },
          "issuerId": {
            "type": "string"
          },
          "certificateName": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificateExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "credentialHint": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "connectionId",
          "tenantId",
          "displayName",
          "teamId",
          "keyId",
          "issuerId",
          "certificateName",
          "certificateExpiresAt",
          "credentialHint",
          "createdAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementAndroidCredential
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "credentialId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "keyAlias": {
      "type": "string"
    },
    "certificateSha256": {
      "type": [
        "string",
        "null"
      ]
    },
    "certificateExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "credentialHint": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedBy": {
      "type": "string"
    }
  },
  "required": [
    "credentialId",
    "tenantId",
    "displayName",
    "keyAlias",
    "certificateSha256",
    "certificateExpiresAt",
    "credentialHint",
    "createdAt",
    "updatedBy"
  ]
}
DownloadManagementAndroidCredentials
{
  "type": [
    "array",
    "null"
  ],
  "items": {
    "type": [
      "object",
      "null"
    ],
    "properties": {
      "credentialId": {
        "type": "string"
      },
      "tenantId": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "keyAlias": {
        "type": "string"
      },
      "certificateSha256": {
        "type": [
          "string",
          "null"
        ]
      },
      "certificateExpiresAt": {
        "type": [
          "string",
          "null"
        ],
        "format": "date-time"
      },
      "credentialHint": {
        "type": [
          "string",
          "null"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      },
      "updatedBy": {
        "type": "string"
      }
    },
    "required": [
      "credentialId",
      "tenantId",
      "displayName",
      "keyAlias",
      "certificateSha256",
      "certificateExpiresAt",
      "credentialHint",
      "createdAt",
      "updatedBy"
    ]
  }
}
DownloadManagementAndroidPage
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "credentialId": {
            "type": "string"
          },
          "tenantId": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "keyAlias": {
            "type": "string"
          },
          "certificateSha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "certificateExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "credentialHint": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "string"
          }
        },
        "required": [
          "credentialId",
          "tenantId",
          "displayName",
          "keyAlias",
          "certificateSha256",
          "certificateExpiresAt",
          "credentialHint",
          "createdAt",
          "updatedBy"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "items",
    "nextCursor"
  ]
}
DownloadManagementSigningInfo
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "platform": {
      "type": "string"
    },
    "signed": {
      "type": "boolean"
    },
    "summary": {
      "type": "string"
    },
    "schemes": {
      "type": "array",
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "signerName": {
      "type": [
        "string",
        "null"
      ]
    },
    "certificateSha256": {
      "type": [
        "string",
        "null"
      ]
    },
    "isDebugSigned": {
      "type": "boolean"
    },
    "certificateExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "provisionedDeviceCount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "distributionType": {
      "type": [
        "string",
        "null"
      ]
    },
    "analyzedAt": {
      "type": "string",
      "format": "date-time"
    },
    "analysisVersion": {
      "type": "integer",
      "default": 0
    },
    "rootCodeSignature": {
      "enum": [
        "unavailable",
        "unsupported",
        "invalid",
        "verified",
        null
      ]
    }
  },
  "required": [
    "platform",
    "signed",
    "summary",
    "schemes",
    "signerName",
    "certificateSha256",
    "isDebugSigned",
    "certificateExpiresAt",
    "provisionedDeviceCount",
    "distributionType",
    "analyzedAt"
  ]
}
DownloadManagementShareLink
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "linkId": {
      "type": "string"
    },
    "publicUrl": {
      "type": "string"
    },
    "qrImageDataUrl": {
      "type": "string"
    },
    "channelId": {
      "type": "string"
    },
    "artifactId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "linkId",
    "publicUrl",
    "qrImageDataUrl",
    "channelId",
    "artifactId"
  ]
}
DownloadManagementCreateChannel
{
  "type": "object",
  "properties": {
    "key": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "rank": {
      "type": [
        "string",
        "integer"
      ],
      "pattern": "^-?(?:0|[1-9]\\d*)$"
    }
  }
}
DownloadManagementAssignMember
{
  "type": "object",
  "properties": {
    "principalKind": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\s*(?:(?:[uU][sS][eE][rR]|[tT][eE][aA][mM])(?:\\s*,\\s*(?:[uU][sS][eE][rR]|[tT][eE][aA][mM]))*|[+-]?[0-9]+)\\s*$"
        },
        {
          "type": "integer"
        }
      ],
      "x-appportal-canonical-enum-values": [
        "User",
        "Team"
      ],
      "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."
    },
    "principalId": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DownloadManagementPromoteArtifact
{
  "type": "object",
  "properties": {
    "channelId": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DownloadManagementCreateShare
{
  "type": "object",
  "properties": {
    "releaseId": {
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  }
}
DownloadManagementCreateApple
{
  "type": "object",
  "properties": {
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "teamId": {
      "type": [
        "string",
        "null"
      ]
    },
    "keyId": {
      "type": [
        "string",
        "null"
      ]
    },
    "issuerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "apiPrivateKeyP8": {
      "type": [
        "string",
        "null"
      ],
      "writeOnly": true,
      "x-appportal-sensitive": true
    },
    "distributionCertificateP12Base64": {
      "type": [
        "string",
        "null"
      ],
      "writeOnly": true,
      "x-appportal-sensitive": true
    },
    "distributionCertificatePassword": {
      "type": [
        "string",
        "null"
      ],
      "writeOnly": true,
      "x-appportal-sensitive": true
    }
  }
}
DownloadManagementCreateAndroid
{
  "type": "object",
  "properties": {
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "keyAlias": {
      "type": [
        "string",
        "null"
      ]
    },
    "keystoreBase64": {
      "type": [
        "string",
        "null"
      ],
      "writeOnly": true,
      "x-appportal-sensitive": true
    },
    "keystorePassword": {
      "type": [
        "string",
        "null"
      ],
      "writeOnly": true,
      "x-appportal-sensitive": true
    },
    "keyPassword": {
      "type": [
        "string",
        "null"
      ],
      "writeOnly": true,
      "x-appportal-sensitive": true
    }
  }
}
DownloadManagementOk
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false
}
DownloadManagementAssignedMember
{
  "type": "object",
  "properties": {
    "channelId": {
      "type": "string"
    },
    "principalKind": {
      "enum": [
        "User",
        "Team"
      ]
    },
    "principalId": {
      "type": "string"
    }
  },
  "required": [
    "channelId",
    "principalKind",
    "principalId"
  ],
  "additionalProperties": false
}
DownloadManagementPublished
{
  "type": "object",
  "properties": {
    "artifactId": {
      "type": "string"
    },
    "channelId": {
      "type": "string"
    }
  },
  "required": [
    "artifactId",
    "channelId"
  ],
  "additionalProperties": false
}
DownloadManagementDistribution
{
  "type": "object",
  "properties": {
    "fileName": {
      "type": "string"
    },
    "signing": {
      "$ref": "#/components/schemas/DownloadManagementSigningInfo"
    },
    "unavailableReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "canDistribute": {
      "type": "boolean"
    },
    "assignedGroupIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "fileName",
    "signing",
    "unavailableReason",
    "canDistribute",
    "assignedGroupIds"
  ],
  "additionalProperties": false
}
DownloadManagementProblem
{
  "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"
    },
    "traceId": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "errorCode": {
      "type": "string"
    }
  }
}
DashboardIssueConnectionPage
{
  "type": "object",
  "required": [
    "items",
    "nextCursor"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CoreIssueConnection"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
DashboardGitHubRepositoryPage
{
  "type": "object",
  "required": [
    "items",
    "nextCursor",
    "connected",
    "authorizationRequired",
    "externalLogin",
    "missingScopes",
    "identitySelectionRequired",
    "selectedProviderConnectionId"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "owner": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "isPrivate": {
            "type": "boolean"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "owner",
          "name",
          "fullName",
          "isPrivate",
          "description"
        ]
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "connected": {
      "type": "boolean"
    },
    "authorizationRequired": {
      "type": "boolean"
    },
    "externalLogin": {
      "type": [
        "string",
        "null"
      ]
    },
    "missingScopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "identitySelectionRequired": {
      "type": "boolean"
    },
    "selectedProviderConnectionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "identityChoicesIncluded": {
      "type": "boolean",
      "default": false
    },
    "totalCount": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "default": null
    }
  }
}