Skip to main content
PATCH
Update 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
branchId
string
required

Body

application/json
is_archived
boolean

Soft-archive (true) or unarchive (false) this branch.

name
string

Rename the branch

Response

200 - undefined