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
auth.me() -> AuthMeResponse
GET/compute/v1/auth/me
ModelsExpand Collapse
One of the following:
class AuthMeAPIKeyResponse:
api_key_id: str
key_type: Literal["admin", "workspace"]
One of the following:
"admin"
"workspace"
mode: Literal["live", "test"]
One of the following:
"live"
"test"
organization_id: str
principal_type: Literal["api_key"]
selected_organization_id: str
workspace_id: Optional[str]
class AuthMeUserResponse:
active_organization_id: Optional[str]
organization_memberships: List[AuthMeUserResponseOrganizationMembership]
compute_role: Literal["admin", "member"]
One of the following:
"admin"
"member"
organization_id: str
principal_type: Literal["user"]
selected_organization_id: Optional[str]
user_id: str