Server & Run Routes
The routes that start and stop processes, talk to the server, batch calls, stream events, and run scenarios, crawls, recorders and load runs. Some of them need the API token. On this sheet that is /start, /run, /stop, /console, /shutdown, /takeover, /release, /rcon, /batch, /server/install-agent and some other /server/... routes, /scenario/save, /scenario/run, /diff/snapshot, /visual/check, /record/scenario/start, /record/scenario/stop and /load/start. The rest, /crawl and /crawl/start included, work without it. The full list is on HTTP API.

Processes
| Endpoint | Parameters | Returns |
|---|---|---|
/processes | managed processes with their RAM trees | |
/start | what=server or client (user, w, h for the client) | the new process |
/run | cmd, dir | runs a command. Gradle launches get --no-daemon, and gradlew in a dir with a wrapper jar starts the jar directly |
/stop | id, kill=1 to skip the graceful stop | |
/console | c, optional id of another process, wait=500 | sends a line to the server console, returns the output that followed |
/takeover, /release | bot | see Takeover. The first takeover downloads the client, so give it a long timeout. /takeover returns the client version, proxied and the serverVersion the proxy talks to |
/screenshot | bot, scale=1 (0.05 to 1), save=1 | a PNG of the takeover client window, or with save=1 the saved file's path |
/record/start | bot, fps=10 (1 to 20), scale=0.5, max=60 (s, up to 300) | starts a GIF recording of the client window |
/record/stop | bot, save=1 | the GIF, or with save=1 its path and frame count. A recording that hit max or lost its window still comes back here |
/status, /shutdown | tool state, and a clean exit |
Config keysession.lockThe server guard refuses to start a server when its port is already taken or its world session.lock is held.
Server, RCON, batches and events
| Endpoint | Parameters | Returns |
|---|---|---|
/server/<endpoint> | see Server Agent | the agent's answer |
/server/install-agent | dir (a plugins folder) | where the agent jar went, its config.yml gets the tool's agent token |
/rcon | c | the command's output over RCON |
/batch (POST) | body [{"path": "/act", "params": {...}}, ...], stopOnError=1 | one result per call, run in order in one request |
/events | bot, types=chat,packet,hud, filter (packet name part), seconds=60 | server-sent events, one data: {json} line per chat line, packet or HUD event |
/batch saves round trips when several calls belong together. Inside it every call that fails still answers {"error":"..."} in the list.
Scenarios over HTTP
| Endpoint | Parameters |
|---|---|
/scenario/list | |
/scenario/get | name |
/scenario/save (POST) | name ending in .json, .yml or .yaml (the extension picks the format), the scenario as the body |
/scenario/run | name, or the scenario as a POST body with format=yml for YAML. timeout=600 (s), after which the run is cancelled |
Whole folders run through /suite/run, see Short Loop & Result Cache.
Crawler, diff, recorder and load runs
| Endpoint | Parameters | Returns |
|---|---|---|
/crawl | bot, root (one command, or several split by |), depth=2, skip (regex), allow (regex), safe=1, maxMenus=150, mode=events|fixed, commandWait=2500, clickWait=2000, settle=60, pages=10, next, previous, pageLore=0, prompt, answers, answer=cancel, timeout=1800 (s) | the graph, once the crawl ends |
/crawl/start | same as /crawl | {"job":"crawl-1",...} right away |
/crawl/status | job | state, progress, and stats and errors once done |
/crawl/result | job | the graph of a finished crawl |
/crawl/cancel | job | stops the crawl, what it found so far stays |
/crawl/jobs | every crawl this session | |
/crawl/export | job or snapshot, format=explorer|studio|graph, name | website explorer JSON, a GUI Studio project, or the raw graph |
/diff/snapshot | name, then job or the /crawl parameters | crawls (or takes a finished crawl) and saves it under the name |
/diff/list | saved snapshots | |
/diff/compare | a, b, format=json|text|html | what changed from a to b |
/visual/check | job or snapshot, baseline (folder), update=1, renderUrl, report (folder), tolerance=0 (percent), threshold=24, scale=2 | the visual report, see Visual regression |
/record/scenario/start | bot, name, by=name|slot | starts recording that bot |
/record/scenario/stop | bot | saves the scenario and returns its YAML |
/record/scenario/status | bots being recorded and their step counts | |
/load/start | count, pattern=Load_{n}, actions, cmd, duration=60s, interval=3s, stagger=250, health=auto, host, port | {"job":"load-1",...} |
/load/status | job, default the latest | progress and live numbers |
/load/stop | job | ends the run early, the report is still written |
/load/report | job, format=json|html | the finished report |
/jobs | every crawl and load job |
What each run does is on its own sheet: