Identity
Choose your language:
Use whoami to verify which organization and actor the client is using.
client.whoami()
Inspect the authenticated actor and organization.
| SDK | client.whoami() |
|---|---|
| Returns | Whoami |
Parameters: none.
Return fields:
| Field | Type | Description |
|---|---|---|
organization_id | string | Organization resolved from the authenticated user or API key. |
actor_type | "user" or "api_key" | Authentication source. |
actor_label | string | Display label for the actor. |
api_key_id | string | Present for API key authentication. |
api_key_name | string | Present for API key authentication. |
api_key_prefix | string | Present for API key authentication. |
Was this page helpful?