v56

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01142337440.5 KB
ProfilesService
Profiles

Retrieves the profile for the credentials accessing the API

Retrieves the profile of the authenticated caller. Useful to check which principal a token belongs to.

get/v1/whoami

Response

OK

Example response

{
  "metadata": {
    "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
    "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
  }
}