Open Connector
All tools

ClickHouse logoClickHouse

No catalog description yet.

clickhousevcatalog-v1142 tools

Authentication

MethodKindStatusDetails
Basic Authbasicavailable

Call a tool

import { createClient } from "@open-connector/sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "CLICKHOUSE_ACTIVITY_GET",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("CLICKHOUSE_ACTIVITY_GET", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute CLICKHOUSE_ACTIVITY_GET --data '{ }'

Tool catalog

Available tools

142 callable operations

Organization activityCLICKHOUSE_ACTIVITY_GETReturns a single organization activity by ID.

Returns a single organization activity by ID.

Authentication

Connected account required

Tags

Organization
List of organization activitiesCLICKHOUSE_ACTIVITY_GET_LISTReturns a list of all organization activities.

Returns a list of all organization activities.

Authentication

Connected account required

Tags

Organization
Create service backup bucketCLICKHOUSE_BACKUP_BUCKET_CREATE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Create service backup bucket. Requires ADMIN auth key role.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Create service backup bucket. Requires ADMIN auth key role.

Authentication

Connected account required

Tags

Backup
Delete service backup bucketCLICKHOUSE_BACKUP_BUCKET_DELETE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Delete service backup bucket. Requires ADMIN auth key role.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Delete service backup bucket. Requires ADMIN auth key role.

Authentication

Connected account required

Tags

Backup
Get service backup bucketCLICKHOUSE_BACKUP_BUCKET_GET**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the service backup bucket.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the service backup bucket.

Authentication

Connected account required

Tags

Backup
Update service backup bucketCLICKHOUSE_BACKUP_BUCKET_UPDATE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Update service backup bucket. Requires ADMIN auth key role. The secrets of the specified bucket provider are always required

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Update service backup bucket. Requires ADMIN auth key role. The secrets of the specified bucket provider are always required

Authentication

Connected account required

Tags

Backup
Get service backup configurationCLICKHOUSE_BACKUP_CONFIGURATION_GETReturns the service backup configuration.

Returns the service backup configuration.

Authentication

Connected account required

Tags

Backup
Update service backup configurationCLICKHOUSE_BACKUP_CONFIGURATION_UPDATEUpdates service backup configuration. Requires ADMIN auth key role. Setting the properties with null value, will reset the properties to theirs default values.

Updates service backup configuration. Requires ADMIN auth key role. Setting the properties with null value, will reset the properties to theirs default values.

Authentication

Connected account required

Tags

Backup
Get backup detailsCLICKHOUSE_BACKUP_GETReturns a single backup info.

Returns a single backup info.

Authentication

Connected account required

Tags

Backup
List of service backupsCLICKHOUSE_BACKUP_GET_LISTReturns a list of all backups for the service. The most recent backups comes first in the list.

Returns a list of all backups for the service. The most recent backups comes first in the list.

Authentication

Connected account required

Tags

