---
title: "Put Writes"
method: POST
path: "/checkpoints/put-writes"
tags: ["Checkpoints"]
---

# Put Writes

`POST /checkpoints/put-writes`

## Request body

- PutWritesRequest
  - `thread_id` string, required
  - `checkpoint_ns` string
  - `checkpoint_id` string, required
  - `writes` WriteData[], required
    - `task_id` string, required
    - `idx` integer, required
    - `channel` string, required
    - `type` string, nullable
    - `blob` string, required
    - `task_path` string
  - `upsert` boolean

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/scaleapi/apis/agentex-api.md) · [All operations](https://skmtc.dev/scaleapi/apis/agentex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scaleapi/agentex-api/revisions/1e0aaafd5780/schema)
