Query API endpoints

List Query API endpoints

Returns all active Query API endpoints for the service.

get/v1/organizations/{organizationId}/services/{serviceId}/query-api-endpoints

Request

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

Path parameters

organizationId, string uuid required

ID of the requested organization.

serviceId, string uuid required

ID of the requested service.

Query parameters

cursor, string

Cursor returned as nextCursor on the previous page.

limit, integer

Maximum number of records to return per page. Defaults to 100. Maximum is 100.

Response

Successful response.

object required
result, PublicQueryApiEndpointListItem[] required

Active Query API endpoints for the service.

limit, integer required

Maximum number of results returned in this page.

totalCount, integer nullable required

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 required

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

status, integer required

HTTP status code.

requestId, string uuid required

Unique id assigned to every request. UUIDv4

Example response

{
  "result": [
    {
      "url": "https://queries.clickhouse.cloud/run/00000000-0000-0000-0000-000000000000"
    }
  ],
  "status": 200
}

Changes

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