---
title: "List ClickPipes"
method: GET
path: "/v1/organizations/{organizationId}/services/{serviceId}/clickpipes"
tags: ["ClickPipes"]
---

# List ClickPipes

`GET /v1/organizations/{organizationId}/services/{serviceId}/clickpipes`

## Request

- Base URL: `https://api.clickhouse.cloud`
- URL: `https://api.clickhouse.cloud/v1/organizations/{organizationId}/services/{serviceId}/clickpipes`
- Auth: HTTP basic

Returns the ClickPipes in the specified service. If neither `limit` nor `cursor` is provided, returns all ClickPipes. In this case, `limit` and `totalCount` both equal the number of ClickPipes, and `nextCursor` is `null`. To paginate results, provide `limit` or `cursor`. Paginated results are sorted by creation date in descending order. Use `limit` to set the page size (default: 50). The server caps `limit` at its maximum page size and may return fewer results. Each response includes `limit`, `totalCount`, and `nextCursor`. To retrieve the next page, pass `nextCursor` as the `cursor` query parameter. Continue until `nextCursor` is `null`.

## Path parameters

- `organizationId` string, uuid, required
- `serviceId` string, uuid, required

## Query parameters

- `limit` integer
- `cursor` string

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` ClickPipe[]: List of results.
    - `id` string, uuid: Unique ClickPipe ID.
    - `serviceId` string, uuid: ID of the service this ClickPipe belongs to.
    - `name` string: Name of the ClickPipe.
    - `state` 'Unknown' | 'Provisioning' | 'Running' | 'Degraded' | 'Stopping' | 'Stopped' | 'Failed' | 'Completed' | 'InternalError' | 'Setup' | 'Snapshot' | 'Paused' | 'Pausing' | 'Modifying' | 'Resync': Current lifecycle state of the ClickPipe. For database pipes: "Provisioning" (initial setup), "Setup" (configuring replication), "Snapshot" (initial data load), "Running" (actively replicating), "Pausing" (transitioning to paused state), "Paused" (temporarily paused), "Modifying" (applying configuration updates), "Resync" (swapping resync tables with original tables), "Failed" (error occurred), "Unknown". For streaming/object storage pipes (Kafka, Kinesis, S3): "Unknown" (initial state), "Provisioning" (setting up resources), "Running" (actively ingesting data), "Stopping" (transitioning to stopped state), "Stopped" (manually stopped, can be restarted), "Completed" (batch ingestion finished for object storage), "Failed" (error occurred, pipe stopped), "InternalError" (internal system error).
    - `scaling` ClickPipeScaling
      - `replicas` integer: Desired number of replicas. Only for scalable pipes.
      - `replicaCpuMillicores` integer: CPU in millicores for each replica. Only for streaming pipes.
      - `replicaMemoryGb` number: Memory in GB for each replica. Only for streaming pipes.
    - `source` ClickPipeSource
      - `kafka` ClickPipeKafkaSource, nullable
        - `type` 'kafka' | 'redpanda' | 'msk' | 'gcmk' | 'confluent' | 'warpstream' | 'azureeventhub' | 'dokafka': Type of the Kafka source.
        - `format` 'JSONEachRow' | 'Avro' | 'AvroConfluent' | 'Protobuf': Format of the Kafka source.
        - `brokers` string: Brokers of the Kafka source.
        - `topics` string: One or more Kafka topics as a comma-separated string. All topics must have the same schema and are ingested into the same destination table by a single ClickPipe.
        - `consumerGroup` string, nullable: Consumer group of the Kafka source. If not provided "clickpipes-<<ID>>" will be used.
        - `authentication` 'PLAIN' | 'SCRAM-SHA-256' | 'SCRAM-SHA-512' | 'IAM_ROLE' | 'IAM_USER' | 'MUTUAL_TLS' | 'SERVICE_ACCOUNT_WORKLOAD_IDENTITY': Authentication method of the Kafka source. SERVICE_ACCOUNT_WORKLOAD_IDENTITY is in Beta. ClickPipes uses the GCP service account returned in gcpWorkloadIdentity.principal by the operation with operationId clickPipesServiceContextGet; grant it access to the source resources. Supported authentication methods: kafka: PLAIN, SCRAM-SHA-256, SCRAM-SHA-512, MUTUAL_TLS, msk: SCRAM-SHA-512, IAM_ROLE, IAM_USER, MUTUAL_TLS, gcmk: PLAIN, MUTUAL_TLS, SERVICE_ACCOUNT_WORKLOAD_IDENTITY, confluent: PLAIN, SCRAM-SHA-512, MUTUAL_TLS, warpstream: PLAIN, azureeventhub: PLAIN, redpanda: SCRAM-SHA-256, SCRAM-SHA-512, MUTUAL_TLS, dokafka: SCRAM-SHA-256, MUTUAL_TLS
        - `iamRole` string, nullable: IAM role for the Kafka source. Use with IAM role authentication. Read more in ClickPipes documentation: https://clickhouse.com/docs/en/integrations/clickpipes/kafka#iam
        - `offset` ClickPipeKafkaOffset, nullable
          - `strategy` 'from_beginning' | 'from_latest' | 'from_timestamp': Offset strategy.
          - `timestamp` string, nullable: A minute precision UTC timestamp to start from. Required for "from_timestamp" strategy.
        - `schemaRegistry` union
          - ClickPipeKafkaConfluentSchemaRegistry
            - `type` 'confluent': Type of the schema registry. Defaults to 'confluent' (a Confluent-compatible REST registry).
            - `url` string, required: Schema URL. HTTPS required.
            - `authentication` string: Authentication type of the schema registry. One of 'PLAIN', 'CLIENT_CREDENTIALS'. PLAIN uses a username and password. CLIENT_CREDENTIALS uses the OAuth2 client credentials flow.
            - `caCertificate` string, nullable: PEM encoded CA certificates to validate the schema registry's certificate.
            - `tokenUrl` string, nullable: OAuth2 token endpoint. HTTPS required. Required when authentication is CLIENT_CREDENTIALS.
            - `scope` string, nullable: Space-separated OAuth2 scopes to request. Only used when authentication is CLIENT_CREDENTIALS.
            - `audience` string, nullable: OAuth2 audience to request. Only used when authentication is CLIENT_CREDENTIALS.
          - ClickPipeKafkaGlueSchemaRegistry
            - `type` 'glue', required: Type of the schema registry. Use 'glue' for the AWS Glue Schema Registry, which authenticates with IAM instead of credentials.
            - `glueRegion` string, required: AWS region of the Glue Schema Registry.
            - `glueRegistryName` string, required: Name of the Glue Schema Registry.
            - `glueRoleArn` string: IAM role to assume for Glue Schema Registry access. Defaults to the iamRole of the Kafka source, so it is required when the source does not authenticate with IAM. Read more in ClickPipes documentation: https://clickhouse.com/docs/en/integrations/clickpipes/kafka#iam
        - `caCertificate` string, nullable: PEM encoded CA certificates to validate the broker's certificate.
        - `reversePrivateEndpointIds` string[]: Reverse private endpoint UUIDs used for a secure private connection to the Kafka source.
        - `exactlyOnce` boolean, nullable: Enable exactly-once delivery. Guarantees every Kafka record is inserted exactly once across restarts and rebalances. Can only be set at pipe creation.
        - `tombstoneMode` 'delete' | 'soft_delete', nullable: How Kafka tombstone records are handled. Set to "delete" to delete the matching destination row; this requires exactly-once delivery. Set to "soft_delete" to write a row with the _is_deleted virtual column set to true; exactly-once delivery is not required. Can only be set at pipe creation.
      - `objectStorage` ClickPipeObjectStorageSource, nullable
        - `type` 's3' | 'gcs' | 'dospaces' | 'azureblobstorage' | 'cloudflarer2' | 'ovhobjectstorage': Type of the ObjectStorage source.
        - `format` 'JSONEachRow' | 'JSONAsObject' | 'CSV' | 'CSVWithNames' | 'TabSeparated' | 'TabSeparatedWithNames' | 'Parquet' | 'Avro': Format of the files.
        - `url` string: Provide a path to the file(s) you want to ingest. You can specify multiple files using bash-like wildcards. For more information, see the documentation on using wildcards in path: https://clickhouse.com/docs/en/integrations/clickpipes/object-storage#limitations
        - `delimiter` string, nullable: Delimiter used in the files.
        - `skipFirstLines` integer: Number of lines to skip at the start of each file. Only for TabSeparated and TabSeparatedWithNames formats. Can only be set at pipe creation.
        - `compression` 'none' | 'gzip' | 'gz' | 'brotli' | 'br' | 'xz' | 'LZMA' | 'zstd' | 'auto', nullable: Compression algorithm used for the files.
        - `isContinuous` boolean, nullable: If set to true, the pipe will continuously read new files from the source. If set to false, the pipe will read the files only once. New files have to be uploaded lexically order.
        - `queueUrl` string, nullable: Queue URL for event-based continuous ingestion. For S3, provide an SQS queue URL. For GCS, provide a Pub/Sub subscription (e.g. projects/{project}/subscriptions/{name}). When provided, files are ingested based on event notifications rather than lexicographical order. Only applicable when isContinuous is true and authentication is not public.
        - `skipInitialLoad` boolean, nullable: If set to true, skips the initial load and only ingests files delivered by queue notifications. Only applicable when queueUrl is provided.
        - `startAfter` string, nullable: Skip all files up to and including this object key during the initial load. Cannot be provided when skipInitialLoad is true.
        - `authentication` string, nullable: Authentication method. IAM_USER is for S3, GCS, and DigitalOcean Spaces. IAM_ROLE is for S3 only. SERVICE_ACCOUNT is for GCS only. For GCS, SERVICE_ACCOUNT_WORKLOAD_IDENTITY is in Beta. ClickPipes uses the GCP service account returned in gcpWorkloadIdentity.principal by the operation with operationId clickPipesServiceContextGet; grant it access to the source resources. CONNECTION_STRING is for Azure Blob Storage. PUBLIC uses no authentication and is not supported for DigitalOcean Spaces or Azure Blob Storage. To create a public source, omit it or set PUBLIC. Set PUBLIC on update to switch an existing source to public access. Responses omit it for public sources. One of 'IAM_ROLE', 'IAM_USER', 'CONNECTION_STRING', 'SERVICE_ACCOUNT', 'SERVICE_ACCOUNT_WORKLOAD_IDENTITY', 'PUBLIC'.
        - `iamRole` string, nullable: IAM role to be used with IAM role authentication. Read more in ClickPipes documentation: https://clickhouse.com/docs/en/integrations/clickpipes/object-storage#authentication
        - `connectionString` string, nullable: Connection string for Azure Blob Storage authentication. Required when authentication is CONNECTION_STRING.
        - `path` string, nullable: Path to the file(s) within the Azure container. Used for Azure Blob Storage sources. You can specify multiple files using bash-like wildcards. For more information, see the documentation on using wildcards in path: https://clickhouse.com/docs/en/integrations/clickpipes/object-storage#limitations
        - `azureContainerName` string, nullable: Container name for Azure Blob Storage. Required when type is azureblobstorage.
      - `kinesis` ClickPipeKinesisSource, nullable
        - `format` 'JSONEachRow' | 'Avro' | 'AvroConfluent' | 'Protobuf': Format of the Kinesis stream.
        - `streamName` string: Name of the Kinesis stream.
        - `region` string: AWS region of the Kinesis stream.
        - `useEnhancedFanOut` boolean, nullable: Use enhanced fan-out for the Kinesis stream.
        - `iteratorType` 'TRIM_HORIZON' | 'LATEST' | 'AT_TIMESTAMP': Type of iterator to use when reading from the Kinesis stream. If AT_TIMESTAMP is used, the timestamp field must be provided.
        - `timestamp` integer, nullable: UNIX timestamp to start reading from the Kinesis stream. Required if iteratorType is AT_TIMESTAMP.
        - `authentication` 'IAM_ROLE' | 'IAM_USER': Authentication method to use with the Kinesis stream.
        - `iamRole` string, nullable: IAM role to use for authentication. Required if IAM_ROLE is used.
        - `schemaRegistry` ClickPipeKinesisSchemaRegistry, nullable
          - `type` 'glue', required: Type of the schema registry. Kinesis ClickPipes support the AWS Glue Schema Registry, which authenticates with IAM instead of credentials.
          - `glueRegion` string, required: AWS region of the Glue Schema Registry.
          - `glueRegistryName` string, required: Name of the Glue Schema Registry.
          - `glueRoleArn` string, nullable: IAM role to assume for Glue Schema Registry access. Defaults to the IAM identity of the Kinesis source.
      - `pubsub` ClickPipePubSubSource, nullable
        - `format` 'JSONEachRow' | 'Avro' | 'Protobuf', required: Format of messages in the Pub/Sub topic. GCP Pub/Sub ClickPipes are in private preview — contact support to enable this feature for your organization.
        - `projectId` string, required: GCP project ID that owns the Pub/Sub topic.
        - `topic` string, required: Pub/Sub topic name (not the fully-qualified path).
        - `authentication` 'SERVICE_ACCOUNT' | 'SERVICE_ACCOUNT_WORKLOAD_IDENTITY', required: Authentication method to use with GCP Pub/Sub. SERVICE_ACCOUNT_WORKLOAD_IDENTITY is in Beta. ClickPipes uses the GCP service account returned in gcpWorkloadIdentity.principal by the operation with operationId clickPipesServiceContextGet; grant it access to the source resources.
        - `seekType` 'latest' | 'earliest' | 'timestamp', required: Starting position strategy for consuming the subscription. The seekTimestamp companion is required only when seekType is "timestamp"; setting it for a mismatched seek type is rejected.
        - `seekTimestamp` string, date-time, nullable: RFC 3339 / ISO 8601 timestamp to seek to. Required when seekType is "timestamp"; must be omitted otherwise.
        - `filter` string, nullable: Optional Pub/Sub subscription filter expression (CEL). Maximum 256 characters.
        - `enableOrdering` boolean, nullable: Whether to enable ordered delivery of messages (requires messages to be published with ordering keys).
        - `ackDeadline` integer, nullable: Acknowledgement deadline for messages, in seconds. Must be between 10 and 600.
        - `exactlyOnce` boolean: Enable exactly-once delivery. Guarantees every Pub/Sub message is inserted exactly once across restarts and redeliveries. Cannot be combined with enableOrdering. Can only be set at pipe creation. In private preview — contact support to enable this feature for your organization.
      - `postgres` ClickPipePostgresSource, nullable
        - `type` 'postgres' | 'supabase' | 'neon' | 'alloydb' | 'planetscale' | 'rdspostgres' | 'aurorapostgres' | 'cloudsqlpostgres' | 'azurepostgres' | 'crunchybridge' | 'tigerdata', nullable: Type of the Postgres source. Defaults to "postgres" if not specified.
        - `host` string: PostgreSQL server hostname or IP address. To use a reverse private endpoint, pass the endpoint hostname here. For Cloud SQL with SERVICE_ACCOUNT_WORKLOAD_IDENTITY authentication, pass the instance connection name (project:region:instance).
        - `port` integer: PostgreSQL server port.
        - `database` string: PostgreSQL database name to replicate from.
        - `authentication` 'basic' | 'IAM_ROLE' | 'SERVICE_ACCOUNT_WORKLOAD_IDENTITY': Authentication method for Postgres connection. IAM_ROLE is only available for services on AWS. SERVICE_ACCOUNT_WORKLOAD_IDENTITY is only available for the cloudsqlpostgres type.
        - `iamRole` string: IAM role ARN for IAM authentication (required for IAM_ROLE authentication, services on AWS only).
        - `tlsHost` string: TLS/SSL host for secure connections.
        - `caCertificate` string: PEM encoded CA certificate to validate the Postgres server certificate.
        - `disableTls` boolean: Disable TLS for the Postgres connection. Use with caution in production environments.
        - `skipCertVerification` boolean: Skip TLS certificate verification for the Postgres connection. Use with caution in production environments.
        - `settings` ClickPipePostgresPipeSettings
          - `syncIntervalSeconds` integer: Interval in seconds to sync data from Postgres during CDC replication.
          - `pullBatchSize` integer: Number of rows to pull in each batch during CDC replication.
          - `publicationName` string: PostgreSQL publication name to use for CDC replication. If not provided, ClickPipes will create one automatically.
          - `replicationMode` 'cdc' | 'snapshot' | 'cdc_only': Replication mode: "cdc" (change data capture with initial snapshot), "snapshot" (one-time snapshot only), or "cdc_only" (CDC without initial snapshot).
          - `replicationSlotName` string: PostgreSQL replication slot name. Only valid for "cdc_only" mode. For "cdc" mode, ClickPipes creates the slot automatically.
          - `allowNullableColumns` boolean: Preserve nullability from Postgres in the destination ClickHouse table. When true, columns without NOT NULL constraints are created as Nullable(...). When false, all columns are non-nullable and NULL values are replaced with the default value for the type. Note: Nullable types have performance overhead in ClickHouse.
          - `initialLoadParallelism` integer: Number of parallel workers to use per table in the initial snapshot phase.
          - `snapshotNumRowsPerPartition` integer: Number of rows per partition during the snapshot phase.
          - `snapshotNumberOfParallelTables` integer: Number of tables to snapshot in parallel during the initial load phase.
          - `enableFailoverSlots` boolean: Enable failover support for the replication slot on PG17 and newer. Only applicable when ClickPipes creates the replication slot (i.e., replicationSlotName is NOT provided).
          - `deleteOnMerge` boolean: Enable hard delete behavior in ReplacingMergeTree for PostgreSQL DELETE operations.
          - `useJsonNativeFormat` boolean: Store json and jsonb columns in native ClickHouse JSON format (requires ClickHouse 25.3+). Non-object values are wrapped as {"_value": ...}, and json[]/jsonb[] become Array(JSON). When disabled, JSON data is stored as String. Can only be set at creation. Must be enabled for your organization.
        - `tableMappings` ClickPipePostgresPipeTableMapping[]: List of table mappings defining which PostgreSQL tables to replicate and how they map to ClickHouse tables.
          - `sourceSchemaName` string: PostgreSQL source schema name.
          - `sourceTable` string: PostgreSQL source table name.
          - `targetTable` string: ClickHouse target table name, optionally prefixed with schema name (e.g., "my_schema_my_table"). The table will be created automatically if it does not exist. For snapshot mode, the target table must be empty.
          - `excludedColumns` string[]: List of column names to exclude from replication. Column names must be unique within this list.
          - `useCustomSortingKey` boolean: Whether to use a custom sorting key. If true, sortingKeys must be provided. If false or omitted, the default sorting key is the PostgreSQL primary key.
          - `sortingKeys` string[]: Ordered list of column names to use as the sorting (ORDER BY) key in ClickHouse. Only used when useCustomSortingKey is true. Column names must be unique within this list.
          - `tableEngine` 'MergeTree' | 'ReplacingMergeTree' | 'Null': ClickHouse table engine: "ReplacingMergeTree" (handles updates/deletes), "MergeTree" (append-only), or "Null" (forward data to materialized views without storing it).
          - `partitionKey` string: Custom partitioning column used for parallel snapshotting. Only beneficial for PostgreSQL 13 (no benefit for PG14+, which supports indexed ctid scans). Must be an indexed column of type: `smallint`, `integer`, `bigint`, `timestamp without time zone`, or `timestamp with time zone`. Unrelated to ClickHouse partitioning.
          - `partitionByExpr` string: ClickHouse PARTITION BY expression applied to the destination table when ClickPipes creates it.
      - `mysql` ClickPipeMySQLSource, nullable
        - `type` 'mysql' | 'rdsmysql' | 'auroramysql' | 'cloudsqlmysql' | 'mariadb' | 'rdsmariadb', nullable: Type of the MySQL source. Defaults to "mysql" if not specified.
        - `host` string, required: MySQL server hostname or IP address. To use a reverse private endpoint, pass the endpoint hostname here. For Cloud SQL with SERVICE_ACCOUNT_WORKLOAD_IDENTITY authentication, pass the instance connection name (project:region:instance).
        - `port` integer, required: MySQL server port.
        - `authentication` 'basic' | 'IAM_ROLE' | 'SERVICE_ACCOUNT_WORKLOAD_IDENTITY': Authentication method for MySQL connection. IAM_ROLE is only available for services on AWS. SERVICE_ACCOUNT_WORKLOAD_IDENTITY is only available for the cloudsqlmysql type and takes no password or iamRole; the username defaults to the service account IAM user.
        - `iamRole` string: IAM role ARN for IAM authentication (required for IAM_ROLE authentication, services on AWS only).
        - `tlsHost` string: TLS/SSL host for secure connections.
        - `caCertificate` string: PEM encoded CA certificate to validate the MySQL server certificate.
        - `disableTls` boolean: Disable TLS for the MySQL connection. Use with caution in production environments.
        - `skipCertVerification` boolean: Skip TLS certificate verification for the MySQL connection. Use with caution in production environments.
        - `serverId` integer: Optional MySQL server_id the pipe declares itself as in the MySQL replication topology. Must be unique across replicas connected to the source. If omitted, one is assigned automatically.
        - `settings` ClickPipeMySQLPipeSettings, required
          - `syncIntervalSeconds` integer: Interval in seconds to sync data from MySQL during CDC replication.
          - `pullBatchSize` integer: Number of rows to pull in each batch during CDC replication.
          - `replicationMode` 'cdc' | 'snapshot' | 'cdc_only', required: Replication mode: "cdc" (change data capture with initial snapshot), "snapshot" (one-time snapshot only), or "cdc_only" (CDC without initial snapshot).
          - `replicationMechanism` 'GTID' | 'FILE_POS': MySQL replication mechanism: "GTID" (Global Transaction Identifier) or "FILE_POS" (binary log file and position). Defaults to "GTID" if not specified. MariaDB supports "GTID" only. For "FILE_POS" on MySQL, contact support.
          - `useCompression` boolean: Enable compression for the MySQL connection.
          - `allowNullableColumns` boolean: Preserve nullability from MySQL in the destination ClickHouse table. When true, columns without NOT NULL constraints are created as Nullable(...). When false, all columns are non-nullable and NULL values are replaced with the default value for the type. Note: Nullable types have performance overhead in ClickHouse.
          - `initialLoadParallelism` integer: Number of parallel workers to use per table in the initial snapshot phase.
          - `snapshotNumRowsPerPartition` integer: Number of rows per partition during the snapshot phase.
          - `snapshotNumberOfParallelTables` integer: Number of tables to snapshot in parallel during the initial load phase.
          - `deleteOnMerge` boolean: Enable hard delete behavior in ReplacingMergeTree for MySQL DELETE operations.
          - `useJsonNativeFormat` boolean: Store JSON columns in native ClickHouse JSON format (requires ClickHouse 25.3+). Non-object values are wrapped as {"_value": ...}. When disabled, JSON data is stored as String. Can only be set at creation. Must be enabled for your organization.
        - `tableMappings` ClickPipeMySQLPipeTableMapping[], required: List of table mappings defining which MySQL tables to replicate and how they map to ClickHouse tables.
          - `sourceSchemaName` string, required: MySQL source database name.
          - `sourceTable` string, required: MySQL source table name.
          - `targetTable` string, required: ClickHouse target table name, optionally prefixed with schema name (e.g., "my_database_my_table"). The table will be created automatically if it does not exist. For snapshot mode, the target table must be empty.
          - `excludedColumns` string[]: List of column names to exclude from replication. Column names must be unique within this list.
          - `useCustomSortingKey` boolean: Whether to use a custom sorting key. If true, sortingKeys must be provided. If false or omitted, the default sorting key is the MySQL primary key.
          - `sortingKeys` string[]: Ordered list of column names to use as the sorting (ORDER BY) key in ClickHouse. Only used when useCustomSortingKey is true. Column names must be unique within this list.
          - `tableEngine` 'MergeTree' | 'ReplacingMergeTree' | 'Null': ClickHouse table engine: "ReplacingMergeTree" (handles updates/deletes), "MergeTree" (append-only), or "Null" (forward data to materialized views without storing it).
          - `partitionKey` string: Custom partitioning column used for parallel snapshotting. Must be an indexed column of an integer, date, datetime or timestamp type. Unrelated to ClickHouse partitioning.
          - `partitionByExpr` string: ClickHouse PARTITION BY expression applied to the destination table when ClickPipes creates it.
      - `bigquery` union
        - ClickPipeBigQueryServiceAccountSource
          - `snapshotStagingPath` string, required: GCS bucket path for staging snapshot data (e.g., gs://my-bucket/staging/). Data will be automatically cleaned up after initial load.
          - `settings` ClickPipeBigQueryPipeSettings, required
            - `replicationMode` string, required: Replication mode: "cdc" (change data capture with initial snapshot), "snapshot" (one-time snapshot only), or "cdc_only" (CDC without initial snapshot).
            - `replicationMethod` string: How changes are captured from BigQuery. "query_based" polls each table using a watermark timestamp column, "events_based" reads the BigQuery change history using the APPENDS or CHANGES table function. Required for "cdc" and "cdc_only" replication modes and not allowed for "snapshot".
            - `syncIntervalSeconds` integer: Interval in seconds between CDC syncs. Not allowed for "snapshot" replication mode.
            - `queryCdcPullSyncParallelism` integer: Number of tables pulled in parallel during a CDC sync. Not allowed for "snapshot" replication mode.
            - `syncDelaySeconds` integer: Each CDC sync reads data only up to now minus this delay, giving recently written rows time to become visible in BigQuery. Increase it if your tables are loaded via batch jobs or Google Cloud Dataflow; if set too low, late-visible rows may be skipped. Not allowed for "snapshot" replication mode.
            - `pullWindowSizeSeconds` integer: Maximum amount of time one pull (query) can cover. Applies when the pipe has fallen behind, e.g. on the first CDC sync or when resuming after a pause: with a 6 hour limit, a pipe that is 3 days behind catches up in 12 smaller pulls instead of one large query. If a pull fails, only that pull is retried. Not allowed for "snapshot" replication mode.
            - `syncCron` string: Standard 5-field cron expression (or a descriptor such as "@hourly") that schedules CDC syncs, e.g. "0 * * * *" to sync every hour sharp. Evaluated in UTC unless prefixed with "CRON_TZ=<zone>". Must not fire more than once a minute. Syncs run on this schedule instead of every syncIntervalSeconds, so the two cannot both be set. Not allowed for "snapshot" replication mode.
            - `allowNullableColumns` boolean: Allow nullable columns in the destination table.
            - `initialLoadParallelism` integer: Number of parallel workers during initial load.
            - `snapshotNumRowsPerPartition` number: Number of rows to snapshot per partition.
            - `snapshotNumberOfParallelTables` integer: Number of parallel tables to snapshot.
          - `tableMappings` ClickPipeBigQueryPipeTableMapping[], required: Table mappings for BigQuery pipe.
            - `sourceDatasetName` string, required: Source BigQuery dataset name.
            - `sourceTable` string, required: Source table name.
            - `targetTable` string, required: Target ClickHouse table name.
            - `excludedColumns` string[]: Columns to exclude from the target table.
            - `useCustomSortingKey` boolean: Whether to use a custom sorting key for the target table.
            - `sortingKeys` string[]: Ordered list of columns to use as sorting key for the target table.
            - `tableEngine` 'MergeTree' | 'ReplacingMergeTree' | 'Null': Table engine to use for the target table.
            - `queryCdcWatermarkColumn` string: Source column of type TIMESTAMP used as the CDC watermark. Required for every table when replicationMethod is "query_based"; not allowed otherwise.
            - `eventsFunction` string: BigQuery table function used to read changes: "appends" (newly appended rows) or "changes" (all row changes). Required for every table when replicationMethod is "events_based"; not allowed otherwise.
          - `authentication` 'SERVICE_ACCOUNT', required: Authenticated with a Google Cloud service account JSON key.
          - `projectId` string: GCP project ID that owns the BigQuery resources.
        - ClickPipeBigQueryWorkloadIdentitySource
          - `snapshotStagingPath` string, required: GCS bucket path for staging snapshot data (e.g., gs://my-bucket/staging/). Data will be automatically cleaned up after initial load.
          - `settings` ClickPipeBigQueryPipeSettings, required
            - `replicationMode` string, required: Replication mode: "cdc" (change data capture with initial snapshot), "snapshot" (one-time snapshot only), or "cdc_only" (CDC without initial snapshot).
            - `replicationMethod` string: How changes are captured from BigQuery. "query_based" polls each table using a watermark timestamp column, "events_based" reads the BigQuery change history using the APPENDS or CHANGES table function. Required for "cdc" and "cdc_only" replication modes and not allowed for "snapshot".
            - `syncIntervalSeconds` integer: Interval in seconds between CDC syncs. Not allowed for "snapshot" replication mode.
            - `queryCdcPullSyncParallelism` integer: Number of tables pulled in parallel during a CDC sync. Not allowed for "snapshot" replication mode.
            - `syncDelaySeconds` integer: Each CDC sync reads data only up to now minus this delay, giving recently written rows time to become visible in BigQuery. Increase it if your tables are loaded via batch jobs or Google Cloud Dataflow; if set too low, late-visible rows may be skipped. Not allowed for "snapshot" replication mode.
            - `pullWindowSizeSeconds` integer: Maximum amount of time one pull (query) can cover. Applies when the pipe has fallen behind, e.g. on the first CDC sync or when resuming after a pause: with a 6 hour limit, a pipe that is 3 days behind catches up in 12 smaller pulls instead of one large query. If a pull fails, only that pull is retried. Not allowed for "snapshot" replication mode.
            - `syncCron` string: Standard 5-field cron expression (or a descriptor such as "@hourly") that schedules CDC syncs, e.g. "0 * * * *" to sync every hour sharp. Evaluated in UTC unless prefixed with "CRON_TZ=<zone>". Must not fire more than once a minute. Syncs run on this schedule instead of every syncIntervalSeconds, so the two cannot both be set. Not allowed for "snapshot" replication mode.
            - `allowNullableColumns` boolean: Allow nullable columns in the destination table.
            - `initialLoadParallelism` integer: Number of parallel workers during initial load.
            - `snapshotNumRowsPerPartition` number: Number of rows to snapshot per partition.
            - `snapshotNumberOfParallelTables` integer: Number of parallel tables to snapshot.
          - `tableMappings` ClickPipeBigQueryPipeTableMapping[], required: Table mappings for BigQuery pipe.
            - `sourceDatasetName` string, required: Source BigQuery dataset name.
            - `sourceTable` string, required: Source table name.
            - `targetTable` string, required: Target ClickHouse table name.
            - `excludedColumns` string[]: Columns to exclude from the target table.
            - `useCustomSortingKey` boolean: Whether to use a custom sorting key for the target table.
            - `sortingKeys` string[]: Ordered list of columns to use as sorting key for the target table.
            - `tableEngine` 'MergeTree' | 'ReplacingMergeTree' | 'Null': Table engine to use for the target table.
            - `queryCdcWatermarkColumn` string: Source column of type TIMESTAMP used as the CDC watermark. Required for every table when replicationMethod is "query_based"; not allowed otherwise.
            - `eventsFunction` string: BigQuery table function used to read changes: "appends" (newly appended rows) or "changes" (all row changes). Required for every table when replicationMethod is "events_based"; not allowed otherwise.
          - `authentication` 'SERVICE_ACCOUNT_WORKLOAD_IDENTITY', required: Authenticated with the ClickPipes service tenant identity. SERVICE_ACCOUNT_WORKLOAD_IDENTITY is in Beta. ClickPipes uses the GCP service account returned in gcpWorkloadIdentity.principal by the operation with operationId clickPipesServiceContextGet; grant it access to the source resources.
          - `projectId` string: GCP project ID that owns the BigQuery resources. Older pipes created outside OpenAPI may omit this field.
      - `mongodb` ClickPipeMongoDBSource, nullable
        - `uri` string, required: MongoDB connection URI. Supports both standard URIs (mongodb://...) and SRV URIs (mongodb+srv://...). Embedded credentials are redacted from API responses, so the returned value can differ from what was submitted.
        - `readPreference` 'primary' | 'primaryPreferred' | 'secondary' | 'secondaryPreferred' | 'nearest', required: MongoDB read preference for replica set reads.
        - `tlsHost` string: TLS/SSL host for secure connections.
        - `disableTls` boolean: Disable TLS for the MongoDB connection. Defaults to false (TLS enabled).
        - `skipCertVerification` boolean: Skip TLS certificate verification for the MongoDB connection. Use with caution in production environments.
        - `caCertificate` string: PEM encoded CA certificate to validate the MongoDB server certificate.
        - `settings` ClickPipeMongoDBPipeSettings
          - `syncIntervalSeconds` integer: Interval in seconds to sync data from MongoDB during CDC replication.
          - `pullBatchSize` integer: Number of rows to pull in each batch during CDC replication.
          - `replicationMode` 'cdc' | 'snapshot' | 'cdc_only', required: Replication mode: "cdc" (change data capture with initial snapshot), "snapshot" (one-time snapshot only), or "cdc_only" (CDC without initial snapshot).
          - `initialLoadParallelism` integer: Number of parallel workers to use per collection in the initial snapshot phase.
          - `snapshotNumRowsPerPartition` integer: Number of rows per partition during the snapshot phase.
          - `snapshotNumberOfParallelTables` integer: Number of collections to snapshot in parallel during the initial load phase.
          - `deleteOnMerge` boolean: Enable hard delete behavior in ReplacingMergeTree for MongoDB DELETE operations.
          - `useJsonNativeFormat` boolean: Store JSON values in native ClickHouse JSON format. When disabled, JSON data is stored as String.
        - `tableMappings` ClickPipeMongoDBPipeTableMapping[]: List of collection mappings defining which MongoDB collections to replicate and how they map to ClickHouse tables.
          - `sourceDatabaseName` string, required: MongoDB source database name.
          - `sourceCollection` string, required: MongoDB source collection name.
          - `targetTable` string, required: ClickHouse target table name. The table will be created automatically if it does not exist.
          - `tableEngine` 'MergeTree' | 'ReplacingMergeTree' | 'Null': ClickHouse table engine: "ReplacingMergeTree" (handles updates/deletes), "MergeTree" (append-only), or "Null" (forward data to materialized views without storing it).
          - `structuredIngestion` ClickPipeMongoDBStructuredIngestion
            - `enabled` boolean, required: Replicate the collection into typed ClickHouse columns instead of a single JSON document column.
            - `dropUnexpectedValues` boolean: When true, values that don't fit their column are reported with only the field name and reason, without the value.
            - `columns` ClickPipeMongoDBPipeColumn[]: Typed columns of the collection, taken as provided. When omitted, the columns are inferred from a sample of the collection documents. The _id document is always replicated and uses String type.
              - …
            - `excludedColumns` string[]: Names of columns, provided or inferred, to leave out of replication. Names that match no column are ignored. Column names must be unique within this list.
            - `sortingKeys` string[]: Ordered list of column names to use as the sorting (ORDER BY) key in ClickHouse. When omitted, the sorting key is the _id document key.
            - `partitionByExpr` string: ClickHouse PARTITION BY expression applied to the destination table when ClickPipes creates it.
          - `mongoConfig` ClickPipeMongoDBTableConfig
            - `persistDeletedDocuments` boolean: Persist the full document as it was right before it was deleted, instead of only its _id. Requires changeStreamPreAndPostImages to be enabled on the source collection.
    - `destination` ClickPipeDestination
      - `database` string: Destination database.
      - `table` string: Destination table. Required field for all pipe types except database pipes (Postgres, MySQL, BigQuery).
      - `managedTable` boolean: Is the table managed by ClickPipes? Required field for all pipe types except database pipes (Postgres, MySQL, BigQuery).
      - `tableDefinition` ClickPipeDestinationTableDefinition
        - `engine` ClickPipeDestinationTableEngine
          - `type` 'MergeTree' | 'ReplacingMergeTree' | 'SummingMergeTree' | 'Null': Engine type of the destination table.
          - `versionColumnId` string, nullable: Column name to use as version for ReplacingMergeTree engine. Optional; without it, ClickHouse keeps the last inserted row for each sorting key. Required when the Kafka source uses tombstoneMode soft_delete.
          - `columnIds` string[]: Column names to sum for SummingMergeTree engine.
        - `sortingKey` string[]: Sorting key of the destination table. An entry that matches the name of a column declared in `columns` is used as that column. Any other entry is used as a SQL expression, for example a JSON sub-path such as `payload.workspace_id`. Entries must not contain commas, and every component must be non-Nullable.
        - `partitionBy` string: Partition key SQL expression.
        - `primaryKey` string: Primary key of SQL expression.
        - `ttl` string: TTL SQL expression of the destination table.
      - `columns` ClickPipeDestinationColumn[]: Columns of the destination table. Required field for all pipe types except database pipes (Postgres, MySQL, BigQuery).
        - `name` string: Name of the column.
        - `type` string: Type of the column.
    - `fieldMappings` ClickPipeFieldMapping[]: Field mappings of the ClickPipe. Note that all destination columns must be included in the mappings.
      - `sourceField` string: Source field name.
      - `destinationField` string: Destination field name.
    - `settings` ClickPipeSettings
      - `streaming_max_insert_wait_ms` integer, nullable: Streaming max insert wait time. Configures the max wait period before inserting data into the ClickHouse.
      - `object_storage_concurrency` integer, nullable: Object storage concurrency. Number of concurrent file processing threads
      - `object_storage_polling_interval_ms` integer, nullable: Object storage polling interval. Configures the refresh interval for querying continuous ingest for new object storage data
      - `object_storage_max_insert_bytes` integer, nullable: Max insert bytes. Number of bytes to process in a single insert batch
      - `object_storage_max_file_count` integer, nullable: Max file count. Maximum number of files to process in a single insert batch
      - `object_storage_max_file_size` integer: Max file size. Files larger than this are skipped and not retried. Can only lower the limit. Private preview. Contact support to enable it for your organization.
      - `clickhouse_max_threads` integer, nullable: Max threads. Maximum number of concurrent threads for file processing
      - `clickhouse_max_insert_threads` integer, nullable: Max insert threads. Maximum number of concurrent insert threads
      - `clickhouse_min_insert_block_size_bytes` integer, nullable: Min insert block size bytes. Minimum size of data block for insert (in bytes)
      - `clickhouse_max_download_threads` integer, nullable: Max download threads. Maximum number of concurrent download threads
      - `clickhouse_parallel_distributed_insert_select` integer, nullable: Parallel distributed insert select. Only applies when object_storage_use_cluster_function is enabled. When disabled, this setting is ignored and the effective value is 0.
      - `kafka_read_committed` boolean: Kafka Read Committed. Whether Kafka consumers read only committed messages
      - `object_storage_use_cluster_function` boolean, nullable: use cluster function. Whether to use ClickHouse cluster function for distributed processing
      - `clickhouse_parallel_view_processing` boolean, nullable: parallel view processing. Whether to enable pushing to attached views concurrently instead of sequentially
    - `createdAt` string, date-time: Creation timestamp of the ClickPipe in ISO 8601 format.
    - `updatedAt` string, date-time: Last update timestamp of the ClickPipe in ISO 8601 format.
  - `limit` integer: Maximum number of results returned in this page.
  - `totalCount` integer, nullable: Total number of results across all pages. It has only informative value, thus is not guaranteed and it is provided on a best-effort basis. Null if the total count is unknown.
  - `nextCursor` string, nullable: Cursor for the next page, to be sent as the `cursor` query parameter. Null on the last page.

## Other responses

- `400`: The request cannot be processed due to a client error. Please verify your request parameters and try again.
- `500`: An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.

## Changes

- **2026-12-03** `4e80670d4ebb`: 1 warning, 1 info
  - removed the optional property `result/items/scaling/concurrency` from the response with the `200` status
  - added the optional property `result/items/source/pubsub/oneOf[#/components/schemas/ClickPipePubSubSource]/exactlyOnce` to the response with the `200` status
- **2026-12-02** `dd7b68280285`: 5 info
  - removed the `CONNECTION_STRING` enum value from the `result/items/source/objectStorage/oneOf[#/components/schemas/ClickPipeObjectStorageSource]/authentication` response property for the response status `200`
  - removed the `IAM_ROLE` enum value from the `result/items/source/objectStorage/oneOf[#/components/schemas/ClickPipeObjectStorageSource]/authentication` response property for the response status `200`
  - removed the `IAM_USER` enum value from the `result/items/source/objectStorage/oneOf[#/components/schemas/ClickPipeObjectStorageSource]/authentication` response property for the response status `200`
  - removed the `SERVICE_ACCOUNT` enum value from the `result/items/source/objectStorage/oneOf[#/components/schemas/ClickPipeObjectStorageSource]/authentication` response property for the response status `200`
  - …1 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/services/:serviceId/clickpipes/get.md)

---

[API](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud.md) - [All operations](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/revisions/eac345053548?raw)