Backup
Get CDC ClickPipes scalingCLICKHOUSE_CLICK_PIPE_CDC_SCALING_GETGet scaling settings for database ClickPipes (PostgreSQL, MySQL, MongoDB, BigQuery). The infrastructure is shared between all database ClickPipes in the service, both for initial load and CDC. For billing purposes, 2 CPU cores and 8 GB of RAM [correspond](https://clickhouse.com/docs/cloud/manage/billing/overview#clickpipes-for-postgres-cdc) to one compute unit. **Note:** For Kafka, Kinesis, and object storage pipes (S3, GCS, Azure Blob), see [Get ClickPipe](#tag/ClickPipes/operation/clickPipeGet). **This endpoint becomes available once at least one database ClickPipe was provisioned.**

Get scaling settings for database ClickPipes (PostgreSQL, MySQL, MongoDB, BigQuery). The infrastructure is shared between all database ClickPipes in the service, both for initial load and CDC. For billing purposes, 2 CPU cores and 8 GB of RAM [correspond](https://clickhouse.com/docs/cloud/manage/billing/overview#clickpipes-for-postgres-cdc) to one compute unit. **Note:** For Kafka, Kinesis, and object storage pipes (S3, GCS, Azure Blob), see [Get ClickPipe](#tag/ClickPipes/operation/clickPipeGet). **This endpoint becomes available once at least one database ClickPipe was provisioned.**

Authentication

Connected account required

Tags

ClickPipes
Update CDC ClickPipes scalingCLICKHOUSE_CLICK_PIPE_CDC_SCALING_UPDATEUpdate scaling settings for database ClickPipes (PostgreSQL, MySQL, MongoDB, BigQuery). The infrastructure is shared between all database ClickPipes in the service, both for initial load and CDC. Scaling settings may take a few minutes to fully propagate. For billing purposes, 2 CPU cores and 8 GB of RAM [correspond](https://clickhouse.com/docs/cloud/manage/billing/overview#clickpipes-for-postgres-cdc) to one compute unit. If your organization tier changes, database ClickPipes will be [rescaled](https://clickhouse.com/docs/cloud/manage/billing/overview#compute) appropriately. **Note:** For Kafka, Kinesis, and object storage pipes (S3, GCS, Azure Blob), see [Get ClickPipe](#tag/ClickPipes/operation/clickPipeGet). **This endpoint becomes available once at least one database ClickPipe was provisioned.**

Update scaling settings for database ClickPipes (PostgreSQL, MySQL, MongoDB, BigQuery). The infrastructure is shared between all database ClickPipes in the service, both for initial load and CDC. Scaling settings may take a few minutes to fully propagate. For billing purposes, 2 CPU cores and 8 GB of RAM [correspond](https://clickhouse.com/docs/cloud/manage/billing/overview#clickpipes-for-postgres-cdc) to one compute unit. If your organization tier changes, database ClickPipes will be [rescaled](https://clickhouse.com/docs/cloud/manage/billing/overview#compute) appropriately. **Note:** For Kafka, Kinesis, and object storage pipes (S3, GCS, Azure Blob), see [Get ClickPipe](#tag/ClickPipes/operation/clickPipeGet). **This endpoint becomes available once at least one database ClickPipe was provisioned.**

Authentication

Connected account required

Tags

ClickPipes
Create ClickPipeCLICKHOUSE_CLICK_PIPE_CREATECreate a new ClickPipe.

Create a new ClickPipe.

Authentication

Connected account required

Tags

ClickPipes
Delete ClickPipeCLICKHOUSE_CLICK_PIPE_DELETEDelete the specified ClickPipe.

Delete the specified ClickPipe.

Authentication

Connected account required

Tags

ClickPipes
Get ClickPipeCLICKHOUSE_CLICK_PIPE_GETReturns the specified ClickPipe.

Returns the specified ClickPipe.

Authentication

Connected account required

Tags

ClickPipes
List ClickPipesCLICKHOUSE_CLICK_PIPE_GET_LISTReturns a list of ClickPipes.

Returns a list of ClickPipes.

Authentication

Connected account required

Tags

ClickPipes
Create reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_CREATECreate a new reverse private endpoint.

Create a new reverse private endpoint.

Authentication

Connected account required

Tags

ClickPipes
Delete reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_DELETEDelete the reverse private endpoint with the specified ID.

Delete the reverse private endpoint with the specified ID.

Authentication

Connected account required

Tags

ClickPipes
Get reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_GETReturns the reverse private endpoint with the specified ID.

Returns the reverse private endpoint with the specified ID.

Authentication

Connected account required

Tags

ClickPipes
List reverse private endpointsCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_GET_LISTReturns a list of reverse private endpoints for the specified service.

Returns a list of reverse private endpoints for the specified service.

Authentication

Connected account required

Tags

ClickPipes
Update reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_UPDATEUpdate mutable fields for an existing reverse private endpoint. customPrivateDnsMappings is a full replacement list. Use an empty array to clear mappings.

Update mutable fields for an existing reverse private endpoint. customPrivateDnsMappings is a full replacement list. Use an empty array to clear mappings.

Authentication

Connected account required

Tags

ClickPipes
Update ClickPipe scalingCLICKHOUSE_CLICK_PIPE_SCALING_UPDATEChange scaling settings for the specified ClickPipe. This endpoint supports Kafka, Kinesis, and object storage pipes (S3, GCS, Azure Blob). **Note:** For database ClickPipes (PostgreSQL, MySQL, MongoDB, BigQuery), use the [Update CDC ClickPipes scaling](#tag/ClickPipes/operation/clickPipeCdcScalingUpdate) endpoint instead.

Change scaling settings for the specified ClickPipe. This endpoint supports Kafka, Kinesis, and object storage pipes (S3, GCS, Azure Blob). **Note:** For database ClickPipes (PostgreSQL, MySQL, MongoDB, BigQuery), use the [Update CDC ClickPipes scaling](#tag/ClickPipes/operation/clickPipeCdcScalingUpdate) endpoint instead.

Authentication

Connected account required

Tags

ClickPipes
Discover ClickPipe source schemaCLICKHOUSE_CLICK_PIPE_SCHEMA_DISCOVERY**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Infers the schema (field names and ClickHouse data types) of a streaming ClickPipe source without creating a pipe. Supported for Kafka, Kinesis sources.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Infers the schema (field names and ClickHouse data types) of a streaming ClickPipe source without creating a pipe. Supported for Kafka, Kinesis sources.

Authentication

Connected account required

Tags

ClickPipes
Get ClickPipe settingsCLICKHOUSE_CLICK_PIPE_SETTINGS_GETReturns the advanced settings for the specified ClickPipe.

Returns the advanced settings for the specified ClickPipe.

Authentication

Connected account required

Tags

ClickPipes
Update ClickPipe settingsCLICKHOUSE_CLICK_PIPE_SETTINGS_UPDATEUpdate the advanced settings for the specified ClickPipe. Send key-value pairs where values can be strings, numbers, or booleans.

Update the advanced settings for the specified ClickPipe. Send key-value pairs where values can be strings, numbers, or booleans.

Authentication

Connected account required

Tags

ClickPipes
Update ClickPipe stateCLICKHOUSE_CLICK_PIPE_STATE_UPDATEStart, stop or resync ClickPipe. Stopping a ClickPipe will stop the ingestion process from any state. Starting is allowed for ClickPipes in the "Stopped" state or with a "Failed" state. Resyncing is only for Postgres and MySQL pipes and can be done from any state.

Start, stop or resync ClickPipe. Stopping a ClickPipe will stop the ingestion process from any state. Starting is allowed for ClickPipes in the "Stopped" state or with a "Failed" state. Resyncing is only for Postgres and MySQL pipes and can be done from any state.

Authentication

Connected account required

Tags

ClickPipes
Update ClickPipeCLICKHOUSE_CLICK_PIPE_UPDATEUpdate the specified ClickPipe. Source fields not present in the per-source update schemas are immutable after creation. For Kafka sources, values submitted for immutable fields (type, format, brokers, topics, consumerGroup, offset, schemaRegistry, exactlyOnce) are not applied, except schema registry credentials, which are rejected.

Update the specified ClickPipe. Source fields not present in the per-source update schemas are immutable after creation. For Kafka sources, values submitted for immutable fields (type, format, brokers, topics, consumerGroup, offset, schemaRegistry, exactlyOnce) are not applied, except schema registry credentials, which are rejected.

Authentication

Connected account required

Tags

ClickPipes
ClickStack: Create AlertCLICKHOUSE_CLICK_STACK_CREATE_ALERT**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new alert

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new alert

Authentication

Connected account required

Tags

ClickStack
ClickStack: Create DashboardCLICKHOUSE_CLICK_STACK_CREATE_DASHBOARD**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new dashboard

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new dashboard

Authentication

Connected account required

Tags

ClickStack
ClickStack: Create RoleCLICKHOUSE_CLICK_STACK_CREATE_ROLE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new custom role for the team.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new custom role for the team.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Create Saved SearchCLICKHOUSE_CLICK_STACK_CREATE_SAVED_SEARCH**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new saved search.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new saved search.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Create SourceCLICKHOUSE_CLICK_STACK_CREATE_SOURCE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new source. The request body is a source object without the `id` field. If an `id` is sent anyway it is silently ignored (stripped before validation — the request is never rejected because of it). Granularity fields (`materializedViews[].minGranularity` and `metadataMaterializedViews.granularity`) accept the same short format the API returns (e.g. `5m`, `15s`, `1h`, `1d`).

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new source. The request body is a source object without the `id` field. If an `id` is sent anyway it is silently ignored (stripped before validation — the request is never rejected because of it). Granularity fields (`materializedViews[].minGranularity` and `metadataMaterializedViews.granularity`) accept the same short format the API returns (e.g. `5m`, `15s`, `1h`, `1d`).

Authentication

Connected account required

Tags

ClickStack
ClickStack: Create WebhookCLICKHOUSE_CLICK_STACK_CREATE_WEBHOOK**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new webhook for the authenticated team.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Creates a new webhook for the authenticated team.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Delete AlertCLICKHOUSE_CLICK_STACK_DELETE_ALERT**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes an alert

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes an alert

Authentication

Connected account required

Tags

ClickStack
ClickStack: Delete DashboardCLICKHOUSE_CLICK_STACK_DELETE_DASHBOARD**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a dashboard

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a dashboard

Authentication

Connected account required

Tags

ClickStack
ClickStack: Delete RoleCLICKHOUSE_CLICK_STACK_DELETE_ROLE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a custom role. Predefined roles, the team default user role, and roles assigned to users cannot be deleted.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a custom role. Predefined roles, the team default user role, and roles assigned to users cannot be deleted.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Delete Saved SearchCLICKHOUSE_CLICK_STACK_DELETE_SAVED_SEARCH**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a saved search and any alerts attached to it.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a saved search and any alerts attached to it.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Delete SourceCLICKHOUSE_CLICK_STACK_DELETE_SOURCE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a source

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a source

Authentication

Connected account required

Tags

ClickStack
ClickStack: Delete WebhookCLICKHOUSE_CLICK_STACK_DELETE_WEBHOOK**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a webhook. Blocked with a 409 while any alert still references it — reassign or remove those alerts first — so deletion never leaves an alert pointing at a missing webhook (which would silently drop notifications). Mirrors the internal webhook delete guard.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Deletes a webhook. Blocked with a 409 while any alert still references it — reassign or remove those alerts first — so deletion never leaves an alert pointing at a missing webhook (which would silently drop notifications). Mirrors the internal webhook delete guard.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Get AlertCLICKHOUSE_CLICK_STACK_GET_ALERT**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific alert by ID

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific alert by ID

Authentication

Connected account required

Tags

ClickStack
ClickStack: Get DashboardCLICKHOUSE_CLICK_STACK_GET_DASHBOARD**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific dashboard by ID

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific dashboard by ID

Authentication

Connected account required

Tags

ClickStack
ClickStack: Get RoleCLICKHOUSE_CLICK_STACK_GET_ROLE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific role by ID.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific role by ID.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Get Saved SearchCLICKHOUSE_CLICK_STACK_GET_SAVED_SEARCH**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific saved search by ID.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific saved search by ID.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Get SourceCLICKHOUSE_CLICK_STACK_GET_SOURCE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific source by ID

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a specific source by ID

Authentication

Connected account required

Tags

ClickStack
ClickStack: List AlertsCLICKHOUSE_CLICK_STACK_LIST_ALERTS**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves alerts for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves alerts for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

Authentication

Connected account required

Tags

ClickStack
ClickStack: List DashboardsCLICKHOUSE_CLICK_STACK_LIST_DASHBOARDS**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a list of all dashboards for the authenticated team

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a list of all dashboards for the authenticated team

Authentication

Connected account required

Tags

ClickStack
ClickStack: List RolesCLICKHOUSE_CLICK_STACK_LIST_ROLES**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves all roles for the authenticated team, including predefined roles.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves all roles for the authenticated team, including predefined roles.

Authentication

Connected account required

Tags

ClickStack
ClickStack: List Saved SearchesCLICKHOUSE_CLICK_STACK_LIST_SAVED_SEARCHES**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves saved searches for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves saved searches for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

Authentication

Connected account required

Tags

ClickStack
ClickStack: List SourcesCLICKHOUSE_CLICK_STACK_LIST_SOURCES**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a list of all sources for the authenticated team

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves a list of all sources for the authenticated team

Authentication

Connected account required

Tags

ClickStack
ClickStack: List WebhooksCLICKHOUSE_CLICK_STACK_LIST_WEBHOOKS**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves webhooks for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Retrieves webhooks for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Update AlertCLICKHOUSE_CLICK_STACK_UPDATE_ALERT**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing alert

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing alert

Authentication

Connected account required

Tags

ClickStack
ClickStack: Update DashboardCLICKHOUSE_CLICK_STACK_UPDATE_DASHBOARD**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing dashboard. **Concurrency:** This endpoint does not support optimistic concurrency control. Concurrent PUT requests for the same dashboard may silently overwrite each other, which can leave orphan tile-to-container references on layout-shape edits. Clients should serialize edits to a given dashboard.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing dashboard. **Concurrency:** This endpoint does not support optimistic concurrency control. Concurrent PUT requests for the same dashboard may silently overwrite each other, which can leave orphan tile-to-container references on layout-shape edits. Clients should serialize edits to a given dashboard.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Update RoleCLICKHOUSE_CLICK_STACK_UPDATE_ROLE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates a custom role's permissions, name, and description. Predefined roles cannot be modified.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates a custom role's permissions, name, and description. Predefined roles cannot be modified.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Update Saved SearchCLICKHOUSE_CLICK_STACK_UPDATE_SAVED_SEARCH**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing saved search. This is a full replace: send the full object. Every optional field (`select`, `where`, `whereLanguage`, `orderBy`, `tags`, `filters`) is always written and falls back to its default when omitted, so omitting a field resets it rather than preserving the stored value.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing saved search. This is a full replace: send the full object. Every optional field (`select`, `where`, `whereLanguage`, `orderBy`, `tags`, `filters`) is always written and falls back to its default when omitted, so omitting a field resets it rather than preserving the stored value.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Update SourceCLICKHOUSE_CLICK_STACK_UPDATE_SOURCE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing source. The full source object must be provided; this is a replace, not a patch. The request body is a source object without the `id` field. If an `id` is sent anyway it is silently ignored (stripped before validation — never a 400); the path parameter alone identifies the source. Granularity fields (`materializedViews[].minGranularity` and `metadataMaterializedViews.granularity`) accept the same short format the API returns (e.g. `5m`, `15s`, `1h`, `1d`).

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Updates an existing source. The full source object must be provided; this is a replace, not a patch. The request body is a source object without the `id` field. If an `id` is sent anyway it is silently ignored (stripped before validation — never a 400); the path parameter alone identifies the source. Granularity fields (`materializedViews[].minGranularity` and `metadataMaterializedViews.granularity`) accept the same short format the API returns (e.g. `5m`, `15s`, `1h`, `1d`).

Authentication

Connected account required

Tags

ClickStack
ClickStack: Update WebhookCLICKHOUSE_CLICK_STACK_UPDATE_WEBHOOK**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Replaces an existing webhook. Readable optional fields (`description`, `body`) are a full replace: omitting them clears them. The write-only fields `headers` and `queryParams` are never returned on read, so omitting them preserves the stored values; send an explicit empty object (`{}`) to clear them. Exception: if the destination (`url` or `service`) changes, omitted `headers`/ `queryParams` are cleared rather than preserved so stored secrets are never forwarded to a new destination.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Replaces an existing webhook. Readable optional fields (`description`, `body`) are a full replace: omitting them clears them. The write-only fields `headers` and `queryParams` are never returned on read, so omitting them preserves the stored values; send an explicit empty object (`{}`) to clear them. Exception: if the destination (`url` or `service`) changes, omitted `headers`/ `queryParams` are cleared rather than preserved so stored secrets are never forwarded to a new destination.

Authentication

Connected account required

Tags

ClickStack
ClickStack: Validate DashboardCLICKHOUSE_CLICK_STACK_VALIDATE_DASHBOARD**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Validates a dashboard body against the same schema and tile rules used by POST /api/v2/dashboards. The dashboard is **never persisted**. Use this endpoint at plan time (e.g. from a Terraform provider) to check that a dashboard configuration is valid before applying it.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> ClickStack: Validates a dashboard body against the same schema and tile rules used by POST /api/v2/dashboards. The dashboard is **never persisted**. Use this endpoint at plan time (e.g. from a Terraform provider) to check that a dashboard configuration is valid before applying it.

Authentication

Connected account required

Tags

ClickStack
Create new serviceCLICKHOUSE_INSTANCE_CREATECreates a new service in the organization, and returns the current service state and a password to access the service. The service is started asynchronously.

Creates a new service in the organization, and returns the current service state and a password to access the service. The service is started asynchronously.

Authentication

Connected account required

Tags

Service
Delete serviceCLICKHOUSE_INSTANCE_DELETEDeletes the service. The service must be in stopped state and is deleted asynchronously after this method call.

Deletes the service. The service must be in stopped state and is deleted asynchronously after this method call.

Authentication

Connected account required

Tags

Service
Get service detailsCLICKHOUSE_INSTANCE_GETReturns a service that belongs to the organization

Returns a service that belongs to the organization

Authentication

Connected account required

Tags

Service
List of organization servicesCLICKHOUSE_INSTANCE_GET_LISTReturns a list of all services in the organization.

Returns a list of all services in the organization.

Authentication

Connected account required

Tags

Service
Update service passwordCLICKHOUSE_INSTANCE_PASSWORD_UPDATESets a new password for the service

Sets a new password for the service

Authentication

Connected account required

Tags

Service
Get private endpoint configurationCLICKHOUSE_INSTANCE_PRIVATE_ENDPOINT_CONFIG_GETInformation required to set up a private endpoint

Information required to set up a private endpoint

Authentication

Connected account required

Tags

Service
Create a private endpointCLICKHOUSE_INSTANCE_PRIVATE_ENDPOINT_CREATECreate a new private endpoint. The private endpoint will be associated with this service and organization

Create a new private endpoint. The private endpoint will be associated with this service and organization

Authentication

Connected account required

Tags

Service
Get service metricsCLICKHOUSE_INSTANCE_PROMETHEUS_GETReturns prometheus metrics for a service.

Returns prometheus metrics for a service.

Authentication

Connected account required

Tags

Prometheus
Delete the service query endpoint for a given instanceCLICKHOUSE_INSTANCE_QUERY_ENDPOINT_DELETERemoves the service query endpoint.

Removes the service query endpoint.

Authentication

Connected account required

Tags

Service
Get the service query endpoint for a given instanceCLICKHOUSE_INSTANCE_QUERY_ENDPOINT_GETGet the configuration for the service query endpoint that allows executing queries via API.

Get the configuration for the service query endpoint that allows executing queries via API.

Authentication

Connected account required

Tags

Service
Upsert the service query endpoint for a given instanceCLICKHOUSE_INSTANCE_QUERY_ENDPOINT_UPSERTCreate the service query endpoint that allows executing queries via API.

Create the service query endpoint that allows executing queries via API.

Authentication

Connected account required

Tags

Service
Update service auto scaling settingsCLICKHOUSE_INSTANCE_REPLICA_SCALING_UPDATEUpdates minimum and maximum memory limits per replica and idle mode scaling behavior for the service. Supports both vertical autoscaling (fixed replica count, variable memory) and horizontal autoscaling (variable replica count, fixed memory). The memory settings are available only for "production" services and must be a multiple of 4 starting from 8GB. For vertical autoscaling, please contact support to enable adjustment of numReplicas. For horizontal autoscaling (autoscalingMode "horizontal" with minReplicas/maxReplicas), contact support to enable the feature for your organization.

Updates minimum and maximum memory limits per replica and idle mode scaling behavior for the service. Supports both vertical autoscaling (fixed replica count, variable memory) and horizontal autoscaling (variable replica count, fixed memory). The memory settings are available only for "production" services and must be a multiple of 4 starting from 8GB. For vertical autoscaling, please contact support to enable adjustment of numReplicas. For horizontal autoscaling (autoscalingMode "horizontal" with minReplicas/maxReplicas), contact support to enable the feature for your organization.

Authentication

Connected account required

Tags

Service
Update service auto scaling settingsCLICKHOUSE_INSTANCE_SCALING_UPDATEUpdates minimum and maximum total memory limits and idle mode scaling behavior for the service. The memory settings are available only for "production" services and must be a multiple of 12 starting from 24GB. Please contact support to enable adjustment of numReplicas.

Updates minimum and maximum total memory limits and idle mode scaling behavior for the service. The memory settings are available only for "production" services and must be a multiple of 12 starting from 24GB. Please contact support to enable adjustment of numReplicas.

Authentication

Connected account required

Tags

Service
Update service stateCLICKHOUSE_INSTANCE_STATE_UPDATEStarts or stop service

Starts or stop service

Authentication

Connected account required

Tags

Service
Update service basic detailsCLICKHOUSE_INSTANCE_UPDATEUpdates basic service details like service name or IP access list.

Updates basic service details like service name or IP access list.

Authentication

Connected account required

Tags

Service
Create an invitationCLICKHOUSE_INVITATION_CREATECreates organization invitation.

Creates organization invitation.

Authentication

Connected account required

Tags

User management
Delete organization invitationCLICKHOUSE_INVITATION_DELETEDeletes a single organization invitation.

Deletes a single organization invitation.

Authentication

Connected account required

Tags

User management
Get invitation detailsCLICKHOUSE_INVITATION_GETReturns details for a single organization invitation.

Returns details for a single organization invitation.

Authentication

Connected account required

Tags

User management
List all invitationsCLICKHOUSE_INVITATION_GET_LISTReturns list of all organization invitations.

Returns list of all organization invitations.

Authentication

Connected account required

Tags

User management
Remove an organization memberCLICKHOUSE_MEMBER_DELETERemoves a user from the organization

Removes a user from the organization

Authentication

Connected account required

Tags

User management
Get member detailsCLICKHOUSE_MEMBER_GETReturns a single organization member details.

Returns a single organization member details.

Authentication

Connected account required

Tags

User management
List organization membersCLICKHOUSE_MEMBER_GET_LISTReturns a list of all members in the organization.

Returns a list of all members in the organization.

Authentication

Connected account required

Tags

User management
Update organization memberCLICKHOUSE_MEMBER_UPDATEUpdates organization member role.

Updates organization member role.

Authentication

Connected account required

Tags

User management
Create keyCLICKHOUSE_OPENAPI_KEY_CREATECreates new API key.

Creates new API key.

Authentication

Connected account required

Tags

OpenAPI
Delete keyCLICKHOUSE_OPENAPI_KEY_DELETEDeletes API key. Only a key not used to authenticate the active request can be deleted.

Deletes API key. Only a key not used to authenticate the active request can be deleted.

Authentication

Connected account required

Tags

OpenAPI
Get key detailsCLICKHOUSE_OPENAPI_KEY_GETReturns a single key details.

Returns a single key details.

Authentication

Connected account required

Tags

OpenAPI
Get list of all keysCLICKHOUSE_OPENAPI_KEY_GET_LISTReturns a list of all keys in the organization.

Returns a list of all keys in the organization.

Authentication

Connected account required

Tags

OpenAPI
Update keyCLICKHOUSE_OPENAPI_KEY_UPDATEUpdates API key properties.

Updates API key properties.

Authentication

Connected account required

Tags

OpenAPI
Create BYOC InfrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_CREATECreate a new BYOC Infrastructure in the organization. Returns the configuration of the newly created infrastructure

Create a new BYOC Infrastructure in the organization. Returns the configuration of the newly created infrastructure

Authentication

Connected account required

Tags

Organization
Remove a BYOC infrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_DELETERemoves a BYOC Infrastructure from the organization

Removes a BYOC Infrastructure from the organization

Authentication

Connected account required

Tags

Organization
Update BYOC InfrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_UPDATEUpdate configuration of the BYOC infrastructure. Returns the modified infrastructure

Update configuration of the BYOC infrastructure. Returns the modified infrastructure

Authentication

Connected account required

Tags

Organization
Get organization detailsCLICKHOUSE_ORGANIZATION_GETReturns details of a single organization. In order to get the details, the auth key must belong to the organization.

Returns details of a single organization. In order to get the details, the auth key must belong to the organization.

Authentication

Connected account required

Tags

Organization
Get list of available organizationsCLICKHOUSE_ORGANIZATION_GET_LISTReturns a list with a single organization associated with the API key in the request.

Returns a list with a single organization associated with the API key in the request.

Authentication

Connected account required

Tags

Organization
Get private endpoint configuration for region within cloud provider for an organizationCLICKHOUSE_ORGANIZATION_PRIVATE_ENDPOINT_CONFIG_GET_LISTDeprecated. Please follow [documentation](https://clickhouse.com/docs/manage/security/aws-privatelink#add-endpoint-id-to-services-allow-list) for the updated process.

Deprecated. Please follow [documentation](https://clickhouse.com/docs/manage/security/aws-privatelink#add-endpoint-id-to-services-allow-list) for the updated process.

Authentication

Connected account required

Tags

Organization
Get organization metricsCLICKHOUSE_ORGANIZATION_PROMETHEUS_GETReturns prometheus metrics for all services in an organization.

Returns prometheus metrics for all services in an organization.

Authentication

Connected account required

Tags

Prometheus
Get organization quota detailsCLICKHOUSE_ORGANIZATION_QUOTA_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns a single organization quota identified by its quota code. Responds with a not found error when the quota code is unknown or the quota does not apply to the organization.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns a single organization quota identified by its quota code. Responds with a not found error when the quota code is unknown or the quota does not apply to the organization.

Authentication

Connected account required

Tags

Organization
Get organization quotasCLICKHOUSE_ORGANIZATION_QUOTAS_GET_LIST**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the resource quotas enforced for the organization together with their current usage where available. Quotas that do not apply to the organization are omitted. Quota values reflect the limits currently enforced, so they can be polled to detect changes, for example after a billing status change. The response contains one entry per quota code; quotas enforced per resource may additionally appear under resource-scoped endpoints in the future.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the resource quotas enforced for the organization together with their current usage where available. Quotas that do not apply to the organization are omitted. Quota values reflect the limits currently enforced, so they can be polled to detect changes, for example after a billing status change. The response contains one entry per quota code; quotas enforced per resource may additionally appear under resource-scoped endpoints in the future.

Authentication

Connected account required

Tags

Organization
Delete a roleCLICKHOUSE_ORGANIZATION_ROLE_DELETEDeletes an existing custom role. System roles cannot be deleted. This operation will remove the role and all its associated policies.

Deletes an existing custom role. System roles cannot be deleted. This operation will remove the role and all its associated policies.

Authentication

Connected account required

Tags

Role Management
Get role detailsCLICKHOUSE_ORGANIZATION_ROLE_GETReturns details for a specific role.

Returns details for a specific role.

Authentication

Connected account required

Tags

Role Management
Update a roleCLICKHOUSE_ORGANIZATION_ROLE_PATCHUpdates an existing custom role. System roles cannot be updated. All fields are optional - only provided fields will be updated.

Updates an existing custom role. System roles cannot be updated. All fields are optional - only provided fields will be updated.

Authentication

Connected account required

Tags

Role Management
Create a new roleCLICKHOUSE_ORGANIZATION_ROLE_POSTCreates a new custom role for an organization with specified policies and actors.

Creates a new custom role for an organization with specified policies and actors.

Authentication

Connected account required

Tags

Role Management
List all available roles for an organizationCLICKHOUSE_ORGANIZATION_ROLES_GET_LISTReturns all available roles (system + custom) for an organization.

Returns all available roles (system + custom) for an organization.

Authentication

Connected account required

Tags

Role Management
Update organization detailsCLICKHOUSE_ORGANIZATION_UPDATEUpdates organization fields. Requires ADMIN auth key role.

Updates organization fields. Requires ADMIN auth key role.

Authentication

Connected account required

Tags

Organization
Get PostgreSQL service configurationCLICKHOUSE_POSTGRES_INSTANCE_CONFIG_GET**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the configuration data for a Postgres service and its PgBouncer service.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the configuration data for a Postgres service and its PgBouncer service.

Authentication

Connected account required

Tags

Postgres
Update Postgres service configurationCLICKHOUSE_POSTGRES_INSTANCE_CONFIG_PATCH**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Update the existing Postgres service and pgBouncer configuration.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Update the existing Postgres service and pgBouncer configuration.

Authentication

Connected account required

Tags

Postgres
Replace Postgres service configurationCLICKHOUSE_POSTGRES_INSTANCE_CONFIG_POST**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Replace the existing Postgres service and pgBouncer configuration.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Replace the existing Postgres service and pgBouncer configuration.

Authentication

Connected account required

Tags

Postgres
Create a read replica for a Postgres serviceCLICKHOUSE_POSTGRES_INSTANCE_CREATE_READ_REPLICA**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Initiate the process to create a new read replica for a Postgres service.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Initiate the process to create a new read replica for a Postgres service.

Authentication

Connected account required

Tags

Postgres
Get Postgres time-series metricsCLICKHOUSE_POSTGRES_INSTANCE_METRICS_GET**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns bucketed time-series metrics for a PostgreSQL service over the requested window (CPU, memory, disk, network, connections, cache hit ratio, throughput, transactions, and more). Use this to chart or analyze how a service behaved over time.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns bucketed time-series metrics for a PostgreSQL service over the requested window (CPU, memory, disk, network, connections, cache hit ratio, throughput, transactions, and more). Use this to chart or analyze how a service behaved over time.

Authentication

Connected account required

Tags

Postgres
Get PostgreSQL service metricsCLICKHOUSE_POSTGRES_INSTANCE_PROMETHEUS_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns Prometheus metrics for a PostgreSQL service.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns Prometheus metrics for a PostgreSQL service.

Authentication

Connected account required

Tags

Prometheus
Restore a Postgres serviceCLICKHOUSE_POSTGRES_INSTANCE_RESTORE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Restore a Postgres database from continuous backup, optionally at a specific point in time.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Restore a Postgres database from continuous backup, optionally at a specific point in time.

Authentication

Connected account required

Tags

Postgres
Get organization PostgreSQL metricsCLICKHOUSE_POSTGRES_ORG_PROMETHEUS_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns Prometheus metrics for all PostgreSQL services in an organization. Maximum 100 services supported.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns Prometheus metrics for all PostgreSQL services in an organization. Maximum 100 services supported.

Authentication

Connected account required

Tags

Prometheus
Get Postgres CA certsCLICKHOUSE_POSTGRES_SERVICE_CERTS_GET**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Download CA certificates for a PostgreSQL service

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Download CA certificates for a PostgreSQL service

Authentication

Connected account required

Tags

Postgres
Create new Postgres serviceCLICKHOUSE_POSTGRES_SERVICE_CREATE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Creates a new Postgres service in the organization and returns it. The service is started asynchronously.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Creates a new Postgres service in the organization and returns it. The service is started asynchronously.

Authentication

Connected account required

Tags

Postgres
Delete a PostgreSQL serviceCLICKHOUSE_POSTGRES_SERVICE_DELETE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Deletes a Postgres service that belongs to the organization

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Deletes a Postgres service that belongs to the organization

Authentication

Connected account required

Tags

Postgres
Get PostgreSQL service detailsCLICKHOUSE_POSTGRES_SERVICE_GET**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns a Postgres service that belongs to the organization

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns a Postgres service that belongs to the organization

Authentication

Connected account required

Tags

Postgres
List of organization Postgres servicesCLICKHOUSE_POSTGRES_SERVICE_GET_LIST**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns a list of all Postgres services in the organization.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns a list of all Postgres services in the organization.

Authentication

Connected account required

Tags

Postgres
Update a PostgreSQL serviceCLICKHOUSE_POSTGRES_SERVICE_PATCH**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Update a Postgres service that belongs to the organization. **WARNING:** Changing the name also updates the host name and certificates for the service.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Update a Postgres service that belongs to the organization. **WARNING:** Changing the name also updates the host name and certificates for the service.

Authentication

Connected account required

Tags

Postgres
Update Postgres service stateCLICKHOUSE_POSTGRES_SERVICE_PATCH_STATE**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Initiate a process for a Postgres service: * restart: Initiates a service restart * promote: Promotes a read replica to primary * switchover: Switch a primary over to a standby

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Initiate a process for a Postgres service: * restart: Initiates a service restart * promote: Promotes a read replica to primary * switchover: Switch a primary over to a standby

Authentication

Connected account required

Tags

Postgres
Update Postgres superuser passwordCLICKHOUSE_POSTGRES_SERVICE_SET_PASSWORD**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Sets a new password for a Postgres service's superuser account.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Sets a new password for a Postgres service's superuser account.

Authentication

Connected account required

Tags

Postgres
Delete service scheduled scalingCLICKHOUSE_SCALING_SCHEDULE_DELETE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Deletes the autoscaling schedule for a service. If a schedule entry is currently active, the base scaling config is restored to the instance before the schedule is removed. Returns 404 if no schedule exists. Requires the scheduled autoscaling feature to be enabled for the organization.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Deletes the autoscaling schedule for a service. If a schedule entry is currently active, the base scaling config is restored to the instance before the schedule is removed. Returns 404 if no schedule exists. Requires the scheduled autoscaling feature to be enabled for the organization.

Authentication

Connected account required

Tags

Service
Get service autoscaling scheduleCLICKHOUSE_SCALING_SCHEDULE_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the autoscaling schedule for a service. Returns 404 if no schedule has been configured or if the schedule was cleared. Requires the scheduled autoscaling feature to be enabled for the organization.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the autoscaling schedule for a service. Returns 404 if no schedule has been configured or if the schedule was cleared. Requires the scheduled autoscaling feature to be enabled for the organization.

Authentication

Connected account required

Tags

Service
Create or replace service autoscaling scheduleCLICKHOUSE_SCALING_SCHEDULE_UPSERT**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Creates or fully replaces the autoscaling schedule for a service. Pass an empty `entries` array to clear the schedule — a subsequent GET will return 404, and the response will contain an empty `baseConfig` (all fields absent). The base scaling config (applied when no entry is active) is managed separately via the `replicaScaling` endpoint. Requires the scheduled autoscaling feature to be enabled for the organization.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Creates or fully replaces the autoscaling schedule for a service. Pass an empty `entries` array to clear the schedule — a subsequent GET will return 404, and the response will contain an empty `baseConfig` (all fields absent). The base scaling config (applied when no entry is active) is managed separately via the `replicaScaling` endpoint. Requires the scheduled autoscaling feature to be enabled for the organization.

Authentication

Connected account required

Tags

Service
Reset ClickHouse setting to defaultCLICKHOUSE_SERVICE_CLICKHOUSE_SETTING_DELETE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Removes a previously-configured ClickHouse setting, reverting its effective value to the platform default. Settings under `spec.extraConfig.server.*` (e.g. `keep_alive_timeout`, `shared_merge_tree_disable_merges_and_mutations_assignment`) trigger a ClickHouse server rollout restart; other settings propagate to all replicas after a short delay. Deleting a setting that was never configured is a no-op (200 OK).

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Removes a previously-configured ClickHouse setting, reverting its effective value to the platform default. Settings under `spec.extraConfig.server.*` (e.g. `keep_alive_timeout`, `shared_merge_tree_disable_merges_and_mutations_assignment`) trigger a ClickHouse server rollout restart; other settings propagate to all replicas after a short delay. Deleting a setting that was never configured is a no-op (200 OK).

Authentication

Connected account required

Tags

Service
Get ClickHouse settingCLICKHOUSE_SERVICE_CLICKHOUSE_SETTING_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the current value of a ClickHouse setting for the service. Use the [schema endpoint](#tag/Service/operation/serviceClickhouseSettingsSchemaGet) to discover which settings are configurable.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the current value of a ClickHouse setting for the service. Use the [schema endpoint](#tag/Service/operation/serviceClickhouseSettingsSchemaGet) to discover which settings are configurable.

Authentication

Connected account required

Tags

Service
List ClickHouse settingsCLICKHOUSE_SERVICE_CLICKHOUSE_SETTINGS_LIST_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the configured ClickHouse settings for the service. Only settings that have been explicitly set are included.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the configured ClickHouse settings for the service. Only settings that have been explicitly set are included.

Authentication

Connected account required

Tags

Service
Get ClickHouse settings schemaCLICKHOUSE_SERVICE_CLICKHOUSE_SETTINGS_SCHEMA_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the schema of all configurable ClickHouse settings, including types, valid values, descriptions, and warnings.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the schema of all configurable ClickHouse settings, including types, valid values, descriptions, and warnings.

Authentication

Connected account required

Tags

Service
Update ClickHouse settingsCLICKHOUSE_SERVICE_CLICKHOUSE_SETTINGS_UPDATE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Updates one or more ClickHouse settings for the service. To reset a setting to its platform default, use the [DELETE single setting](#tag/Service/operation/serviceClickhouseSettingDelete) endpoint. Use the [schema endpoint](#tag/Service/operation/serviceClickhouseSettingsSchemaGet) to discover which settings are configurable.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Updates one or more ClickHouse settings for the service. To reset a setting to its platform default, use the [DELETE single setting](#tag/Service/operation/serviceClickhouseSettingDelete) endpoint. Use the [schema endpoint](#tag/Service/operation/serviceClickhouseSettingsSchemaGet) to discover which settings are configurable.

Authentication

Connected account required

Tags

Service
Get a Postgres slow query pattern with recent executionsCLICKHOUSE_SLOW_QUERY_PATTERN_GET**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns aggregate metrics for a single slow query pattern together with its most recent individual executions.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns aggregate metrics for a single slow query pattern together with its most recent individual executions.

Authentication

Connected account required

Tags

Postgres
List Postgres slow query patternsCLICKHOUSE_SLOW_QUERY_PATTERNS_GET_LIST**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns aggregate metrics for the slowest query patterns observed on a Postgres service during the given time window. Use this to discover which queries dominate total execution time, CPU, I/O, or WAL generation.

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns aggregate metrics for the slowest query patterns observed on a Postgres service during the given time window. Use this to discover which queries dominate total execution time, CPU, I/O, or WAL generation.

Authentication

Connected account required

Tags

Postgres
Attach UDF to serviceCLICKHOUSE_UDF_ATTACH**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Attaches one UDF version to a service, replacing the current version when necessary. When version is omitted, the latest ready version is attached.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Attaches one UDF version to a service, replacing the current version when necessary. When version is omitted, the latest ready version is attached.

Authentication

Connected account required

Tags

UDF
Get UDF attachmentCLICKHOUSE_UDF_ATTACHMENT_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the current attachment of a UDF to one service.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the current attachment of a UDF to one service.

Authentication

Connected account required

Tags

UDF
List UDF attachmentsCLICKHOUSE_UDF_ATTACHMENT_LIST**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the current service attachments for a UDF, with at most one attachment per service.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the current service attachments for a UDF, with at most one attachment per service.

Authentication

Connected account required

Tags

UDF
Create UDFCLICKHOUSE_UDF_CREATE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Creates a new UDF. See [User-defined functions in Cloud](https://clickhouse.com/docs/products/cloud/features/sql-console-features/user-defined-functions).

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Creates a new UDF. See [User-defined functions in Cloud](https://clickhouse.com/docs/products/cloud/features/sql-console-features/user-defined-functions).

Authentication

Connected account required

Tags

UDF
Delete UDFCLICKHOUSE_UDF_DELETE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Deletes every version of a UDF and detaches it from all services. Removal from services completes asynchronously.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Deletes every version of a UDF and detaches it from all services. Removal from services completes asynchronously.

Authentication

Connected account required

Tags

UDF
Detach UDF from serviceCLICKHOUSE_UDF_DETACH**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Detaches a UDF from a service.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Detaches a UDF from a service.

Authentication

Connected account required

Tags

UDF
Get UDFCLICKHOUSE_UDF_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the latest version of a UDF.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the latest version of a UDF.

Authentication

Connected account required

Tags

UDF
List UDFsCLICKHOUSE_UDF_LIST**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the latest version of each UDF in the organization.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the latest version of each UDF in the organization.

Authentication

Connected account required

Tags

UDF
Create UDF upload URLCLICKHOUSE_UDF_UPLOAD_SESSION_CREATE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Creates an org-scoped presigned application/zip upload URL. Callers must use an upload ID for only one create or version attempt and request a new upload URL when retrying.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Creates an org-scoped presigned application/zip upload URL. Callers must use an upload ID for only one create or version attempt and request a new upload URL when retrying.

Authentication

Connected account required

Tags

UDF
Create UDF versionCLICKHOUSE_UDF_VERSION_CREATE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Consumes a source archive, assigns a version, and starts the UDF build. Optional configuration fields omitted from the request use the defaults documented in the request schema; values are not inherited from the previous version. Retry by requesting a new upload URL and re-uploading.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Consumes a source archive, assigns a version, and starts the UDF build. Optional configuration fields omitted from the request use the defaults documented in the request schema; values are not inherited from the previous version. Retry by requesting a new upload URL and re-uploading.

Authentication

Connected account required

Tags

UDF
Delete UDF versionCLICKHOUSE_UDF_VERSION_DELETE**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Deletes a UDF version. The UDF must not be attached to any services.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Deletes a UDF version. The UDF must not be attached to any services.

Authentication

Connected account required

Tags

UDF
List UDF versionsCLICKHOUSE_UDF_VERSION_LIST**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns all versions of a UDF.

**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns all versions of a UDF.

Authentication

Connected account required

Tags

UDF
Delete service upgrade windowCLICKHOUSE_UPGRADE_WINDOW_DELETEDeletes the upgrade window for a service, restoring the default scheduling behaviour. The upgrade window can only be deleted on primary services. Deletion succeeds even if the organization has lost the scheduled upgrades entitlement, so a window can be cleared after entitlement loss. Errors: - 400: the service is a secondary service. - 401: missing, invalid, or disabled API key. - 403: caller lacks `control-plane:service:manage` on the service. - 404: service does not exist, is not visible to the caller, or no upgrade window is configured.

Deletes the upgrade window for a service, restoring the default scheduling behaviour. The upgrade window can only be deleted on primary services. Deletion succeeds even if the organization has lost the scheduled upgrades entitlement, so a window can be cleared after entitlement loss. Errors: - 400: the service is a secondary service. - 401: missing, invalid, or disabled API key. - 403: caller lacks `control-plane:service:manage` on the service. - 404: service does not exist, is not visible to the caller, or no upgrade window is configured.

Authentication

Connected account required

Tags

Service
Get service upgrade windowCLICKHOUSE_UPGRADE_WINDOW_GETReturns the configured upgrade window for a service. Errors: - 401: missing, invalid, or disabled API key. - 403: caller lacks `control-plane:service:view` on the service. - 404: service does not exist, is not visible to the caller, or no upgrade window has been configured.

Returns the configured upgrade window for a service. Errors: - 401: missing, invalid, or disabled API key. - 403: caller lacks `control-plane:service:view` on the service. - 404: service does not exist, is not visible to the caller, or no upgrade window has been configured.

Authentication

Connected account required

Tags

Service
Set service upgrade windowCLICKHOUSE_UPGRADE_WINDOW_UPDATECreates or fully replaces the upgrade window for a service. The upgrade window currently lasts 6 hours from `startHourUtc`. The upgrade window can only be set on primary services; secondary services inherit the primary service window. Errors: - 400: invalid field values (`weekday` not in 0–6, `startHourUtc` not in {0, 6, 12, 18}), or the service is a secondary service. - 401: missing, invalid, or disabled API key. - 403: caller lacks `control-plane:service:manage` on the service, or the organization does not have the scheduled upgrades feature enabled. - 404: service does not exist or is not visible to the caller.

Creates or fully replaces the upgrade window for a service. The upgrade window currently lasts 6 hours from `startHourUtc`. The upgrade window can only be set on primary services; secondary services inherit the primary service window. Errors: - 400: invalid field values (`weekday` not in 0–6, `startHourUtc` not in {0, 6, 12, 18}), or the service is a secondary service. - 401: missing, invalid, or disabled API key. - 403: caller lacks `control-plane:service:manage` on the service, or the organization does not have the scheduled upgrades feature enabled. - 404: service does not exist or is not visible to the caller.

Authentication

Connected account required

Tags

Service
Get organization usage costsCLICKHOUSE_USAGE_COST_GETReturns a grand total and a list of daily, per-entity organization usage cost records for the organization in the queried time period (maximum 31 days). All days in both the request and the response are evaluated based on the UTC timezone.

Returns a grand total and a list of daily, per-entity organization usage cost records for the organization in the queried time period (maximum 31 days). All days in both the request and the response are evaluated based on the UTC timezone.

Authentication

Connected account required

Tags

Billing

Provider resources