Skip to main content
POST
/
checkpoints
/
put-writes
Put Writes
curl --request POST \
  --url https://api.example.com/checkpoints/put-writes \
  --header 'Content-Type: application/json' \
  --data '
{
  "thread_id": "<string>",
  "checkpoint_id": "<string>",
  "writes": [
    {
      "task_id": "<string>",
      "idx": 123,
      "channel": "<string>",
      "blob": "<string>",
      "type": "<string>",
      "task_path": ""
    }
  ],
  "checkpoint_ns": "",
  "upsert": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Body

application/json
thread_id
string
required
checkpoint_id
string
required
writes
WriteData · object[]
required
checkpoint_ns
string
default:""
upsert
boolean
default:false

Response

Successful Response