Cancel a run
curl --request POST \
--url https://api.infragrid.ai/v1/runs/{run_id}/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.infragrid.ai/v1/runs/{run_id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.infragrid.ai/v1/runs/{run_id}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"status": "<string>"
}Runs
Cancel a run
Request cancellation of a Run.
POST
/
v1
/
runs
/
{run_id}
/
cancel
Cancel a run
curl --request POST \
--url https://api.infragrid.ai/v1/runs/{run_id}/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.infragrid.ai/v1/runs/{run_id}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.infragrid.ai/v1/runs/{run_id}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"status": "<string>"
}Requires
runs:write. Cancellation is idempotent.
Send requests to https://api.infragrid.ai.
string
required
Run identifier to cancel.
Response
Returns the cancelled or already-terminal run.string
required
Usually
cancelled, or the existing terminal status when the run finished before cancellation.Website effects completed before cancellation may not be reversible.
Last modified on August 28, 2026