ClickHouse
No catalog description yet.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| Basic Auth | basic | available | — |
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.Connection
Returns a single organization activity by ID.
Authentication
Connected account requiredTags
List of organization activitiesCLICKHOUSE_ACTIVITY_GET_LISTReturns a list of all organization activities.Connection
Returns a list of all organization activities.
Authentication
Connected account requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 requiredConnection
**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 requiredTags
Get service backup configurationCLICKHOUSE_BACKUP_CONFIGURATION_GETReturns the service backup configuration.Connection
Returns the service backup configuration.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Get backup detailsCLICKHOUSE_BACKUP_GETReturns a single backup info.Connection
Returns a single backup info.
Authentication
Connected account requiredTags
List of service backupsCLICKHOUSE_BACKUP_GET_LISTReturns a list of all backups for the service. The most recent backups comes first in the list.Connection
Returns a list of all backups for the service. The most recent backups comes first in the list.
Authentication
Connected account requiredTags
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.**Connection
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 requiredTags
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.**Connection
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 requiredTags
Create ClickPipeCLICKHOUSE_CLICK_PIPE_CREATECreate a new ClickPipe.Connection
Create a new ClickPipe.
Authentication
Connected account requiredTags
Delete ClickPipeCLICKHOUSE_CLICK_PIPE_DELETEDelete the specified ClickPipe.Connection
Delete the specified ClickPipe.
Authentication
Connected account requiredTags
Get ClickPipeCLICKHOUSE_CLICK_PIPE_GETReturns the specified ClickPipe.Connection
Returns the specified ClickPipe.
Authentication
Connected account requiredTags
List ClickPipesCLICKHOUSE_CLICK_PIPE_GET_LISTReturns a list of ClickPipes.Connection
Returns a list of ClickPipes.
Authentication
Connected account requiredTags
Create reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_CREATECreate a new reverse private endpoint.Connection
Create a new reverse private endpoint.
Authentication
Connected account requiredTags
Delete reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_DELETEDelete the reverse private endpoint with the specified ID.Connection
Delete the reverse private endpoint with the specified ID.
Authentication
Connected account requiredTags
Get reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_GETReturns the reverse private endpoint with the specified ID.Connection
Returns the reverse private endpoint with the specified ID.
Authentication
Connected account requiredTags
List reverse private endpointsCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_GET_LISTReturns a list of reverse private endpoints for the specified service.Connection
Returns a list of reverse private endpoints for the specified service.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
**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 requiredTags
Get ClickPipe settingsCLICKHOUSE_CLICK_PIPE_SETTINGS_GETReturns the advanced settings for the specified ClickPipe.Connection
Returns the advanced settings for the specified ClickPipe.
Authentication
Connected account requiredTags
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.Connection
Update the advanced settings for the specified ClickPipe. Send key-value pairs where values can be strings, numbers, or booleans.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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 alertConnection
**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 requiredTags
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 dashboardConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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`).Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 alertConnection
**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 requiredTags
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 dashboardConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 sourceConnection
**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 requiredTags
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.Connection
**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 requiredTags
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 IDConnection
**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 requiredTags
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 IDConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 IDConnection
**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 requiredTags
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.Connection
**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 requiredTags
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 teamConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 teamConnection
**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 requiredTags
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.Connection
**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 requiredTags
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 alertConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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`).Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
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 requiredTags
Delete serviceCLICKHOUSE_INSTANCE_DELETEDeletes the service. The service must be in stopped state and is deleted asynchronously after this method call.Connection
Deletes the service. The service must be in stopped state and is deleted asynchronously after this method call.
Authentication
Connected account requiredTags
Get service detailsCLICKHOUSE_INSTANCE_GETReturns a service that belongs to the organizationConnection
Returns a service that belongs to the organization
Authentication
Connected account requiredTags
List of organization servicesCLICKHOUSE_INSTANCE_GET_LISTReturns a list of all services in the organization.Connection
Returns a list of all services in the organization.
Authentication
Connected account requiredTags
Update service passwordCLICKHOUSE_INSTANCE_PASSWORD_UPDATESets a new password for the serviceConnection
Sets a new password for the service
Authentication
Connected account requiredTags
Get private endpoint configurationCLICKHOUSE_INSTANCE_PRIVATE_ENDPOINT_CONFIG_GETInformation required to set up a private endpointConnection
Information required to set up a private endpoint
Authentication
Connected account requiredTags
Create a private endpointCLICKHOUSE_INSTANCE_PRIVATE_ENDPOINT_CREATECreate a new private endpoint. The private endpoint will be associated with this service and organizationConnection
Create a new private endpoint. The private endpoint will be associated with this service and organization
Authentication
Connected account requiredTags
Get service metricsCLICKHOUSE_INSTANCE_PROMETHEUS_GETReturns prometheus metrics for a service.Connection
Returns prometheus metrics for a service.
Authentication
Connected account requiredTags
Delete the service query endpoint for a given instanceCLICKHOUSE_INSTANCE_QUERY_ENDPOINT_DELETERemoves the service query endpoint.Connection
Removes the service query endpoint.
Authentication
Connected account requiredTags
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.Connection
Get the configuration for the service query endpoint that allows executing queries via API.
Authentication
Connected account requiredTags
Upsert the service query endpoint for a given instanceCLICKHOUSE_INSTANCE_QUERY_ENDPOINT_UPSERTCreate the service query endpoint that allows executing queries via API.Connection
Create the service query endpoint that allows executing queries via API.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
Update service stateCLICKHOUSE_INSTANCE_STATE_UPDATEStarts or stop serviceConnection
Starts or stop service
Authentication
Connected account requiredTags
Update service basic detailsCLICKHOUSE_INSTANCE_UPDATEUpdates basic service details like service name or IP access list.Connection
Updates basic service details like service name or IP access list.
Authentication
Connected account requiredTags
Create an invitationCLICKHOUSE_INVITATION_CREATECreates organization invitation.Connection
Creates organization invitation.
Authentication
Connected account requiredTags
Delete organization invitationCLICKHOUSE_INVITATION_DELETEDeletes a single organization invitation.Connection
Deletes a single organization invitation.
Authentication
Connected account requiredTags
Get invitation detailsCLICKHOUSE_INVITATION_GETReturns details for a single organization invitation.Connection
Returns details for a single organization invitation.
Authentication
Connected account requiredTags
List all invitationsCLICKHOUSE_INVITATION_GET_LISTReturns list of all organization invitations.Connection
Returns list of all organization invitations.
Authentication
Connected account requiredTags
Remove an organization memberCLICKHOUSE_MEMBER_DELETERemoves a user from the organizationConnection
Removes a user from the organization
Authentication
Connected account requiredTags
Get member detailsCLICKHOUSE_MEMBER_GETReturns a single organization member details.Connection
Returns a single organization member details.
Authentication
Connected account requiredTags
List organization membersCLICKHOUSE_MEMBER_GET_LISTReturns a list of all members in the organization.Connection
Returns a list of all members in the organization.
Authentication
Connected account requiredTags
Update organization memberCLICKHOUSE_MEMBER_UPDATEUpdates organization member role.Connection
Updates organization member role.
Authentication
Connected account requiredTags
Create keyCLICKHOUSE_OPENAPI_KEY_CREATECreates new API key.Connection
Creates new API key.
Authentication
Connected account requiredTags
Delete keyCLICKHOUSE_OPENAPI_KEY_DELETEDeletes API key. Only a key not used to authenticate the active request can be deleted.Connection
Deletes API key. Only a key not used to authenticate the active request can be deleted.
Authentication
Connected account requiredTags
Get key detailsCLICKHOUSE_OPENAPI_KEY_GETReturns a single key details.Connection
Returns a single key details.
Authentication
Connected account requiredTags
Get list of all keysCLICKHOUSE_OPENAPI_KEY_GET_LISTReturns a list of all keys in the organization.Connection
Returns a list of all keys in the organization.
Authentication
Connected account requiredTags
Update keyCLICKHOUSE_OPENAPI_KEY_UPDATEUpdates API key properties.Connection
Updates API key properties.
Authentication
Connected account requiredTags
Create BYOC InfrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_CREATECreate a new BYOC Infrastructure in the organization. Returns the configuration of the newly created infrastructureConnection
Create a new BYOC Infrastructure in the organization. Returns the configuration of the newly created infrastructure
Authentication
Connected account requiredTags
Remove a BYOC infrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_DELETERemoves a BYOC Infrastructure from the organizationConnection
Removes a BYOC Infrastructure from the organization
Authentication
Connected account requiredTags
Update BYOC InfrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_UPDATEUpdate configuration of the BYOC infrastructure. Returns the modified infrastructureConnection
Update configuration of the BYOC infrastructure. Returns the modified infrastructure
Authentication
Connected account requiredTags
Get organization detailsCLICKHOUSE_ORGANIZATION_GETReturns details of a single organization. In order to get the details, the auth key must belong to the organization.Connection
Returns details of a single organization. In order to get the details, the auth key must belong to the organization.
Authentication
Connected account requiredTags
Get list of available organizationsCLICKHOUSE_ORGANIZATION_GET_LISTReturns a list with a single organization associated with the API key in the request.Connection
Returns a list with a single organization associated with the API key in the request.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
Get organization metricsCLICKHOUSE_ORGANIZATION_PROMETHEUS_GETReturns prometheus metrics for all services in an organization.Connection
Returns prometheus metrics for all services in an organization.
Authentication
Connected account requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
Deletes an existing custom role. System roles cannot be deleted. This operation will remove the role and all its associated policies.
Authentication
Connected account requiredTags
Get role detailsCLICKHOUSE_ORGANIZATION_ROLE_GETReturns details for a specific role.Connection
Returns details for a specific role.
Authentication
Connected account requiredTags
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.Connection
Updates an existing custom role. System roles cannot be updated. All fields are optional - only provided fields will be updated.
Authentication
Connected account requiredTags
Create a new roleCLICKHOUSE_ORGANIZATION_ROLE_POSTCreates a new custom role for an organization with specified policies and actors.Connection
Creates a new custom role for an organization with specified policies and actors.
Authentication
Connected account requiredTags
List all available roles for an organizationCLICKHOUSE_ORGANIZATION_ROLES_GET_LISTReturns all available roles (system + custom) for an organization.Connection
Returns all available roles (system + custom) for an organization.
Authentication
Connected account requiredTags
Update organization detailsCLICKHOUSE_ORGANIZATION_UPDATEUpdates organization fields. Requires ADMIN auth key role.Connection
Updates organization fields. Requires ADMIN auth key role.
Authentication
Connected account requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns Prometheus metrics for a PostgreSQL service.
Authentication
Connected account requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 serviceConnection
**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 requiredTags
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.Connection
**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 requiredTags
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 organizationConnection
**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 requiredTags
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 organizationConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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 standbyConnection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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).Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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).Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Detaches a UDF from a service.
Authentication
Connected account requiredTags
Get UDFCLICKHOUSE_UDF_GET**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the latest version of a UDF.Connection
**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the latest version of a UDF.
Authentication
Connected account requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**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 requiredTags
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.Connection
**Disclaimer:** This beta endpoint is evolving; the API contract may change. <br /><br /> Returns all versions of a UDF.
Authentication
Connected account requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags
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.Connection
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 requiredTags