## Put Writes

**post** `/checkpoints/put-writes`

Put Writes

### Body Parameters

- `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`

### Example

```http
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"
            }
          ]
        }'
```
