Visibility: public · internal ( OpenAPI Custom Extension: x-visibility )
Determine whether an access token is currently active and return its claims. Inspired by RFC 7662 (OAuth 2.0 Token Introspection) but uses application/json instead of form-encoded requests.
A token is considered active when all of the following are true:
This endpoint is intended for resource servers that need to validate a token beyond signature verification — for example, before executing sensitive operations where even a short-lived token should be checked against the current credential state.
The caller must be authenticated (typically a resource server using its own service account credentials).
Bearer token authentication using OAuth2/OIDC tokens
The access token (JWT) to introspect.
Introspection result. If the token is active, the full claim set is returned. If inactive, only active: false is returned — no claims are exposed for invalid tokens.
Returned when the token is valid and active. Includes the full decoded claim set per RFC 7662.
Token is active.
true Subject — the principal identifier. User ID for interactive sessions and API keys, service account clientId for client_credentials.
"user-xyz789"
Issuer URL.
"https://auth.platform.example.com"
Intended audience.
Expiration time (Unix timestamp).
Issued-at time (Unix timestamp).
Unique token identifier.
Organization/tenant identifier.
"org-acme"
The resource hierarchy level this token is scoped to.
organization, project Resource identifier for the token's scope boundary.
"proj-abc123"
Effective roles for this token. For API keys, this is the intersection of the key's roles and the user's current roles. For service accounts, these are the directly assigned roles. May be further narrowed if scope narrowing was applied at mint time.
["viewer", "member"]How the caller authenticated. Allows downstream services to apply principal-type-specific policies.
user, api_key, service_account Identifier of the credential used to mint this token. API key ID for api_key grants, credential ID for client_credentials grants. Null for interactive sessions.
"apikey-j2k3l4"