Skip to content

Put Writes

POST/checkpoints/put-writes

Put Writes

Body ParametersJSONExpand Collapse
checkpoint_id: string
thread_id: string
writes: array of object { blob, channel, idx, 3 more }
blob: string
channel: string
idx: number
task_id: string
task_path: optional string
type: optional string
checkpoint_ns: optional string
upsert: optional boolean

Put Writes

curl http://localhost:5003/checkpoints/put-writes \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $AGENTEX_SDK_API_KEY" \
    -d '{
          "checkpoint_id": "checkpoint_id",
          "thread_id": "thread_id",
          "writes": [
            {
              "blob": "blob",
              "channel": "channel",
              "idx": 0,
              "task_id": "task_id"
            }
          ]
        }'
Returns Examples