Cancel an in-progress test run
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | UUID of the run to cancel |
| Field | Type | Description |
|---|---|---|
id | string | Run UUID |
status | string | New status (canceled) |
message | string | Confirmation message |
| Code | Description |
|---|---|
RUN_NOT_FOUND | Run not found or doesn’t belong to your organization |
INVALID_STATE | Run is already completed, failed, or canceled |
| Status | Cancelable |
|---|---|
pending | Yes |
running | Yes |
grading | Yes |
completed | No |
failed | No |
canceled | No |