cURL
curl --request DELETE \ --url https://api.example.com/threads/{thread_id}/runs/{run_id}
{ "error": "<string>", "message": "<string>", "details": {} }
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.
force=0
force=1
Set to 1 to cancel an active run before deleting it.
0 <= x <= 1
Successful Response