---
title: Instances
---

[Skip to content](#_top)

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

[Workflows](https://developers.cloudflare.com/api/python/resources/workflows)

Copy Markdown

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

---

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

# Instances

##### [List of workflow instances](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/methods/list)

workflows.instances.list(strworkflow\_name, InstanceListParams\*\*kwargs) -> SyncV4PagePaginationArray\[[InstanceListResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/workflows/{workflow\_name}/instances

##### [Get logs and status from instance](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/methods/get)

workflows.instances.get(strinstance\_id, InstanceGetParams\*\*kwargs) -> [InstanceGetResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/workflows/{workflow\_name}/instances/{instance\_id}

##### [Create a new workflow instance](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/methods/create)

workflows.instances.create(strworkflow\_name, InstanceCreateParams\*\*kwargs) -> [InstanceCreateResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/workflows/{workflow\_name}/instances

##### [Batch create new Workflow instances](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/methods/bulk)

workflows.instances.bulk(strworkflow\_name, InstanceBulkParams\*\*kwargs) -> SyncSinglePage\[[InstanceBulkResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)>)]

POST/accounts/{account\_id}/workflows/{workflow\_name}/instances/batch

##### [Get full step output from instance](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/methods/step)

workflows.instances.step(strinstance\_id, InstanceStepParams\*\*kwargs) -> [InstanceStepResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/workflows/{workflow\_name}/instances/{instance\_id}/step

##### ModelsExpand Collapse

<details>

<summary>

class InstanceListResponse: …

</summary>

id: str

maxLength100

minLength1

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_on: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

ended\_on: Optional\[datetime]

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20ended_on">Link to this property</a>

modified\_on: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

started\_on: Optional\[datetime]

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20started_on">Link to this property</a>

<details>

<summary>

status: Literal\["queued", "running", "paused", 6 more]

</summary>

One of the following:

"queued"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"running"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"paused"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"errored"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"terminated"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"complete"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"waitingForPause"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

"waiting"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%207">Link to this property</a>

"rollingBack"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

version\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20version_id">Link to this property</a>

workflow\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20workflow_id">Link to this property</a>

<details>

<summary>

trigger\_source: Optional\[Literal\["unknown", "api", "binding", 2 more]]

</summary>

One of the following:

"unknown"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%200">Link to this property</a>

"api"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%201">Link to this property</a>

"binding"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%202">Link to this property</a>

"event"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%203">Link to this property</a>

"cron"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances%20%3E%20(model)%20instance_list_response%20%3E%20(schema)>)

<details>

<summary>

class InstanceGetResponse: …

</summary>

end: Optional\[datetime]

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20end">Link to this property</a>

<details>

<summary>

error: Optional\[Error]

</summary>

message: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

output: Union\[str, float]

</summary>

One of the following:

str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20output%20%3E%20(variant)%200">Link to this property</a>

float

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20output%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20output">Link to this property</a>

params: object

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20params">Link to this property</a>

queued: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20queued">Link to this property</a>

<details>

<summary>

rollback: Optional\[Rollback]

</summary>

<details>

<summary>

error: Optional\[RollbackError]

</summary>

message: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback%20%3E%20(property)%20error%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

outcome: Literal\["complete", "failed"]

</summary>

One of the following:

"complete"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback%20%3E%20(property)%20outcome%20%3E%20(member)%200">Link to this property</a>

"failed"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback%20%3E%20(property)%20outcome%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback%20%3E%20(property)%20outcome">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20rollback">Link to this property</a>

start: Optional\[datetime]

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20start">Link to this property</a>

<details>

<summary>

status: Literal\["queued", "running", "paused", 6 more]

</summary>

One of the following:

"queued"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"running"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"paused"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"errored"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"terminated"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"complete"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"waitingForPause"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

"waiting"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%207">Link to this property</a>

"rollingBack"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

step\_count: int

maximum9007199254740991

minimum-9007199254740991

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20step_count">Link to this property</a>

<details>

<summary>

steps: List\[Step]

</summary>

One of the following:

<details>

<summary>

class StepUnionMember0: …

</summary>

<details>

<summary>

attempts: List\[StepUnionMember0Attempt]

</summary>

end: Optional\[datetime]

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts%20%3E%20(items)%20%3E%20(property)%20end">Link to this property</a>

<details>

<summary>

error: Optional\[StepUnionMember0AttemptError]

</summary>

message: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts%20%3E%20(items)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts%20%3E%20(items)%20%3E%20(property)%20error%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts%20%3E%20(items)%20%3E%20(property)%20error">Link to this property</a>

start: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts%20%3E%20(items)%20%3E%20(property)%20start">Link to this property</a>

success: Optional\[bool]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts%20%3E%20(items)%20%3E%20(property)%20success">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20attempts">Link to this property</a>

<details>

<summary>

config: StepUnionMember0Config

</summary>

<details>

<summary>

retries: StepUnionMember0ConfigRetries

</summary>

<details>

<summary>

delay: Union\[str, float]

Specifies the delay duration. The value ‘\[dynamic]’ means that a user-supplied function computes the delay.

</summary>

One of the following:

str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20delay%20%3E%20(variant)%200">Link to this property</a>

float

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20delay%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20delay">Link to this property</a>

limit: float

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20limit">Link to this property</a>

<details>

<summary>

backoff: Optional\[Literal\["constant", "linear", "exponential"]]

</summary>

One of the following:

"constant"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20backoff%20%3E%20(member)%200">Link to this property</a>

"linear"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20backoff%20%3E%20(member)%201">Link to this property</a>

"exponential"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20backoff%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries%20%3E%20(property)%20backoff">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20retries">Link to this property</a>

<details>

<summary>

timeout: Union\[str, float]

Specifies the timeout duration.

</summary>

One of the following:

str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20timeout%20%3E%20(variant)%200">Link to this property</a>

float

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20timeout%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20timeout">Link to this property</a>

sensitive: Optional\[Literal\["output"]]

When set to ‘output’, step output is redacted from log and step output responses.

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config%20%3E%20(property)%20sensitive">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20config">Link to this property</a>

end: Optional\[datetime]

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20end">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20name">Link to this property</a>

output: Optional\[str]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20output">Link to this property</a>

start: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20start">Link to this property</a>

success: Optional\[bool]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20success">Link to this property</a>

<details>

<summary>

type: Literal\["step", "rollback"]

</summary>

One of the following:

"step"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"rollback"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

class StepUnionMember1: …

</summary>

end: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20end">Link to this property</a>

<details>

<summary>

error: Optional\[StepUnionMember1Error]

</summary>

message: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20error%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20error">Link to this property</a>

finished: bool

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20finished">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

start: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20start">Link to this property</a>

type: Literal\["sleep"]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

class StepUnionMember2: …

</summary>

<details>

<summary>

trigger: StepUnionMember2Trigger

</summary>

source: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20trigger%20%3E%20(property)%20source">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20trigger">Link to this property</a>

type: Literal\["termination"]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

class StepUnionMember3: …

</summary>

end: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20end">Link to this property</a>

<details>

<summary>

error: Optional\[StepUnionMember3Error]

</summary>

message: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20error%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20error">Link to this property</a>

finished: bool

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20finished">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20name">Link to this property</a>

start: datetime

formatdate-time

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20start">Link to this property</a>

type: Literal\["waitForEvent"]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

event\_type: Optional\[str]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20event_type">Link to this property</a>

output: Optional\[str]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20output">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps%20%3E%20(items)%20%3E%20(variant)%203">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20steps">Link to this property</a>

success: Optional\[bool]

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

<details>

<summary>

trigger: Trigger

</summary>

<details>

<summary>

source: Literal\["unknown", "api", "binding", 2 more]

</summary>

One of the following:

"unknown"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger%20%3E%20(property)%20source%20%3E%20(member)%200">Link to this property</a>

"api"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger%20%3E%20(property)%20source%20%3E%20(member)%201">Link to this property</a>

"binding"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger%20%3E%20(property)%20source%20%3E%20(member)%202">Link to this property</a>

"event"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger%20%3E%20(property)%20source%20%3E%20(member)%203">Link to this property</a>

"cron"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger%20%3E%20(property)%20source%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger%20%3E%20(property)%20source">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20trigger">Link to this property</a>

version\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20versionId">Link to this property</a>

<details>

<summary>

schedule: Optional\[Schedule]

</summary>

cron: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20schedule%20%3E%20(property)%20cron">Link to this property</a>

scheduled\_time: float

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20schedule%20%3E%20(property)%20scheduledTime">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)%20%3E%20(property)%20schedule">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances%20%3E%20(model)%20instance_get_response%20%3E%20(schema)>)

<details>

<summary>

class InstanceCreateResponse: …

</summary>

id: str

maxLength100

minLength1

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

status: Literal\["queued", "running", "paused", 6 more]

</summary>

One of the following:

"queued"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"running"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"paused"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"errored"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"terminated"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"complete"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"waitingForPause"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

"waiting"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%207">Link to this property</a>

"rollingBack"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

version\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20version_id">Link to this property</a>

workflow\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20workflow_id">Link to this property</a>

<details>

<summary>

trigger\_source: Optional\[Literal\["unknown", "api", "binding", 2 more]]

</summary>

One of the following:

"unknown"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%200">Link to this property</a>

"api"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%201">Link to this property</a>

"binding"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%202">Link to this property</a>

"event"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%203">Link to this property</a>

"cron"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances%20%3E%20(model)%20instance_create_response%20%3E%20(schema)>)

<details>

<summary>

class InstanceBulkResponse: …

</summary>

id: str

maxLength100

minLength1

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

status: Literal\["queued", "running", "paused", 6 more]

</summary>

One of the following:

"queued"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"running"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"paused"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"errored"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"terminated"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"complete"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"waitingForPause"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

"waiting"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%207">Link to this property</a>

"rollingBack"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

version\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20version_id">Link to this property</a>

workflow\_id: str

formatuuid

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20workflow_id">Link to this property</a>

<details>

<summary>

trigger\_source: Optional\[Literal\["unknown", "api", "binding", 2 more]]

</summary>

One of the following:

"unknown"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%200">Link to this property</a>

"api"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%201">Link to this property</a>

"binding"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%202">Link to this property</a>

"event"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%203">Link to this property</a>

"cron"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)%20%3E%20(property)%20trigger_source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances%20%3E%20(model)%20instance_bulk_response%20%3E%20(schema)>)

<details>

<summary>

class InstanceStepResponse: …

</summary>

<details>

<summary>

error: Optional\[Error]

Error details when status=‘errored’; null otherwise.

</summary>

message: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

name: str

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

<details>

<summary>

status: Literal\["queued", "running", "paused", 6 more]

</summary>

One of the following:

"queued"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"running"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"paused"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"errored"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"terminated"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"complete"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"waitingForPause"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

"waiting"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%207">Link to this property</a>

"rollingBack"

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

event\_type: Optional\[str]

The event type the step is waiting on, as supplied to step.waitForEvent. Only present when type=‘waitForEvent’.

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20event_type">Link to this property</a>

output: Optional\[object]

Contains the full step output or waitForEvent payload without truncation. Uses ‘\[REDACTED]’ for sensitive outputs. Contains a value when status=‘complete’. May contain a ReadableStream when step.do returns one; the response serves stream outputs as application/octet-stream rather than JSON.

<a href="#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)%20%3E%20(property)%20output">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances%20%3E%20(model)%20instance_step_response%20%3E%20(schema)>)

