Built for Fly.io Hacksgiving 2026. See how each judge's product is used
Skip to Content
HTTP APIAdmin

Run one scheduler step

POST
/admin/tick

Advance the clock once: birth, death or trial, whichever is due.

Answers within about 8 seconds. A step that takes longer (a birth installs a Sprite) carries on in the background and this returns 202 with state running; read /admin/status for the clock's state. Trials run in the background and never hold this request.

Authorization

admin
headerX-Probate-Admin<token>

PROBATE_ADMIN_TOKEN from the Courthouse's .env

Response Body

Successful Response

response?unknownapplication/json
Example Request
curl -X POST 'http://localhost:8080/admin/tick'
Example Response
null