Skip to content

Create workflow checkpoint

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

The ID of the workflow

Media type application/json
object
thread_ts
required

The thread ts

string
nullable
parent_ts

The parent ts

string
nullable
checkpoint

Checkpoint content

object
compressed_checkpoint

Checkpoint content zlib compressed and base64 encoded

string
nullable
metadata
required

Checkpoint metadata

object
model_metadata_json

JSON string of the model metadata

string
nullable
current_thread

Thread grouping hint for blob reconstruction

integer
0 nullable
channel_blobs

Per-channel blobs for incremental checkpoint storage

Array<object>
nullable
object
channel
required

Channel name

string
nullable <= 255 characters
version
required

Channel version

string
nullable <= 255 characters
write_type
required

Serialization type (e.g. msgpack)

string
nullable <= 255 characters
step_action
required

Append or replace signal (conversation or compaction)

string
>= 1 characters
Allowed values: conversation compaction
data
required

Base64-encoded blob bytes

string
nullable <= 1398104 characters

Created

Bad Request

Not Found