Wrangler commands
Create a new pipeline
wrangler pipelines create <name> --r2 <r2-bucket-name> [OPTIONS]
name
string required- The name of the pipeline to create
--source
array optional- List of allowed sources. Options:
http
orworker
- List of allowed sources. Options:
--require-http-auth
boolean optional- Require Cloudflare API token to authenticate with the HTTPS endpoint. Defaults to
false
.
- Require Cloudflare API token to authenticate with the HTTPS endpoint. Defaults to
--cors-origins
array optional- CORS Origin allowlist for HTTP endpoint. Allows
*
. Defaults to an empty array.
- CORS Origin allowlist for HTTP endpoint. Allows
--batch-max-mb
number optional- The maximum size of a batch in megabytes before data is written. Defaults to
100
. Must be between1
and100
.
- The maximum size of a batch in megabytes before data is written. Defaults to
--batch-max-rows
number optional- The maximum number of rows in a batch before data is written. Defaults to
10000000
. Must be between1
and10000000
.
- The maximum number of rows in a batch before data is written. Defaults to
--batch-max-seconds
number optional- The maximum duration of a batch before data is written in seconds. Defaults to
300
. Must be between1
and300
.
- The maximum duration of a batch before data is written in seconds. Defaults to
--r2-bucket
string required- The name of the R2 bucket used as the destination to store the data.
--r2-bucket-access-key-id
string optional- Access key ID used to authenticate with R2. Leave empty for oauth confirmation.
--r2-bucket-secret-access-key
string optional- Secret access key ID used to authenticate with R2. Leave empty for oauth confirmation.
--r2-prefix
string optional- Prefix for storing files in the destination bucket.
--compression
string optional- Type of compression to apply to output files. Choices:
none
,gzip
,deflate
- Type of compression to apply to output files. Choices:
--shard-count
number optional- Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to
2
. Must be between1
and15
.
- Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to
Update an existing pipeline
wrangler pipelines update <name> [OPTIONS]
name
string required- The name of the pipeline to create
--source
array optional- List of allowed sources. Options:
http
orworker
- List of allowed sources. Options:
--require-http-auth
boolean optional- Require Cloudflare API token to authenticate with the HTTPS endpoint. Defaults to
false
.
- Require Cloudflare API token to authenticate with the HTTPS endpoint. Defaults to
--cors-origins
array optional- CORS Origin allowlist for HTTP endpoint. Allows
*
. Defaults to an empty array.
- CORS Origin allowlist for HTTP endpoint. Allows
--batch-max-mb
number optional- The maximum size of a batch in megabytes before data is written. Defaults to
100
. Must be between1
and100
.
- The maximum size of a batch in megabytes before data is written. Defaults to
--batch-max-rows
number optional- The maximum number of rows in a batch before data is written. Defaults to
10000000
. Must be between1
and10000000
.
- The maximum number of rows in a batch before data is written. Defaults to
--batch-max-seconds
number optional- The maximum duration of a batch before data is written in seconds. Defaults to
300
. Must be between1
and300
.
- The maximum duration of a batch before data is written in seconds. Defaults to
--r2-bucket
string required- The name of the R2 bucket used as the destination to store the data.
--r2-bucket-access-key-id
string optional- Access key ID used to authenticate with R2. Leave empty for oauth confirmation.
--r2-bucket-secret-access-key
string optional- Secret access key ID used to authenticate with R2. Leave empty for oauth confirmation.
--r2-prefix
string optional- Prefix for storing files in the destination bucket.
--compression
string optional- Type of compression to apply to output files. Choices:
none
,gzip
,deflate
- Type of compression to apply to output files. Choices:
--shard-count
number optional- Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to
2
. Must be between1
and15
.
- Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to
Get the configuration for an existing pipeline.
wrangler pipelines get <name> [OPTIONS]
name
string required- The name of the pipeline to inspect
Deletes an existing pipeline
wrangler pipelines delete <name> [OPTIONS]
name
string required- The name of the pipeline to delete
Lists all pipelines in your account.
wrangler pipelines list [OPTIONS]
The following global flags work on every command:
--help
boolean- Show help.
--config
string (not supported by Pages)- Path to your Wrangler configuration file.
--cwd
string- Run as if Wrangler was started in the specified directory instead of the current working directory.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- 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