Skip to main content
POST
Fork a thread from a message.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Path Parameters

id
string
required
messageId
string
required

Body

application/json
version
enum<string>
default:v2

Optional assistant runtime API version for the forked thread. v1 is expired and rejected.

Available options:
v1,
v2
title
string

Optional explicit title for the forked thread. When omitted, orchestration will generate the new thread title.

Required string length: 1 - 120
sideChat
boolean
default:false

Create a side chat under the owned source thread. Available only for ordinary owned conversations. Omit for a standalone fork.

studioSessionId
string<uuid>

Bind an owned conversation fork to an OPEN Studio workspace under fresh editing access. A Studio-bound source requires a child whose parentSessionId is the original workspace. The source conversation and its private history remain unchanged.

Response

Thread forked.