/api/orgs/{org_id}/datasets/{dataset_id}/runs/{run_id}/cancelCancel a dataset run
Asks the run to stop after its current batch.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.dataset_idstringrequiredThe dataset id.
run_idstringrequiredThe run id.
Responses
200The run.
Response
idstringdataset_idstringmodelstringtag_idsarray<string>statusenumitems_totalintegeritems_doneintegeritems_failedintegercost_nano_usdintegertag_ratesobjectFire rate per tag id.
created_atstringfinished_atstring | null
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403The key is valid but may not perform this action (for example an inference key on a provisioning-key route, or a feature outside your plan).
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl -X POST 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/runs/4d3c2b1a-0f9e-4d8c-7b6a-5f4e3d2c1b0a/cancel' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"id": "4d3c2b1a-0f9e-4d8c-7b6a-5f4e3d2c1b0a",
"dataset_id": "1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e",
"model": "gpt-6-luna",
"tag_ids": [
"0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90"
],
"status": "running",
"items_total": 120,
"items_done": 40,
"items_failed": 0,
"cost_nano_usd": 210000000,
"tag_rates": {
"0c6f2e4a-7b1d-4f3e-9a2c-5d8e1b7f3a90": 0.05
},
"created_at": "2026-11-18T14:32:07Z",
"finished_at": null
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/datasets/1b2c3d4e-5f6a-4b7c-8d9e-0f1a2b3c4d5e/runs/4d3c2b1a-0f9e-4d8c-7b6a-5f4e3d2c1b0a/cancel