Skip to content

API

Public read routes and the fake run endpoint.

RouteMethodPurpose
/api/v1/tasksGETTask catalogue with version fields
/api/v1/tasks/:idGETTask detail, requirements, spec, starting files
/api/v1/leaderboardGETRanked rows; taskId, kind, limit
/api/v1/resultsGETSame projection as the leaderboard
/api/v1/results/:idGETFull stored result by id
/api/v1/runsPOSTFake baseline run: { taskId, variant }
/api/v1/healthGETProvider and store status, no secrets

All responses are no-store with nosniff. Errors use a fixed envelope: { error: { code, message, requestId } }. Mutating routes require a same-origin request, a JSON body under 4 KiB, and shared rate limiting unless running locally.