agents

Branch an agent.

Changed on

Creates a new agent from a live copy-on-write branch of this agent's machine. Requires the machine:create scope.

post/v1/agents/{name}/branch

Request

Path parameters

namestring required

Session name

Request body

namestring required
turninteger required

Response

New session from the state right after the turn

createdAtstring required
errorstring nullable
harnessstring required
machineIdstring nullable

The machine the session currently runs on (it changes on rewind).

modelstring nullable
namestring required
runningTurninteger nullable

The turn in progress, if any.

statusstring required

starting during setup, turning during a turn, cancelling, rewinding, forking, pausing, resuming, ready, deleting, or failed; stale work may read as interrupted.

Changes