#### InstancesStatus

##### [Change status of instance](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/subresources/status/methods/edit)

workflows.instances.status.edit(strinstance\_id, StatusEditParams\*\*kwargs) -> [StatusEditResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)>)

PATCH/accounts/{account\_id}/workflows/{workflow\_name}/instances/{instance\_id}/status

##### ModelsExpand Collapse

<details>

<summary>

class StatusEditResponse: …

</summary>

<details>

<summary>

status: Literal\["queued", "running", "paused", 6 more]

</summary>

One of the following:

"queued"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"running"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"paused"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"errored"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"terminated"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"complete"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"waitingForPause"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

"waiting"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%207">Link to this property</a>

"rollingBack"

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%208">Link to this property</a>

</details>

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

timestamp: datetime

Accepts ISO 8601 with no timezone offsets and in UTC.

formatdate-time

<a href="#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)%20%3E%20(property)%20timestamp">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances.status%20%3E%20(model)%20status_edit_response%20%3E%20(schema)>)

#### InstancesEvents

##### [Send event to instance](https://developers.cloudflare.com/api/python/resources/workflows/subresources/instances/subresources/events/methods/create)

workflows.instances.events.create(strevent\_type, EventCreateParams\*\*kwargs) -> [EventCreateResponse](<https://developers.cloudflare.com/api/python/resources/workflows#(resource)%20workflows.instances.events%20%3E%20(model)%20event_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/workflows/{workflow\_name}/instances/{instance\_id}/events/{event\_type}

##### ModelsExpand Collapse

<details>

<summary>

class EventCreateResponse: …

</summary>

instance\_id: str

<a href="#(resource)%20workflows.instances.events%20%3E%20(model)%20event_create_response%20%3E%20(schema)%20%3E%20(property)%20instanceId">Link to this property</a>

timestamp: datetime

Accepts ISO 8601 with no timezone offsets and in UTC.

formatdate-time

<a href="#(resource)%20workflows.instances.events%20%3E%20(model)%20event_create_response%20%3E%20(schema)%20%3E%20(property)%20timestamp">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workflows.instances.events%20%3E%20(model)%20event_create_response%20%3E%20(schema)>)