ClickHouse
Catalog 暂无描述。
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| Basic Auth | basic | available | — |
调用示例
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 目录
可用 Tools
142 个可调用操作
Organization activityCLICKHOUSE_ACTIVITY_GETReturns a single organization activity by ID.需要连接
Returns a single organization activity by ID.
认证
需要 Connected AccountTags
List of organization activitiesCLICKHOUSE_ACTIVITY_GET_LISTReturns a list of all organization activities.需要连接
Returns a list of all organization activities.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
Get service backup configurationCLICKHOUSE_BACKUP_CONFIGURATION_GETReturns the service backup configuration.需要连接
Returns the service backup configuration.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Get backup detailsCLICKHOUSE_BACKUP_GETReturns a single backup info.需要连接
Returns a single backup info.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.**
认证
需要 Connected AccountTags
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.**
认证
需要 Connected AccountTags
Create ClickPipeCLICKHOUSE_CLICK_PIPE_CREATECreate a new ClickPipe.需要连接
Create a new ClickPipe.
认证
需要 Connected AccountTags
Delete ClickPipeCLICKHOUSE_CLICK_PIPE_DELETEDelete the specified ClickPipe.需要连接
Delete the specified ClickPipe.
认证
需要 Connected AccountTags
Get ClickPipeCLICKHOUSE_CLICK_PIPE_GETReturns the specified ClickPipe.需要连接
Returns the specified ClickPipe.
认证
需要 Connected AccountTags
List ClickPipesCLICKHOUSE_CLICK_PIPE_GET_LISTReturns a list of ClickPipes.需要连接
Returns a list of ClickPipes.
认证
需要 Connected AccountTags
Create reverse private endpointCLICKHOUSE_CLICK_PIPE_REVERSE_PRIVATE_ENDPOINT_CREATECreate a new reverse private endpoint.需要连接
Create a new reverse private endpoint.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Get ClickPipe settingsCLICKHOUSE_CLICK_PIPE_SETTINGS_GETReturns the advanced settings for the specified ClickPipe.需要连接
Returns the advanced settings for the specified ClickPipe.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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`).
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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`).
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Get service detailsCLICKHOUSE_INSTANCE_GETReturns a service that belongs to the organization需要连接
Returns a service that belongs to the organization
认证
需要 Connected AccountTags
List of organization servicesCLICKHOUSE_INSTANCE_GET_LISTReturns a list of all services in the organization.需要连接
Returns a list of all services in the organization.
认证
需要 Connected AccountTags
Update service passwordCLICKHOUSE_INSTANCE_PASSWORD_UPDATESets a new password for the service需要连接
Sets a new password for the service
认证
需要 Connected AccountTags
Get private endpoint configurationCLICKHOUSE_INSTANCE_PRIVATE_ENDPOINT_CONFIG_GETInformation required to set up a private endpoint需要连接
Information required to set up a private endpoint
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
Get service metricsCLICKHOUSE_INSTANCE_PROMETHEUS_GETReturns prometheus metrics for a service.需要连接
Returns prometheus metrics for a service.
认证
需要 Connected AccountTags
Delete the service query endpoint for a given instanceCLICKHOUSE_INSTANCE_QUERY_ENDPOINT_DELETERemoves the service query endpoint.需要连接
Removes the service query endpoint.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Update service stateCLICKHOUSE_INSTANCE_STATE_UPDATEStarts or stop service需要连接
Starts or stop service
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Create an invitationCLICKHOUSE_INVITATION_CREATECreates organization invitation.需要连接
Creates organization invitation.
认证
需要 Connected AccountTags
Delete organization invitationCLICKHOUSE_INVITATION_DELETEDeletes a single organization invitation.需要连接
Deletes a single organization invitation.
认证
需要 Connected AccountTags
Get invitation detailsCLICKHOUSE_INVITATION_GETReturns details for a single organization invitation.需要连接
Returns details for a single organization invitation.
认证
需要 Connected AccountTags
List all invitationsCLICKHOUSE_INVITATION_GET_LISTReturns list of all organization invitations.需要连接
Returns list of all organization invitations.
认证
需要 Connected AccountTags
Remove an organization memberCLICKHOUSE_MEMBER_DELETERemoves a user from the organization需要连接
Removes a user from the organization
认证
需要 Connected AccountTags
Get member detailsCLICKHOUSE_MEMBER_GETReturns a single organization member details.需要连接
Returns a single organization member details.
认证
需要 Connected AccountTags
List organization membersCLICKHOUSE_MEMBER_GET_LISTReturns a list of all members in the organization.需要连接
Returns a list of all members in the organization.
认证
需要 Connected AccountTags
Update organization memberCLICKHOUSE_MEMBER_UPDATEUpdates organization member role.需要连接
Updates organization member role.
认证
需要 Connected AccountTags
Create keyCLICKHOUSE_OPENAPI_KEY_CREATECreates new API key.需要连接
Creates new API key.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Get key detailsCLICKHOUSE_OPENAPI_KEY_GETReturns a single key details.需要连接
Returns a single key details.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Update keyCLICKHOUSE_OPENAPI_KEY_UPDATEUpdates API key properties.需要连接
Updates API key properties.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
Remove a BYOC infrastructureCLICKHOUSE_ORGANIZATION_BYOC_INFRASTRUCTURE_DELETERemoves a BYOC Infrastructure from the organization需要连接
Removes a BYOC Infrastructure from the organization
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Get organization metricsCLICKHOUSE_ORGANIZATION_PROMETHEUS_GETReturns prometheus metrics for all services in an organization.需要连接
Returns prometheus metrics for all services in an organization.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Get role detailsCLICKHOUSE_ORGANIZATION_ROLE_GETReturns details for a specific role.需要连接
Returns details for a specific role.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
Update organization detailsCLICKHOUSE_ORGANIZATION_UPDATEUpdates organization fields. Requires ADMIN auth key role.需要连接
Updates organization fields. Requires ADMIN auth key role.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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).
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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).
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags
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.
认证
需要 Connected AccountTags