Wrangler commands
Create a new pipeline
wrangler pipelines create <PIPELINE_NAME> [OPTIONS]- PIPELINE_NAMEstring required- The name of the pipeline to create.
 
- --sqlstring optional- Inline SQL query for the pipeline. Refer to SQL reference.
 
- --sql-filestring optional- Path to file containing SQL query for the pipeline. Refer to SQL reference.
 
Delete a pipeline
wrangler pipelines delete <PIPELINE_ID> [OPTIONS]- PIPELINE_IDstring required- The ID of the pipeline to delete.
 
- --forceboolean optional- Skip confirmation.
 
Get details about a specific pipeline
wrangler pipelines get <PIPELINE_ID> [OPTIONS]- PIPELINE_IDstring required- The ID of the pipeline to retrieve.
 
- --jsonboolean optional- Output in JSON format.
 
List all pipelines
wrangler pipelines list [OPTIONS]- --pagenumber optional- Page number for pagination.
 
- --per-pagenumber optional- Number of pipelines per page.
 
- --jsonboolean optional- Output in JSON format.
 
Interactive setup for a complete pipeline
wrangler pipelines setup [OPTIONS]- --namestring optional- Pipeline name.
 
Create a new stream
wrangler pipelines streams create <STREAM_NAME> [OPTIONS]- STREAM_NAMEstring required- The name of the stream to create.
 
- --schema-filestring optional- Path to JSON file containing stream schema. Refer to schema configuration.
 
- --http-enabledboolean optional- Enable HTTP endpoint. Defaults to true.
 
- Enable HTTP endpoint. Defaults to 
- --http-authboolean optional- Require authentication for HTTP endpoint. Defaults to true.
 
- Require authentication for HTTP endpoint. Defaults to 
- --cors-originarray optional- CORS origin.
 
Delete a stream
wrangler pipelines streams delete <STREAM_ID> [OPTIONS]- STREAM_IDstring required- The ID of the stream to delete.
 
- --forceboolean optional- Skip confirmation.
 
Get details about a specific stream
wrangler pipelines streams get <STREAM_ID> [OPTIONS]- STREAM_IDstring required- The ID of the stream to retrieve.
 
- --jsonboolean optional- Output in JSON format.
 
List all streams
wrangler pipelines streams list [OPTIONS]- --pagenumber optional- Page number for pagination
 
- --per-pagenumber optional- Number of streams per page.
 
- --pipeline-idstring optional- Filter streams by pipeline ID.
 
- --jsonboolean optional- Output in JSON format
 
Create a new sink
wrangler pipelines sinks create <SINK_NAME> [OPTIONS]- SINK_NAMEstring required- The name of the sink to create.
 
- --typestring required- The type of sink to create. Choices: r2,r2-data-catalog.
 
- The type of sink to create. Choices: 
- --bucketstring required- R2 bucket name.
 
- --formatstring optional- Output format. Choices: json,parquet.
 
- Output format. Choices: 
- --compressionstring optional- Compression method (parquet only). Choices: uncompressed,snappy,gzip,zstd,lz4.
 
- Compression method (parquet only). Choices: 
- --target-row-group-sizestring optional- Target row group size for parquet format (parquet only).
 
- --pathstring optional- The base prefix in your bucket where data will be written (r2 sinks only).
 
- --partitioningstring optional- Time partition pattern (r2 sinks only).
 
- --roll-sizenumber optional- Roll file size in MB.
 
- --roll-intervalnumber optional- Roll file interval in seconds.
 
- --access-key-idstring optional- R2 access key ID (required for r2 sinks). Refer to R2 sink authentication.
 
- --secret-access-keystring optional- R2 secret access key (required for r2 sinks). Refer to R2 sink authentication.
 
- --namespacestring optional- Data catalog namespace (required for r2-data-catalog).
 
- --tablestring optional- Table name within namespace (required for r2-data-catalog).
 
- --catalog-tokenstring optional- Authentication token for data catalog (required for r2-data-catalog sinks). Refer to R2 Data Catalog authentication.
 
Delete a sink
wrangler pipelines sinks delete <SINK_ID> [OPTIONS]- SINK_IDstring required- The ID of the sink to delete.
 
- --forceboolean optional- Skip confirmation.
 
Get details about a specific sink
wrangler pipelines sinks get <SINK_ID> [OPTIONS]- SINK_IDstring required- The ID of the sink to retrieve.
 
- --jsonboolean optional- Output in JSON format.
 
List all sinks
wrangler pipelines sinks list [OPTIONS]- --pagenumber optional- Page number for pagination
 
- --per-pagenumber optional- Number of sinks per page.
 
- --pipeline-idstring optional- Filter sinks by pipeline ID.
 
- --jsonboolean optional- Output in JSON format
 
The following global flags work on every command:
- --helpboolean- Show help.
 
- --configstring (not supported by Pages)- Path to your Wrangler configuration file.
 
- --cwdstring- Run as if Wrangler was started in the specified directory instead of the current working directory.
 
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark