Skip to content

Put Checkpoint

POST/checkpoints/put

Put Checkpoint

Body ParametersJSONExpand Collapse
checkpoint: map[unknown]
checkpoint_id: string
thread_id: string
blobs: optional array of object { channel, type, version, blob }
channel: string
type: string
version: string
blob: optional string
checkpoint_ns: optional string
metadata: optional map[unknown]
parent_checkpoint_id: optional string
ReturnsExpand Collapse
checkpoint_id: string
checkpoint_ns: string
thread_id: string

Put Checkpoint

curl http://localhost:5003/checkpoints/put \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $AGENTEX_SDK_API_KEY" \
    -d '{
          "checkpoint": {
            "foo": "bar"
          },
          "checkpoint_id": "checkpoint_id",
          "thread_id": "thread_id"
        }'
{
  "checkpoint_id": "checkpoint_id",
  "checkpoint_ns": "checkpoint_ns",
  "thread_id": "thread_id"
}
Returns Examples
{
  "checkpoint_id": "checkpoint_id",
  "checkpoint_ns": "checkpoint_ns",
  "thread_id": "thread_id"
}