Skip to main content
POST
Create agent branch

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by auth.api.signInEmail (or the OAuth flow). Forwarded automatically by the browser; copy via document.cookie for server-to-server calls during development.

Path Parameters

agentId
string
required

Body

application/json
name
string
required
Maximum string length: 140
Example:

"experiment-tone"

parent_version_id
string
required

A version id this branch is forked from

Example:

"agtvrsn_abc123"

description
string

Free-form UI hint; not persisted in Phase 1

Response

201 - undefined