Create multiple workflow checkpoint writes
POST
/api/v4/ai/duo_workflows/workflows/{id}/checkpoint_writes_batch
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
The ID of the workflow
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
thread_ts
required
The thread ts
string
checkpoint_writes
required
List of checkpoint writes
Array<object>
object
task
required
The task id
string
idx
required
The index of checkpoint write
integer
channel
required
The channel
string
write_type
required
The type of data
string
data
required
The checkpoint write data
string
Examplegenerated
{ "thread_ts": "example", "checkpoint_writes": [ { "task": "example", "idx": 1, "channel": "example", "write_type": "example", "data": "example" } ]}Responses
Section titled “Responses”Created
Bad Request
Not Found