Skip to content
Go to Boltz API

Auth

Inspect the authentication context for the current credential, including the organization or workspace scope for API keys and the available organization memberships for OAuth bearer tokens. OAuth callers can use this information to choose which organization to send with future requests.

Get current compute auth context
GET/compute/v1/auth/me
ModelsExpand Collapse
AuthMeResponse = object { api_key_id, key_type, mode, 4 more } or object { active_organization_id, organization_memberships, principal_type, 2 more }
One of the following:
AuthMeAPIKeyResponse object { api_key_id, key_type, mode, 4 more }
api_key_id: string
key_type: "admin" or "workspace"
One of the following:
"admin"
"workspace"
mode: "live" or "test"
One of the following:
"live"
"test"
organization_id: string
principal_type: "api_key"
selected_organization_id: string
workspace_id: string
AuthMeUserResponse object { active_organization_id, organization_memberships, principal_type, 2 more }
active_organization_id: string
organization_memberships: array of object { compute_role, organization_id }
compute_role: "admin" or "member"
One of the following:
"admin"
"member"
organization_id: string
principal_type: "user"
selected_organization_id: string
user_id: string