Thread Runs

Delete Run

Delete a run record.

If the run is active (pending or running) and force=0, returns 409 Conflict. Set force=1 to cancel the run first (best-effort) and then delete it. Returns 204 No Content on success.

delete/threads/{thread_id}/runs/{run_id}

Path parameters

thread_idstring required
run_idstring required

Query parameters

forceinteger

Set to 1 to cancel an active run before deleting it.

Set to 1 to cancel an active run before deleting it.

Response

Successful Response

Changes

Changed in 1 of the 53 revisions of this API.2