Sinks
List Sinks
client.pipelines.sinks.list(SinkListParams { account_id, page, per_page, pipeline_id } params, RequestOptionsoptions?): V4PagePaginationArray<SinkListResponse { id, created_at, modified_at, 5 more } >
GET/accounts/{account_id}/pipelines/v1/sinks
Get Sink Details
client.pipelines.sinks.get(stringsinkId, SinkGetParams { account_id } params, RequestOptionsoptions?): SinkGetResponse { id, created_at, modified_at, 5 more }
GET/accounts/{account_id}/pipelines/v1/sinks/{sink_id}
Create Sink
client.pipelines.sinks.create(SinkCreateParams { account_id, name, type, 3 more } params, RequestOptionsoptions?): SinkCreateResponse { id, created_at, modified_at, 5 more }
POST/accounts/{account_id}/pipelines/v1/sinks
Delete Sink
client.pipelines.sinks.delete(stringsinkId, SinkDeleteParams { account_id, force } params, RequestOptionsoptions?): void
DELETE/accounts/{account_id}/pipelines/v1/sinks/{sink_id}
ModelsExpand Collapse
SinkListResponse { id, created_at, modified_at, 5 more }
SinkListResponse { id, created_at, modified_at, 5 more }
config?: CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more } | CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more } Defines the configuration of the R2 Sink.
config?: CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more } | CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more }
Defines the configuration of the R2 Sink.
One of the following:
CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more } R2 Sink public configuration.
CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more }
R2 Sink public configuration.
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds } Rolling policy for file sinks (when & why to close a file and open a new one).
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds }
Rolling policy for file sinks (when & why to close a file and open a new one).
CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more } R2 Data Catalog Sink public configuration.
CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more }
R2 Data Catalog Sink public configuration.
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds } Rolling policy for file sinks (when & why to close a file and open a new one).
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds }
Rolling policy for file sinks (when & why to close a file and open a new one).
format?: Json { type, decimal_encoding, timestamp_format, unstructured } | Parquet { type, compression, row_group_bytes }
format?: Json { type, decimal_encoding, timestamp_format, unstructured } | Parquet { type, compression, row_group_bytes }
schema?: Schema { fields, format, inferred }
schema?: Schema { fields, format, inferred }
fields?: Array<Int32 { type, metadata_key, name, 2 more } | Int64 { type, metadata_key, name, 2 more } | Float32 { type, metadata_key, name, 2 more } | 8 more>
fields?: Array<Int32 { type, metadata_key, name, 2 more } | Int64 { type, metadata_key, name, 2 more } | Float32 { type, metadata_key, name, 2 more } | 8 more>
One of the following:
SinkGetResponse { id, created_at, modified_at, 5 more }
SinkGetResponse { id, created_at, modified_at, 5 more }
config?: CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more } | CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more } Defines the configuration of the R2 Sink.
config?: CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more } | CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more }
Defines the configuration of the R2 Sink.
One of the following:
CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more } R2 Sink public configuration.
CloudflarePipelinesR2TablePublic { account_id, bucket, file_naming, 4 more }
R2 Sink public configuration.
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds } Rolling policy for file sinks (when & why to close a file and open a new one).
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds }
Rolling policy for file sinks (when & why to close a file and open a new one).
CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more } R2 Data Catalog Sink public configuration.
CloudflarePipelinesR2DataCatalogTablePublic { account_id, bucket, table_name, 2 more }
R2 Data Catalog Sink public configuration.
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds } Rolling policy for file sinks (when & why to close a file and open a new one).
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds }
Rolling policy for file sinks (when & why to close a file and open a new one).
format?: Json { type, decimal_encoding, timestamp_format, unstructured } | Parquet { type, compression, row_group_bytes }
format?: Json { type, decimal_encoding, timestamp_format, unstructured } | Parquet { type, compression, row_group_bytes }
schema?: Schema { fields, format, inferred }
schema?: Schema { fields, format, inferred }
fields?: Array<Int32 { type, metadata_key, name, 2 more } | Int64 { type, metadata_key, name, 2 more } | Float32 { type, metadata_key, name, 2 more } | 8 more>
fields?: Array<Int32 { type, metadata_key, name, 2 more } | Int64 { type, metadata_key, name, 2 more } | Float32 { type, metadata_key, name, 2 more } | 8 more>
One of the following:
SinkCreateResponse { id, created_at, modified_at, 5 more }
SinkCreateResponse { id, created_at, modified_at, 5 more }
config?: CloudflarePipelinesR2Table { account_id, bucket, credentials, 5 more } | CloudflarePipelinesR2DataCatalogTable { token, account_id, bucket, 3 more } R2 Data Catalog Sink
config?: CloudflarePipelinesR2Table { account_id, bucket, credentials, 5 more } | CloudflarePipelinesR2DataCatalogTable { token, account_id, bucket, 3 more }
R2 Data Catalog Sink
One of the following:
CloudflarePipelinesR2Table { account_id, bucket, credentials, 5 more }
CloudflarePipelinesR2Table { account_id, bucket, credentials, 5 more }
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds } Rolling policy for file sinks (when & why to close a file and open a new one).
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds }
Rolling policy for file sinks (when & why to close a file and open a new one).
CloudflarePipelinesR2DataCatalogTable { token, account_id, bucket, 3 more } R2 Data Catalog Sink
CloudflarePipelinesR2DataCatalogTable { token, account_id, bucket, 3 more }
R2 Data Catalog Sink
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds } Rolling policy for file sinks (when & why to close a file and open a new one).
rolling_policy?: RollingPolicy { file_size_bytes, inactivity_seconds, interval_seconds }
Rolling policy for file sinks (when & why to close a file and open a new one).
format?: Json { type, decimal_encoding, timestamp_format, unstructured } | Parquet { type, compression, row_group_bytes }
format?: Json { type, decimal_encoding, timestamp_format, unstructured } | Parquet { type, compression, row_group_bytes }
schema?: Schema { fields, format, inferred }
schema?: Schema { fields, format, inferred }
fields?: Array<Int32 { type, metadata_key, name, 2 more } | Int64 { type, metadata_key, name, 2 more } | Float32 { type, metadata_key, name, 2 more } | 8 more>
fields?: Array<Int32 { type, metadata_key, name, 2 more } | Int64 { type, metadata_key, name, 2 more } | Float32 { type, metadata_key, name, 2 more } | 8 more>
One of the following: