v6

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01231846.9 KB
Threads

Copy Thread

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

post/threads/{thread_id}/copy

Path parameters

thread_idstring uuid required

The ID of the thread.

The ID of the thread.

Response

Success

thread_idstring uuid required

The ID of the thread.

created_atstring date-time required

The time the thread was created.

updated_atstring date-time required

The last time the thread was updated.

metadataobject required

The thread metadata.

status'idle' | 'busy' | 'interrupted' | 'error' required

The status of the thread.

valuesobject

The current state of the thread.