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
  • URL: https://api.connic.co/v1/projects/{project_id}/runs/{run_id}
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

run_idstring uuid required

Run ID from GET /runs.

Response

Successful Response

okboolean required

Whether the operation succeeded.

deleted_countinteger required

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

Changes

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