Manage your Pipelines using Wrangler.
For get commands in the Pipelines namespace (pipelines get, pipelines streams get, and pipelines sinks get), you can pass either a resource ID or resource name.
pipelines setup
Interactive setup for a complete pipeline
npx
wrangler pipelines setup
pnpm
wrangler pipelines setup
yarn
wrangler pipelines setup
-
--namestringPipeline name
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines create
Create a new pipeline
npx
wrangler pipelines create [PIPELINE]
pnpm
wrangler pipelines create [PIPELINE]
yarn
wrangler pipelines create [PIPELINE]
-
[PIPELINE]stringrequiredThe name of the pipeline to create
-
--sqlstringInline SQL query for the pipeline
-
--sql-filestringPath to file containing SQL query for the pipeline
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines list
List all pipelines
npx
wrangler pipelines list
pnpm
wrangler pipelines list
yarn
wrangler pipelines list
-
--pagenumberdefault: 1Page number for pagination
-
--per-pagenumberdefault: 20Number of pipelines per page
-
--jsonbooleandefault: falseOutput in JSON format
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines get
Get details about a specific pipeline
npx
wrangler pipelines get [PIPELINE]
pnpm
wrangler pipelines get [PIPELINE]
yarn
wrangler pipelines get [PIPELINE]
-
[PIPELINE]stringrequiredThe ID or name of the pipeline to retrieve
-
--jsonbooleandefault: falseOutput in JSON format
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines update
Update a pipeline configuration (legacy pipelines only)
npx
wrangler pipelines update [PIPELINE]
pnpm
wrangler pipelines update [PIPELINE]
yarn
wrangler pipelines update [PIPELINE]
-
[PIPELINE]stringrequiredThe name of the legacy pipeline to update
-
--sourcearraySpace separated list of allowed sources. Options are 'http' or 'worker'
-
--require-http-authbooleanRequire Cloudflare API Token for HTTPS endpoint authentication
-
--cors-originsarrayCORS origin allowlist for HTTP endpoint (use * for any origin). Defaults to an empty array
-
--batch-max-mbnumberMaximum batch size in megabytes before flushing. Defaults to 100 MB if unset. Minimum: 1, Maximum: 100
-
--batch-max-rowsnumberMaximum number of rows per batch before flushing. Defaults to 10,000,000 if unset. Minimum: 100, Maximum: 10,000,000
-
--batch-max-secondsnumberMaximum age of batch in seconds before flushing. Defaults to 300 if unset. Minimum: 1, Maximum: 300
-
--r2-bucketstringDestination R2 bucket name
-
--r2-access-key-idstringR2 service Access Key ID for authentication. Leave empty for OAuth confirmation.
-
--r2-secret-access-keystringR2 service Secret Access Key for authentication. Leave empty for OAuth confirmation.
-
--r2-prefixstringPrefix for storing files in the destination bucket. Default is no prefix
-
--compressionstringCompression format for output files
-
--shard-countnumberNumber of shards for the pipeline. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines delete
Delete a pipeline
npx
wrangler pipelines delete [PIPELINE]
pnpm
wrangler pipelines delete [PIPELINE]
yarn
wrangler pipelines delete [PIPELINE]
-
[PIPELINE]stringrequiredThe ID or name of the pipeline to delete
-
--forcebooleanalias: --y default: falseSkip confirmation
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines streams create
Create a new stream
npx
wrangler pipelines streams create [STREAM]
pnpm
wrangler pipelines streams create [STREAM]
yarn
wrangler pipelines streams create [STREAM]
-
[STREAM]stringrequiredThe name of the stream to create
-
--schema-filestringPath to JSON file containing stream schema
-
--http-enabledbooleandefault: trueEnable HTTP endpoint
-
--http-authbooleandefault: trueRequire authentication for HTTP endpoint
-
--cors-originstringCORS origin
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines streams list
List all streams
npx
wrangler pipelines streams list
pnpm
wrangler pipelines streams list
yarn
wrangler pipelines streams list
-
--pagenumberdefault: 1Page number for pagination
-
--per-pagenumberdefault: 20Number of streams per page
-
--pipeline-idstringFilter streams by pipeline ID
-
--jsonbooleandefault: falseOutput in JSON format
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines streams get
Get details about a specific stream
npx
wrangler pipelines streams get [STREAM]
pnpm
wrangler pipelines streams get [STREAM]
yarn
wrangler pipelines streams get [STREAM]
-
[STREAM]stringrequiredThe ID or name of the stream to retrieve
-
--jsonbooleandefault: falseOutput in JSON format
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines streams delete
Delete a stream
npx
wrangler pipelines streams delete [STREAM]
pnpm
wrangler pipelines streams delete [STREAM]
yarn
wrangler pipelines streams delete [STREAM]
-
[STREAM]stringrequiredThe ID or name of the stream to delete
-
--forcebooleanalias: --y default: falseSkip confirmation
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines sinks create
Create a new sink
npx
wrangler pipelines sinks create [SINK]
pnpm
wrangler pipelines sinks create [SINK]
yarn
wrangler pipelines sinks create [SINK]
-
[SINK]stringrequiredThe name of the sink to create
-
--typestringrequiredThe type of sink to create
-
--bucketstringrequiredR2 bucket name
-
--formatstringdefault: parquetOutput format
-
--compressionstringdefault: zstdCompression method (parquet only)
-
--target-row-group-sizestringTarget row group size for parquet format
-
--pathstringThe base prefix in your bucket where data will be written
-
--partitioningstringTime partition pattern (r2 sinks only)
-
--roll-sizenumberRoll file size in MB
-
--roll-intervalnumberdefault: 300Roll file interval in seconds
-
--access-key-idstringR2 access key ID (leave empty for R2 credentials to be automatically created)
-
--secret-access-keystringR2 secret access key (leave empty for R2 credentials to be automatically created)
-
--namespacestringData catalog namespace (required for r2-data-catalog)
-
--tablestringTable name within namespace (required for r2-data-catalog)
-
--catalog-tokenstringAuthentication token for data catalog (required for r2-data-catalog)
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines sinks list
List all sinks
npx
wrangler pipelines sinks list
pnpm
wrangler pipelines sinks list
yarn
wrangler pipelines sinks list
-
--pagenumberdefault: 1Page number for pagination
-
--per-pagenumberdefault: 20Number of sinks per page
-
--pipeline-idstringFilter sinks by pipeline ID
-
--jsonbooleandefault: falseOutput in JSON format
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines sinks get
Get details about a specific sink
npx
wrangler pipelines sinks get [SINK]
pnpm
wrangler pipelines sinks get [SINK]
yarn
wrangler pipelines sinks get [SINK]
-
[SINK]stringrequiredThe ID or name of the sink to retrieve
-
--jsonbooleandefault: falseOutput in JSON format
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile
pipelines sinks delete
Delete a sink
npx
wrangler pipelines sinks delete [SINK]
pnpm
wrangler pipelines sinks delete [SINK]
yarn
wrangler pipelines sinks delete [SINK]
-
[SINK]stringrequiredThe ID or name of the sink to delete
-
--forcebooleanalias: --y default: falseSkip confirmation
Global flags
-
--vbooleanalias: --versionShow version number
-
--cwdstringRun as if Wrangler was started in the specified directory instead of the current working directory
-
--configstringalias: --cPath to Wrangler configuration file
-
--envstringalias: --eEnvironment to use for operations, and for selecting .env and .dev.vars files
-
--env-filestringPath to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--experimental-provisionbooleanaliases: --x-provision default: trueExperimental: Enable automatic resource provisioning
-
--experimental-auto-createbooleanalias: --x-auto-create default: trueAutomatically provision draft bindings with new resources
-
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
-
--profilestringUse a specific auth profile