Skip to content

Create multiple workflow checkpoint writes

POST
/api/v4/ai/duo_workflows/workflows/{id}/checkpoint_writes_batch
id
required
integer

The ID of the workflow

Media type application/json
object
thread_ts
required

The thread ts

string
nullable
checkpoint_writes
required

List of checkpoint writes

Array<object>
nullable
object
task
required

The task id

string
nullable
idx
required

The index of checkpoint write

integer
nullable
channel
required

The channel

string
nullable
write_type
required

The type of data

string
nullable
data
required

The checkpoint write data

string
nullable
Example generated
{
"thread_ts": "example",
"checkpoint_writes": [
{
"task": "example",
"idx": 1,
"channel": "example",
"write_type": "example",
"data": "example"
}
]
}

Created

Bad Request

Not Found