deleteRun

Delete a run. Requires project.runs.admin; API keys also need delete scope.

Arguments

  • commandRunsDeleteRunCommand!required

  • command.runIdID!required

    Run to delete. Must be completed, failed or cancelled, with execution stopped, no direct children, and no active parent; otherwise deletion returns 409. Conversation-owned runs also require admin access on the conversation. Run-scoped credentials cannot delete runs. Deleting a run also deletes its events and owned input requests; referenced artifact files are retained.

Responses

mutation DeleteRun($command: RunsDeleteRunCommand!) {  deleteRun(command: $command) {    ok  }}
{  "data": {    "deleteRun": {      "ok": false    }  }}

The Acknowledgement! in data.deleteRun.