User management

Resolve the caller identity

Disclaimer: This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the identity of the authenticated caller. For a user (JWT or clickhousectl token) the result carries the user fields; for an organization API key it carries the key fields instead. Use actorType to tell the two apart.

get/v1/whoami

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, union

Example response

{
  "status": 200,
  "result": {
    "email": "jane.doe@example.com"
  }
}

Changes

No recorded changes to this operation across all 35 revisions of this API.