fork_project
Copy an entire project — resources + records verbatim, custom routes, behavior settings — into a brand-new project with its own id + adminKey. Built for parallel eval/CI runs: keep a template project, fork_project per run with a ttl (crashed runs can't leak sandboxes — the fork deletes itself), let the agent mutate the fork freely, then grade with snapshots action:"diff". withSnapshots:true also copies the template's snapshots, so a fork carries its expected/start answer keys for diff-based grading. Works on the shared playground with NO adminKey: {"project":"demo"} gives you the demo dataset as your own private project (writes persist, never resets).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Self-expiring fork: auto-deletes after this many seconds (60–604800), even if your run crashes. Optional. | |
| name | No | Name for the fork (default: <source name>-fork). Optional. | |
| project | Yes | Source project id to fork (or "demo"). | |
| adminKey | No | Source project's adminKey. Not needed when forking "demo". | |
| withSnapshots | No | Also copy the source's snapshots into the fork (answer keys travel with it). Optional. |