## Put Checkpoint

**post** `/checkpoints/put`

Put Checkpoint

### Body Parameters

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

### Returns

- `checkpoint_id: string`

- `checkpoint_ns: string`

- `thread_id: string`

### Example

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

#### Response

```json
{
  "checkpoint_id": "checkpoint_id",
  "checkpoint_ns": "checkpoint_ns",
  "thread_id": "thread_id"
}
```
