Skip to main content
GET
Error
Back to the Project deployment APIs overview Use this endpoint to describe the credential that makes the call. It accepts a Bearer token. The response includes the key ID, tenant ID, allowed project IDs, scopes, and client ID. The via field shows whether the credential is an API key (apiKey) or a token (token). Check the environments field before you deploy or promote. It lists the environments (dev, staging, or production) where the caller has deploy and promote authority. This authority gates deployments and promotions independent of scopes.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Resolved principal

success
boolean
required
whoami
object
required