Context

Who am I

Returns who the request acts as and for which organization. Use it to check a credential before you rely on it.

get/users/v2/whoami

Request

  • Base URL
    https://odyssey.asteroid.ai
  • URL
    https://odyssey.asteroid.ai/users/v2/whoami
  • Auth
    API key in header X-Api-Key

Response

The request has succeeded.

apiKeyIdstring

The user-scoped key that authenticated the request, when one did. An org key's id is id.

credential'jwt' | 'user_api_key' | 'org_api_key' | 'service' | 'staff_token' required

The credential that authenticated the request

idstring required

The person's id, the key's id, or the service's name

kind'person' | 'api_key' | 'service' required

The kind of caller a request acts as

onBehalfOfstring uuid
organizationIdstring uuid

Changes

No recorded changes to this operation across all 1 revision of this API.