HTTP API

Run independent attempts

Use a project-scoped runner key to create attempts. The response contains one launch URL per required application and a separate management token for the attempt lifecycle.

Lifecycle

GET  /api/tasks
POST /api/runner/attempts
GET  /api/attempts/:id
POST /api/attempts/:id/resume
POST /api/attempts/:id/finish
POST /api/attempts/:id/retry

Create

curl -X POST https://api.gym.tinkererslabs.com/api/runner/attempts \
  -H 'content-type: application/json' \
  -H 'authorization: Bearer PROJECT_RUNNER_KEY' \
  -d '{"taskId":"cross-app-incident-4821","agent":"model-name","label":"evaluation-1"}'

Give the agent the task instructions and returned app launch URLs. Send the management token as a bearer token for resume, finish, and retry.