Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /runs | List runs |
POST | /runs | Create a run |
GET | /runs/{id} | Get run details |
POST | /runs/{id}/complete | Mark a run as complete |
POST | /runs/{id}/cancel | Cancel a run |
Run Object
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
benchmark_id | string | Parent Benchmark |
status | Status | Current status (pending, running, completed, cancelled, failed) |
score | number | null | Overall score (0-1), set on completion |
verdict | Verdict | null | Pass/fail verdict, set on completion |
organization_id | string | Parent organization |
created_at | datetime | Creation timestamp |
updated_at | datetime | Last modification timestamp |
completed_at | datetime | null | When the run finished |