runs

Delete run

Deletes the run's input, output, error, run context and execution trace, and the reasoning of judge evaluations of it. Status, timing, token usage, cost and judge scores remain, and data_deleted_at is set. Returns 409 until the run and its background processing have finished; an already-deleted run returns deleted_count: 0. This cannot be undone.

Required permission: runs.delete.

delete/v1/projects/{project_id}/runs/{run_id}

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

run_id, string uuid required

Run ID from GET /runs.

Response

Successful Response

PublicRunDataDeleteResponse required
ok, boolean required

Whether the operation succeeded.

deleted_count, integer required

Number of runs deleted. Runs that were already deleted are not counted.

Changes

No recorded changes to this operation across all 17 revisions of this API.