Manage your Workers Queues configurations using Wrangler.
queues list
List queues
npx wrangler queues listyarn wrangler queues listpnpm wrangler queues list--pagenumberPage number for pagination
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues create
Create a queue
npx wrangler queues create <NAME>yarn wrangler queues create <NAME>pnpm wrangler queues create <NAME><NAME>stringrequiredThe name of the queue
--jurisdictionstringThe jurisdiction of the queue
--delivery-delay-secsnumberHow long a published message should be delayed for, in seconds. Must be between 0 and 86400
--message-retention-period-secsnumberHow long to retain a message in the queue, in seconds. Must be between 60 and 86400 if on free tier, otherwise must be between 60 and 1209600
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues update
Update a queue
npx wrangler queues update <NAME>yarn wrangler queues update <NAME>pnpm wrangler queues update <NAME><NAME>stringrequiredThe name of the queue
--delivery-delay-secsnumberHow long a published message should be delayed for, in seconds. Must be between 0 and 86400
--message-retention-period-secsnumberHow long to retain a message in the queue, in seconds. Must be between 60 and 86400 if on free tier, otherwise must be between 60 and 1209600
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues delete
Delete a queue
npx wrangler queues delete <NAME>yarn wrangler queues delete <NAME>pnpm wrangler queues delete <NAME><NAME>stringrequiredThe name of the queue
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues info
Get queue information
npx wrangler queues info <NAME>yarn wrangler queues info <NAME>pnpm wrangler queues info <NAME><NAME>stringrequiredThe name of the queue
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer add
Add a Queue Worker Consumer
npx wrangler queues consumer add <QUEUE-NAME> <SCRIPT-NAME>yarn wrangler queues consumer add <QUEUE-NAME> <SCRIPT-NAME>pnpm wrangler queues consumer add <QUEUE-NAME> <SCRIPT-NAME><QUEUE-NAME>stringrequiredName of the queue to configure
<SCRIPT-NAME>stringrequiredName of the consumer script
--batch-sizenumberMaximum number of messages per batch
--batch-timeoutnumberMaximum number of seconds to wait to fill a batch with messages
--message-retriesnumberMaximum number of retries for each message
--dead-letter-queuestringQueue to send messages that failed to be consumed
--max-concurrencynumberThe maximum number of concurrent consumer Worker invocations. Must be a positive integer
--retry-delay-secsnumberThe number of seconds to wait before retrying a message
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer remove
Remove a Queue Worker Consumer
npx wrangler queues consumer remove <QUEUE-NAME> <SCRIPT-NAME>yarn wrangler queues consumer remove <QUEUE-NAME> <SCRIPT-NAME>pnpm wrangler queues consumer remove <QUEUE-NAME> <SCRIPT-NAME><QUEUE-NAME>stringrequiredName of the queue to configure
<SCRIPT-NAME>stringrequiredName of the consumer script
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer list
List consumers for a queue
npx wrangler queues consumer list <QUEUE-NAME>yarn wrangler queues consumer list <QUEUE-NAME>pnpm wrangler queues consumer list <QUEUE-NAME><QUEUE-NAME>stringrequiredName of the queue
--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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer http add
Add a Queue HTTP Pull Consumer
npx wrangler queues consumer http add <QUEUE-NAME>yarn wrangler queues consumer http add <QUEUE-NAME>pnpm wrangler queues consumer http add <QUEUE-NAME><QUEUE-NAME>stringrequiredName of the queue for the consumer
--batch-sizenumberMaximum number of messages per batch
--message-retriesnumberMaximum number of retries for each message
--dead-letter-queuestringQueue to send messages that failed to be consumed
--visibility-timeout-secsnumberThe number of seconds a message will wait for an acknowledgement before being returned to the queue.
--retry-delay-secsnumberThe number of seconds to wait before retrying a message
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer http remove
Remove a Queue HTTP Pull Consumer
npx wrangler queues consumer http remove <QUEUE-NAME>yarn wrangler queues consumer http remove <QUEUE-NAME>pnpm wrangler queues consumer http remove <QUEUE-NAME><QUEUE-NAME>stringrequiredName of the queue for the consumer
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer http list
List HTTP pull consumers for a queue
npx wrangler queues consumer http list <QUEUE-NAME>yarn wrangler queues consumer http list <QUEUE-NAME>pnpm wrangler queues consumer http list <QUEUE-NAME><QUEUE-NAME>stringrequiredName of the queue
--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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer worker add
Add a Queue Worker Consumer
npx wrangler queues consumer worker add <QUEUE-NAME> <SCRIPT-NAME>yarn wrangler queues consumer worker add <QUEUE-NAME> <SCRIPT-NAME>pnpm wrangler queues consumer worker add <QUEUE-NAME> <SCRIPT-NAME><QUEUE-NAME>stringrequiredName of the queue to configure
<SCRIPT-NAME>stringrequiredName of the consumer script
--batch-sizenumberMaximum number of messages per batch
--batch-timeoutnumberMaximum number of seconds to wait to fill a batch with messages
--message-retriesnumberMaximum number of retries for each message
--dead-letter-queuestringQueue to send messages that failed to be consumed
--max-concurrencynumberThe maximum number of concurrent consumer Worker invocations. Must be a positive integer
--retry-delay-secsnumberThe number of seconds to wait before retrying a message
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer worker remove
Remove a Queue Worker Consumer
npx wrangler queues consumer worker remove <QUEUE-NAME> <SCRIPT-NAME>yarn wrangler queues consumer worker remove <QUEUE-NAME> <SCRIPT-NAME>pnpm wrangler queues consumer worker remove <QUEUE-NAME> <SCRIPT-NAME><QUEUE-NAME>stringrequiredName of the queue to configure
<SCRIPT-NAME>stringrequiredName of the consumer script
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues consumer worker list
List worker consumers for a queue
npx wrangler queues consumer worker list <QUEUE-NAME>yarn wrangler queues consumer worker list <QUEUE-NAME>pnpm wrangler queues consumer worker list <QUEUE-NAME><QUEUE-NAME>stringrequiredName of the queue
--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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues pause-delivery
Pause message delivery for a queue
npx wrangler queues pause-delivery <NAME>yarn wrangler queues pause-delivery <NAME>pnpm wrangler queues pause-delivery <NAME><NAME>stringrequiredThe name of the queue
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues resume-delivery
Resume message delivery for a queue
npx wrangler queues resume-delivery <NAME>yarn wrangler queues resume-delivery <NAME>pnpm wrangler queues resume-delivery <NAME><NAME>stringrequiredThe name of the queue
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues purge
Purge messages from a queue
npx wrangler queues purge <NAME>yarn wrangler queues purge <NAME>pnpm wrangler queues purge <NAME><NAME>stringrequiredThe name of the queue
--forcebooleanSkip the confirmation dialog and forcefully purge the Queue
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues subscription create
Create a new event subscription for a queue
npx wrangler queues subscription create <QUEUE>yarn wrangler queues subscription create <QUEUE>pnpm wrangler queues subscription create <QUEUE><QUEUE>stringrequiredThe name of the queue to create the subscription for
--sourcestringrequiredThe event source type
--eventsstringrequiredComma-separated list of event types to subscribe to
--namestringName for the subscription (auto-generated if not provided)
--enabledbooleandefault: trueWhether the subscription should be active
--model-namestringWorkers AI model name (required for workersAi.model source)
--worker-namestringWorker name (required for workersBuilds.worker source)
--workflow-namestringWorkflow name (required for workflows.workflow source)
--zone-idstringZone ID (required for email.sending source)
--domainstringSending domain — zone apex or verified subdomain (required for email.sending source)
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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues subscription list
List event subscriptions for a queue
npx wrangler queues subscription list <QUEUE>yarn wrangler queues subscription list <QUEUE>pnpm wrangler queues subscription list <QUEUE><QUEUE>stringrequiredThe name of the queue to list subscriptions for
--pagenumberdefault: 1Page number for pagination
--per-pagenumberdefault: 20Number of subscriptions 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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues subscription get
Get details about a specific event subscription
npx wrangler queues subscription get <QUEUE>yarn wrangler queues subscription get <QUEUE>pnpm wrangler queues subscription get <QUEUE><QUEUE>stringrequiredThe name of the queue
--idstringrequiredThe ID of the subscription 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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues subscription delete
Delete an event subscription from a queue
npx wrangler queues subscription delete <QUEUE>yarn wrangler queues subscription delete <QUEUE>pnpm wrangler queues subscription delete <QUEUE><QUEUE>stringrequiredThe name of the queue
--idstringrequiredThe ID of the subscription to delete
--forcebooleanalias: --ydefault: 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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile
queues subscription update
Update an existing event subscription
npx wrangler queues subscription update <QUEUE>yarn wrangler queues subscription update <QUEUE>pnpm wrangler queues subscription update <QUEUE><QUEUE>stringrequiredThe name of the queue
--idstringrequiredThe ID of the subscription to update
--namestringNew name for the subscription
--eventsstringComma-separated list of event types to subscribe to
--enabledbooleanWhether the subscription should be active
--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
--install-skillsbooleandefault: falseInstall Cloudflare skills for detected AI coding agents before running the command
--profilestringUse a specific auth profile