API keys

Get list of keys

Returns a list of keys in the organization, ordered by creation date, oldest first. Results are capped at limit (default 250) per page; the server may return fewer and caps the value at its own maximum. Every response carries limit, totalCount and nextCursor; pass nextCursor as the cursor query parameter to fetch the next page, repeating until it is null.

get/v1/organizations/{organizationId}/keys

Request

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

Path parameters

organizationId, string uuid required

ID of the requested organization.

Query parameters

limit, integer

Maximum number of results to return.

cursor, string

Opaque cursor from a previous response's nextCursor, marking where to resume the list.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, ApiKey[]

List of results.

limit, integer

Maximum number of results returned in this page.

totalCount, integer nullable

Total number of results across all pages. It has only informative value, thus is not guaranteed and it is provided on a best-effort basis. Null if the total count is unknown.

nextCursor, string nullable

Cursor for the next page, to be sent as the cursor query parameter. Null on the last page.

Example response

{
  "status": 200,
  "result": [
    {
      "createdAt": "2026-03-26T20:51:16Z",
      "expireAt": "2027-03-26T00:00:00Z",
      "usedAt": "2026-03-26T21:04:52Z"
    }
  ]
}

Changes

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