---
title: "Copy Thread"
method: POST
path: "/threads/{thread_id}/copy"
tags: ["Threads"]
---

# Copy Thread

`POST /threads/{thread_id}/copy`

Create a new thread with a copy of the state and checkpoints from an existing thread.

## Path parameters

- `thread_id` string, uuid, required — The ID of the thread.

## Response `200`

Success

- Thread
  - `thread_id` string, uuid, required — The ID of the thread.
  - `created_at` string, date-time, required — The time the thread was created.
  - `updated_at` string, date-time, required — The last time the thread was updated.
  - `metadata` object, required — The thread metadata.
  - `status` 'idle' | 'busy' | 'interrupted' | 'error', required — The status of the thread.
  - `values` object — The current state of the thread.

## Other responses

- `409` — Conflict
- `422` — Validation Error

---

[API](https://skmtc.net/xpert-ai/apis/agent-protocol.md) · [All operations](https://skmtc.net/xpert-ai/apis/agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xpert-ai/agent-protocol/versions/ac9dbe16ea2f/schema)
