Authentication

Return the caller's verified identity: tenant, service, and credential linkage.

Lightweight endpoint for clients to read server-verified context without trusting locally-stored credential files. Works for all token types (Project Key, API token, user token). service_id is null for a service-less context, such as an admin-app request without an X-Admin-Tenant-Id header.

get/auth/whoami

Request

Response

Successful Response

tenant_idstring required
service_idstring nullable
substring required
project_key_idstring nullable
token_typestring required

Changes

    • breaking

      the response property became optional for the status

    • breaking

      response property service_id list-of-types was widened by adding types null to media type application/json of response 200