GET
/auth/contextGet auth context
Requires Bearer authentication. See Authentication.
Responses
200 200| Field | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
authMethodrequired | enum (4) | — | ||||||||||||||||||||||||||||||
principalrequired | AuthContextPrincipal | — | ||||||||||||||||||||||||||||||
type = user
type = api-key
type = mcp-api-key
| ||||||||||||||||||||||||||||||||
tenantrequired | object | — | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
environmentrequired | "PRODUCTION" | "STAGING" | "DEVELOPMENT" | — | ||||||||||||||||||||||||||||||
environmentMode | "fixed" | "per-call" | — | ||||||||||||||||||||||||||||||
availableEnvironments | "PRODUCTION" | "STAGING" | "DEVELOPMENT"[] | — | ||||||||||||||||||||||||||||||
scopesrequired | string[] | — | ||||||||||||||||||||||||||||||
permissionsrequired | string[] | — | ||||||||||||||||||||||||||||||
401 401| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | — | |||||||||
| |||||||||||
Errors
Errors use the standard envelope. See Errors for codes, status mappings, and retry semantics.