---
title: Subscriptions
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[Queues](https://developers.cloudflare.com/api/python/resources/queues)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Subscriptions

##### [List Event Subscriptions](https://developers.cloudflare.com/api/python/resources/queues/subresources/subscriptions/methods/list)

queues.subscriptions.list(SubscriptionListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[SubscriptionListResponse](<https://developers.cloudflare.com/api/python/resources/queues#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/event\_subscriptions/subscriptions

##### [Get Event Subscription](https://developers.cloudflare.com/api/python/resources/queues/subresources/subscriptions/methods/get)

queues.subscriptions.get(strsubscription\_id, SubscriptionGetParams\*\*kwargs) -> [SubscriptionGetResponse](<https://developers.cloudflare.com/api/python/resources/queues#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/event\_subscriptions/subscriptions/{subscription\_id}

##### [Create Event Subscription](https://developers.cloudflare.com/api/python/resources/queues/subresources/subscriptions/methods/create)

queues.subscriptions.create(SubscriptionCreateParams\*\*kwargs) -> [SubscriptionCreateResponse](<https://developers.cloudflare.com/api/python/resources/queues#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/event\_subscriptions/subscriptions

##### [Update Event Subscription](https://developers.cloudflare.com/api/python/resources/queues/subresources/subscriptions/methods/update)

queues.subscriptions.update(strsubscription\_id, SubscriptionUpdateParams\*\*kwargs) -> [SubscriptionUpdateResponse](<https://developers.cloudflare.com/api/python/resources/queues#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/event\_subscriptions/subscriptions/{subscription\_id}

##### [Delete Event Subscription](https://developers.cloudflare.com/api/python/resources/queues/subresources/subscriptions/methods/delete)

queues.subscriptions.delete(strsubscription\_id, SubscriptionDeleteParams\*\*kwargs) -> [SubscriptionDeleteResponse](<https://developers.cloudflare.com/api/python/resources/queues#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/event\_subscriptions/subscriptions/{subscription\_id}

##### ModelsExpand Collapse

<details>

<summary>

class SubscriptionListResponse: …

</summary>

id: str

Unique identifier for the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: datetime

When the subscription was created

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

destination: Destination

Destination configuration for the subscription

</summary>

queue\_id: str

ID of the target queue

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20queue_id">Link to this property</a>

type: Literal\["queues.queue"]

Type of destination

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

enabled: bool

Whether the subscription is active

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

events: List\[str]

List of event types this subscription handles

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20events">Link to this property</a>

modified\_at: datetime

When the subscription was last modified

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

name: str

Name of the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: Source

Source configuration for the subscription

</summary>

One of the following:

<details>

<summary>

class SourceMqEventSourceImages: …

</summary>

type: Optional\[Literal\["images"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceKV: …

</summary>

type: Optional\[Literal\["kv"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceR2: …

</summary>

type: Optional\[Literal\["r2"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceSuperSlurper: …

</summary>

type: Optional\[Literal\["superSlurper"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceVectorize: …

</summary>

type: Optional\[Literal\["vectorize"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersAIModel: …

</summary>

model\_name: Optional\[str]

Name of the Workers AI model

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20model_name">Link to this property</a>

type: Optional\[Literal\["workersAi.model"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersBuildsWorker: …

</summary>

type: Optional\[Literal\["workersBuilds.worker"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

worker\_name: Optional\[str]

Name of the worker

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersScript: …

</summary>

script\_tag: Optional\[str]

Tag of the Worker script

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20script_tag">Link to this property</a>

type: Optional\[Literal\["workers.script"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkflowsWorkflow: …

</summary>

type: Optional\[Literal\["workflows.workflow"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

workflow\_name: Optional\[str]

Name of the workflow

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20workflow_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_list_response%20%3E%20(schema)>)

<details>

<summary>

class SubscriptionGetResponse: …

</summary>

id: str

Unique identifier for the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: datetime

When the subscription was created

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

destination: Destination

Destination configuration for the subscription

</summary>

queue\_id: str

ID of the target queue

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20queue_id">Link to this property</a>

type: Literal\["queues.queue"]

Type of destination

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

enabled: bool

Whether the subscription is active

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

events: List\[str]

List of event types this subscription handles

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20events">Link to this property</a>

modified\_at: datetime

When the subscription was last modified

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

name: str

Name of the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: Source

Source configuration for the subscription

</summary>

One of the following:

<details>

<summary>

class SourceMqEventSourceImages: …

</summary>

type: Optional\[Literal\["images"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceKV: …

</summary>

type: Optional\[Literal\["kv"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceR2: …

</summary>

type: Optional\[Literal\["r2"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceSuperSlurper: …

</summary>

type: Optional\[Literal\["superSlurper"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceVectorize: …

</summary>

type: Optional\[Literal\["vectorize"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersAIModel: …

</summary>

model\_name: Optional\[str]

Name of the Workers AI model

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20model_name">Link to this property</a>

type: Optional\[Literal\["workersAi.model"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersBuildsWorker: …

</summary>

type: Optional\[Literal\["workersBuilds.worker"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

worker\_name: Optional\[str]

Name of the worker

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersScript: …

</summary>

script\_tag: Optional\[str]

Tag of the Worker script

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20script_tag">Link to this property</a>

type: Optional\[Literal\["workers.script"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkflowsWorkflow: …

</summary>

type: Optional\[Literal\["workflows.workflow"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

workflow\_name: Optional\[str]

Name of the workflow

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20workflow_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_get_response%20%3E%20(schema)>)

<details>

<summary>

class SubscriptionCreateResponse: …

</summary>

id: str

Unique identifier for the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: datetime

When the subscription was created

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

destination: Destination

Destination configuration for the subscription

</summary>

queue\_id: str

ID of the target queue

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20queue_id">Link to this property</a>

type: Literal\["queues.queue"]

Type of destination

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

enabled: bool

Whether the subscription is active

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

events: List\[str]

List of event types this subscription handles

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20events">Link to this property</a>

modified\_at: datetime

When the subscription was last modified

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

name: str

Name of the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: Source

Source configuration for the subscription

</summary>

One of the following:

<details>

<summary>

class SourceMqEventSourceImages: …

</summary>

type: Optional\[Literal\["images"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceKV: …

</summary>

type: Optional\[Literal\["kv"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceR2: …

</summary>

type: Optional\[Literal\["r2"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceSuperSlurper: …

</summary>

type: Optional\[Literal\["superSlurper"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceVectorize: …

</summary>

type: Optional\[Literal\["vectorize"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersAIModel: …

</summary>

model\_name: Optional\[str]

Name of the Workers AI model

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20model_name">Link to this property</a>

type: Optional\[Literal\["workersAi.model"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersBuildsWorker: …

</summary>

type: Optional\[Literal\["workersBuilds.worker"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

worker\_name: Optional\[str]

Name of the worker

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersScript: …

</summary>

script\_tag: Optional\[str]

Tag of the Worker script

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20script_tag">Link to this property</a>

type: Optional\[Literal\["workers.script"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkflowsWorkflow: …

</summary>

type: Optional\[Literal\["workflows.workflow"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

workflow\_name: Optional\[str]

Name of the workflow

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20workflow_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_create_response%20%3E%20(schema)>)

<details>

<summary>

class SubscriptionUpdateResponse: …

</summary>

id: str

Unique identifier for the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: datetime

When the subscription was created

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

destination: Destination

Destination configuration for the subscription

</summary>

queue\_id: str

ID of the target queue

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20queue_id">Link to this property</a>

type: Literal\["queues.queue"]

Type of destination

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

enabled: bool

Whether the subscription is active

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

events: List\[str]

List of event types this subscription handles

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20events">Link to this property</a>

modified\_at: datetime

When the subscription was last modified

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

name: str

Name of the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: Source

Source configuration for the subscription

</summary>

One of the following:

<details>

<summary>

class SourceMqEventSourceImages: …

</summary>

type: Optional\[Literal\["images"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceKV: …

</summary>

type: Optional\[Literal\["kv"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceR2: …

</summary>

type: Optional\[Literal\["r2"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceSuperSlurper: …

</summary>

type: Optional\[Literal\["superSlurper"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceVectorize: …

</summary>

type: Optional\[Literal\["vectorize"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersAIModel: …

</summary>

model\_name: Optional\[str]

Name of the Workers AI model

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20model_name">Link to this property</a>

type: Optional\[Literal\["workersAi.model"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersBuildsWorker: …

</summary>

type: Optional\[Literal\["workersBuilds.worker"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

worker\_name: Optional\[str]

Name of the worker

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersScript: …

</summary>

script\_tag: Optional\[str]

Tag of the Worker script

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20script_tag">Link to this property</a>

type: Optional\[Literal\["workers.script"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkflowsWorkflow: …

</summary>

type: Optional\[Literal\["workflows.workflow"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

workflow\_name: Optional\[str]

Name of the workflow

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20workflow_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_update_response%20%3E%20(schema)>)

<details>

<summary>

class SubscriptionDeleteResponse: …

</summary>

id: str

Unique identifier for the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: datetime

When the subscription was created

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

destination: Destination

Destination configuration for the subscription

</summary>

queue\_id: str

ID of the target queue

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20queue_id">Link to this property</a>

type: Literal\["queues.queue"]

Type of destination

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20destination%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20destination">Link to this property</a>

enabled: bool

Whether the subscription is active

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

events: List\[str]

List of event types this subscription handles

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20events">Link to this property</a>

modified\_at: datetime

When the subscription was last modified

formatdate-time

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

name: str

Name of the subscription

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

source: Source

Source configuration for the subscription

</summary>

One of the following:

<details>

<summary>

class SourceMqEventSourceImages: …

</summary>

type: Optional\[Literal\["images"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceKV: …

</summary>

type: Optional\[Literal\["kv"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceR2: …

</summary>

type: Optional\[Literal\["r2"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceSuperSlurper: …

</summary>

type: Optional\[Literal\["superSlurper"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceVectorize: …

</summary>

type: Optional\[Literal\["vectorize"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersAIModel: …

</summary>

model\_name: Optional\[str]

Name of the Workers AI model

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20model_name">Link to this property</a>

type: Optional\[Literal\["workersAi.model"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersBuildsWorker: …

</summary>

type: Optional\[Literal\["workersBuilds.worker"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

worker\_name: Optional\[str]

Name of the worker

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkersScript: …

</summary>

script\_tag: Optional\[str]

Tag of the Worker script

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20script_tag">Link to this property</a>

type: Optional\[Literal\["workers.script"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

class SourceMqEventSourceWorkflowsWorkflow: …

</summary>

type: Optional\[Literal\["workflows.workflow"]]

Type of source

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

workflow\_name: Optional\[str]

Name of the workflow

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208%20%3E%20(property)%20workflow_name">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(variant)%208">Link to this property</a>

</details>

<a href="#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20queues.subscriptions%20%3E%20(model)%20subscription_delete_response%20%3E%20(schema)>)