Delete Run
Take one instance out of the graph’s dock. Soft: the assets point back at it and per-person spend counts what it cost, so the document stays and only stops being listed.
A run still executing is refused until cancellation has been asked for — not until it has
taken effect. One whose worker went away never leaves running, and refusing that would leave a
row the operator can neither cancel nor remove.
DELETE
/api/v1/runs/{run_id}Authorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredPath parameters
run_idstringrequiredResponses
200Successful Response
successbooleandefault: true
dataanymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobjectRequest
curl -X DELETE "/api/v1/runs/string" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/runs/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.delete(
"/api/v1/runs/string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": null,
"message": "string",
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}