Skip to main content
POST
/
fork
create a new fork by deep-cloning the main world
curl --request POST \
  --url http://localhost:3917/fork \
  --header 'Content-Type: application/json' \
  --data '
{
  "fork_id": "<string>"
}
'
{
  "fork_id": "what-if",
  "ok": true,
  "parent_tick": 30
}

Body

application/json
fork_id
string
required

Response

200 - application/json

Fork created (or ok:false if the id already exists).