Evaluations

Clean up an evaluation sandbox

Changed on

Idempotently stops target work, revokes target grants, releases the sandbox pin, and deletes the ephemeral project. Cleanup state is retained as evidence; a cleanup error never hides the run's primary failure.

delete/api/v2/evaluation-runs/{runId}

Request

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

Response

Cleanup completed or had already completed.

runIdstring uuid required
sourceProjectIdstring required
testIdstring nullable

The Test whose Results Value started the Code, when a Test did. Absent for a Code object run directly.

testRunIdstring uuid nullable

The Test run that started the Code, when one did.

codeExecutionIdstring
sessionIdstring uuid

Headless target session attached to the evaluation data-plane grant.

status'provisioning' | 'ready' | 'running' | 'cleaning' | 'cleaned' | 'failed' | 'expired' required

ready means the target is pinned and its grant can be used. failed is an infrastructure failure, not a low quality score. cleaned and expired are terminal and carry no usable grant.

createdAtstring date-time required
expiresAtstring date-time required
updatedAtstring date-time

Changes

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property //////// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • info

      added the required property //////// to the response with the status

    • info

      added the required property //////// to the response with the status

    • info

      added the required property /// to the response with the status

    • info

      added the required property /// to the response with 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

      the response property const value false was added for the status