Identity

Identity check

Returns the user, account, and scopes the current key resolves to. Useful to confirm a key is valid and discover which workspace it operates against. Requires the workspace:read scope.

get/me

Request

  • Base URL: https://api.getcoherence.io/v1
  • URL: https://api.getcoherence.io/v1/me
  • Auth: HTTP bearer

Response

Identity payload

userIdstring uuid
accountIdstring uuid
roleSlugsstring[]
authMethod'api_key' | 'jwt'
apiKeyIdstring nullable
scopesstring[] nullable

Changes

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