Get bounded authenticated local session context

Returns only the server-derived local organization, authentication class, canonical granted scopes, and local mode. It never returns tokens, token hashes, principal identifiers, vault references, or session identifiers.

get/v1/session-context

Request

  • Base URL: https://api.looot.ai
  • URL: https://api.looot.ai/v1/session-context
  • Auth: HTTP bearer

Query parameters

includestring
Example:expiresAt

expiresAt adds the token's own expiry to the response; organizationName adds the organization's display name. Comma-separated or repeated.

Response

Authenticated local session context

mode'local_alpha' required
authenticationClass'local_static_token' | 'machine_session' required
scopesstring[] required
deploymentMode'fixture_demo' | 'authenticated_sandbox' | 'approved_production' | 'degraded' required

Operator-facing deployment mode: fixture_demo/authenticated_sandbox in local_alpha, approved_production in production, degraded whenever live readiness fails regardless of mode.

roleunknown required
expiresAtstring date-time nullable

Present only for ?include=expiresAt: the presenting token's own expiry (ISO 8601 UTC), or null when it has none.

organizationNamestring nullable

Present only for ?include=organizationName: the organization's display name, or null when the gateway could not read one.

Changes

No recorded changes to this operation across all 1 revision of this API.