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"
}
}Changes
Changed in 2 of the 57 revisions of this API.2
- ○
added the optional property
metadata/createdAtto the response with the200statusresponse-optional-property-added
This revision also has 27 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○