Cloudflare Queues · Schema

Cloudflare Queue

A Cloudflare Queue resource representing a message queue managed through Cloudflare Workers.

MessagingMessage QueueServerlessWorkersCloudflareAsyncDead Letter QueueEvent-Driven

Properties

Name Type Description
queue_id string Unique identifier for the queue.
queue_name string Name of the queue.
created_on string Timestamp when the queue was created.
modified_on string Timestamp when the queue was last modified.
producers_total_count number Total number of producers attached to this queue.
consumers_total_count number Total number of consumers attached to this queue.
settings object Queue configuration settings.
producers array List of producers attached to this queue.
consumers array List of consumers attached to this queue.
View JSON Schema on GitHub

JSON Schema

cloudflare-queues-queue.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudflare-queues/main/json-schema/cloudflare-queues-queue.json",
  "title": "Cloudflare Queue",
  "description": "A Cloudflare Queue resource representing a message queue managed through Cloudflare Workers.",
  "type": "object",
  "properties": {
    "queue_id": {
      "description": "Unique identifier for the queue.",
      "type": "string",
      "maxLength": 32,
      "readOnly": true
    },
    "queue_name": {
      "description": "Name of the queue.",
      "type": "string",
      "example": "example-queue"
    },
    "created_on": {
      "description": "Timestamp when the queue was created.",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "modified_on": {
      "description": "Timestamp when the queue was last modified.",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "producers_total_count": {
      "description": "Total number of producers attached to this queue.",
      "type": "number",
      "readOnly": true
    },
    "consumers_total_count": {
      "description": "Total number of consumers attached to this queue.",
      "type": "number",
      "readOnly": true
    },
    "settings": {
      "description": "Queue configuration settings.",
      "type": "object",
      "properties": {
        "delivery_delay": {
          "description": "Number of seconds to delay delivery of all messages to consumers.",
          "type": "number",
          "example": 5
        },
        "delivery_paused": {
          "description": "Indicates if message delivery to consumers is currently paused.",
          "type": "boolean",
          "example": false
        },
        "message_retention_period": {
          "description": "Number of seconds after which an unconsumed message will be retained.",
          "type": "number",
          "example": 345600
        }
      }
    },
    "producers": {
      "description": "List of producers attached to this queue.",
      "type": "array",
      "readOnly": true,
      "items": {
        "oneOf": [
          {
            "title": "Worker Producer",
            "properties": {
              "type": { "type": "string", "enum": ["worker"] },
              "script": { "type": "string" }
            },
            "required": ["type"]
          },
          {
            "title": "R2 Producer",
            "properties": {
              "type": { "type": "string", "enum": ["r2_bucket"] },
              "bucket_name": { "type": "string" }
            },
            "required": ["type"]
          }
        ]
      }
    },
    "consumers": {
      "description": "List of consumers attached to this queue.",
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "object"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudflare-queues-queue"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.