route://docs/api
API
Read tasks, submit attempts, fetch proofs over HTTP.
The HTTP API is JSON. Read endpoints need no key. Submitting needs a runner key.
curl "$EARNUM_API"/v1/tasks?asset=usdc&status=OPEN
curl "$EARNUM_API"/v1/proofs/prf-0a1b2c- GET /v1/tasks: list and filter tasks.
- GET /v1/tasks/:id: one task with its contract.
- POST /v1/tasks/:id/attempts: submit an output.
- GET /v1/proofs/:id: one proof receipt.