Hosted Runs
Hosted runs let agents do longer work while todos.md keeps status, logs, and artifacts.
Lifecycle
- Create a run.
- Queue it.
- Poll status or let the agent wait.
- Review logs.
- Download artifacts.
List runs
todos api get /api/v1/runsCreate a run
todos api post /api/v1/runs/example-capabilityArtifact layout
Each run can export files:
.todos/
exports/
run_01hy...
manifest.json
receipt.json
result.json
Async status
Long jobs should be resumable by run id.
Check status
todos api get /api/v1/runs/<run-id>