Skip to main content
POST
Branch an agent prompt version

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Identifier of the agent to branch a version for.

vid
string
required

Identifier of the source version to fork from.

Body

application/json
branch
string
required

Label for the new experiment branch.

Required string length: 1 - 120
note
string

Optional note describing the branch.

Maximum string length: 1000

Response

200 - application/json

The newly minted branch version row.

data
object

An immutable checkpoint of an agent's versioned configuration, minted on save, promote, or branch. Captures the prompt, model, and settings snapshot for a single version so it can be diffed or restored later.

meta
object