Tests

Cancel a Test run

Changed on

Requests cancellation and evaluation-sandbox cleanup. The operation is idempotent. A run already completed remains completed; a run that can be interrupted moves through cancelling to cancelled.

delete/api/v2/projects/{projectId}/tests/{testId}/runs/{runId}

Request

  • Base URL
    https://davinci-app.com
  • Auth
    HTTP bearer

Response

Terminal state after cancellation or an already-terminal run.

runIdstring uuid required
projectIdstring required
branchNamestring required
testIdstring required
codeObjectIdstring
evaluationRunIdstring uuid
status'queued' | 'starting' | 'running' | 'evaluating' | 'cancelling' | 'completed' | 'failed' | 'cancelled' | 'timed_out' required

completed, failed, cancelled, and timed_out are terminal. failed means the Code execution or evaluation infrastructure failed; a valid low observation still completes and may resolve to a failing Test verdict.

observationnumber

Finite numeric observation committed to the Test's Results Value.

unitstring
evidenceobject

Fixture-defined structured evidence. SYSTEM quality fixtures include transcript, final-tree, usage, and rubric summaries; callers must tolerate additional fixture-specific fields.

createdAtstring date-time required
startedAtstring date-time
completedAtstring date-time
updatedAtstring date-time

Changes

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      the response property const value false was added for the status

    • info

      endpoint added